Skip to content

Commit

Permalink
🏚 prep for v3 archival; v3 in site-nav & hero
Browse files Browse the repository at this point in the history
- add package.json
- add top-banner
  • Loading branch information
desandro committed Dec 24, 2020
1 parent 7f4c12e commit aec6ae9
Show file tree
Hide file tree
Showing 8 changed files with 3,137 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ node_modules/
bower_components/
build/
fonts/
package-lock.json
.netlify
2 changes: 1 addition & 1 deletion modules/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
}

.hero__title {
font-size: 5.0rem;
font-size: 4.2rem;
padding-top: 25px;
}

Expand Down
2 changes: 1 addition & 1 deletion modules/hero/hero.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="hero__masthead">
{{> infinite-scroll-illo}}
<div class="hero__text">
<h1 class="hero__title">Infinite Scroll</h1>
<h1 class="hero__title">Infinite Scroll v3</h1>
<p class="hero__tagline">Automatically add next page</p>
<p>
{{>gh-button project="Infinite Scroll" ghPath="metafizzy/infinite-scroll" stars="4,400" }}
Expand Down
2 changes: 0 additions & 2 deletions modules/site-nav/site-nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
}

.site-nav__item--homepage {
font-size: 1.5rem;
font-weight: bold;
}

Expand Down Expand Up @@ -77,7 +76,6 @@
}

.site-nav__item--homepage {
font-size: 1.4rem;
width: 200px;
}

Expand Down
8 changes: 7 additions & 1 deletion modules/site-nav/site-nav.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<div class="top-banner">
<div class="container">
This is the archived documentation site for Infinite Scroll v3. <a href="https://infinite-scroll.com">For the latest version, view infinite-scroll.com</a>.
</div>
</div>

<ol class="site-nav">
<li class="site-nav__item site-nav__item--homepage">
<a href="{{@file.rootPath}}.">Infinite Scroll</a>
<a href="{{@file.rootPath}}.">Infinite Scroll v3</a>
</li>
<li class="site-nav__item site-nav__item--options">
<a href="{{@file.rootPath}}options.html">Options</a>
Expand Down
5 changes: 5 additions & 0 deletions modules/top-banner/top-banner.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.top-banner {
padding: 10px 0;
background: #036;
color: white;
}
Loading

0 comments on commit aec6ae9

Please sign in to comment.