mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-14 11:14:39 +00:00
Some basic shell
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user