Some basic shell

This commit is contained in:
Robert Hall
2018-09-22 15:06:36 -06:00
parent 0831388c62
commit d97a4693e1
6 changed files with 157 additions and 8 deletions

View File

@@ -6,6 +6,9 @@
<!-- for the blog link, we're using rel=prefetch so that Sapper prefetches
the blog data when we hover over the link or tap it on a touchscreen -->
<li><a rel=prefetch class='{segment === "blog" ? "selected" : ""}' href='blog'>blog</a></li>
<li><a class='{segment === "login" ? "selected" : ""}' href='login'>log in</a></li>
<li><a class='{segment === "signup" ? "selected" : ""}' href='signup'>sign up</a></li>
<li><span>sign out</span></li>
</ul>
</nav>
@@ -48,9 +51,10 @@
bottom: -1px;
}
a {
a, span {
text-decoration: none;
padding: 1em 0.5em;
display: block;
cursor: pointer;
}
</style>