Skip to content

Commit

Permalink
update links on homepage of store example
Browse files Browse the repository at this point in the history
(example)
  • Loading branch information
flybayer committed Apr 27, 2020
1 parent c73bdc7 commit 875f99a
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions examples/store/app/pages/index.tsx
Expand Up @@ -11,16 +11,28 @@ const Home = () => (
<h1 className="title" style={{marginBottom: 24}}>
Blitz Store Example
</h1>
<p>
<Link href="/products">
<a>View Static Public Product Listings</a>
</Link>
</p>
<p>
<Link href="/admin">
<a>View Dynamic Admin Section</a>
</Link>
</p>
<ul>
<li>
<Link href="/products">
<a>Static Product Listings</a>
</Link>
</li>
<li>
<Link href="/products/ssr">
<a>SSR Product Listings</a>
</Link>
</li>
<li>
<Link href="/products/paginated">
<a>Paginated Product Listings (client-rendered)</a>
</Link>
</li>
<li>
<Link href="/admin/products">
<a>Admin Section (client-rendered)</a>
</Link>
</li>
</ul>
</main>

<footer>
Expand Down Expand Up @@ -75,6 +87,10 @@ const Home = () => (
text-decoration: none;
}
li + li {
margin-top: 0.5rem;
}
.title a:hover,
.title a:focus,
.title a:active {
Expand All @@ -84,7 +100,7 @@ const Home = () => (
.title {
margin: 0;
line-height: 1.15;
font-size: 4rem;
font-size: 3rem;
}
.title,
Expand Down

0 comments on commit 875f99a

Please sign in to comment.