Skip to content

Commit

Permalink
Add missing elements in gh-pages landing page (#62)
Browse files Browse the repository at this point in the history
* Add missing ui elements to gh-pages landing page
* Switch to relative paths to be gh-pages friendly
* Amend different coding style
  • Loading branch information
Alessandro Menduni authored and paullewis committed Oct 20, 2016
1 parent 9b54c4e commit 58d9acb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 10 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@
<h1>UI Element Samples</h1>
<ul>
<li><a href="./image-zoomer/">Episode 1. Image Zoomer</a></li>
<li><a href="./swipeable-cards/">Episode 2. Swipeable Cards</a></li>
<li><a href="./side-nav/">Episode 3. Side Nav</a></li>
<li><a href="./expand-collapse/">I/O: Expand &amp; Collapse</a></li>
<li><a href="./accordion/">Episode 6. Accordion</a></li>
<li><a href="./3d-card-flip/">Episode 7. 3D Card Flip</a></li>
<li><a href="./flip-switch/">Polymer Summit: Flip Switch</a></li>
<li><a href="./swipeable-cards/">Episode 2. Swipeable Cards</a></li>
<li><a href="./side-nav/">Episode 3. Side Nav</a></li>
<li><a href="./router/">Episode 4. Router</a></li>
<li><a href="./accordion/">Episode 6. Accordion</a></li>
<li><a href="./3d-card-flip/">Episode 7. 3D Card Flip</a></li>
<li><a href="./flip-switch/">Polymer Summit: Flip Switch</a></li>
<li><a href="./expand-collapse/">I/O: Expand &amp; Collapse</a></li>
<li><a href="./infinite-scroller/">Infinite Scroller</a></li>
<li><a href="./parallax/">Parallax</a></li>
<li><a href="./template/">Template</a></li>
</ul>

<a href="https://github.com/googlechrome/ui-element-samples">See the source code for the samples</a>
Expand Down
6 changes: 3 additions & 3 deletions router/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="theme-color" content="#FF00FF">
<title>Router</title>
<link rel="stylesheet" href="/static/superstyles.css">
<link rel="stylesheet" href="./static/superstyles.css">
</head>
<body>
<nav>
Expand Down Expand Up @@ -47,8 +47,8 @@
</sc-view>

<sc-router></sc-router>
<script defer src="/static/sc-view.js"></script>
<script defer src="/static/sc-router.js"></script>
<script defer src="./static/sc-view.js"></script>
<script defer src="./static/sc-router.js"></script>
<script>
const router = document.querySelector('sc-router');
const links = Array.from(document.querySelectorAll('a'));
Expand Down

0 comments on commit 58d9acb

Please sign in to comment.