mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-21 14:05:08 +00:00
Just some finessing
This commit is contained in:
18
routes/_private.html
Normal file
18
routes/_private.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<h1>You are now logged in!</h1>
|
||||
|
||||
<figure>
|
||||
{#if $user.username === 'general-zod'}
|
||||
<img alt='Zod' src='zod.png'>
|
||||
<figcaption>Kneel before Zod!</figcaption>
|
||||
{:else}
|
||||
<img alt='Super' src='super.png'>
|
||||
<figcaption>Up, up, and away!</figcaption>
|
||||
{/if}
|
||||
</figure>
|
||||
|
||||
<style>
|
||||
h1, figure, p {
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user