This is a parody of leetcode.com for designers. It's being developed live on Twitch.tv/zedashaw to demonstrate how to make a parody of a website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelperfectionist/admin/bando/demos/LoggedIn.svelte

18 lines
397 B

<script>
import { user } from "$/client/stores.js";
import LoggedIn from "$/client/components/LoggedIn.svelte";
</script>
<LoggedIn>
<callout slot="yes">
<h1>You are logged in.</h1>
</callout>
<callout class="error" slot="no">
<h1>You are NOT logged in</h1>
</callout>
</LoggedIn>
<button on:click={ () => $user.authenticated = !$user.authenticated }>Change Login</button>