some additions

pull/2/head
Midnight 3 years ago
parent 7d5c0c3dc2
commit 7dcd4c7579

@ -1,5 +1,4 @@
<script> <script>
// @ts-nocheck
import ThemeSwitcher from '$lib/ThemeSwitcher.svelte'; import ThemeSwitcher from '$lib/ThemeSwitcher.svelte';
import NavButton from './NavButton.svelte'; import NavButton from './NavButton.svelte';
@ -17,10 +16,10 @@
</a> </a>
<div class="hidden lg:flex h-16"> <div class="hidden lg:flex h-16">
<NavButton url="/" text="Home" /> <NavButton url="/" text="Home" />
<NavButton disabled="true" url="/blog" text="Blog" /> <NavButton disabled={true} url="/blog" text="Blog" />
<NavButton disabled="true" url="/portfolio" text="Portfolio" /> <NavButton disabled={true} url="/portfolio" text="Portfolio" />
<NavButton disabled="true" url="/esu" text="ESU" /> <NavButton disabled={true} url="/esu" text="ESU" />
<NavButton disabled="true" url="/furry" text="Furry" /> <NavButton disabled={true} url="/furry" text="Furry" />
</div> </div>
</div> </div>
<div class="hidden lg:flex h-16"> <div class="hidden lg:flex h-16">
@ -29,10 +28,10 @@
<div class="flex lg:hidden h-16"> <div class="flex lg:hidden h-16">
<NavDropdown text="🍔"> <NavDropdown text="🍔">
<NavButton url="/" text="Home" /> <NavButton url="/" text="Home" />
<NavButton disabled="true" url="/blog" text="Blog" /> <NavButton disabled={true} url="/blog" text="Blog" />
<NavButton disabled="true" url="/portfolio" text="Portfolio" /> <NavButton disabled={true} url="/portfolio" text="Portfolio" />
<NavButton disabled="true" url="/esu" text="ESU" /> <NavButton disabled={true} url="/esu" text="ESU" />
<NavButton disabled="true" url="/furry" text="Furry" /> <NavButton disabled={true} url="/furry" text="Furry" />
<hr class="bg-white" /> <hr class="bg-white" />
<ThemeSwitcher /> <ThemeSwitcher />
</NavDropdown> </NavDropdown>

@ -1,8 +1,8 @@
<script> <script>
import NavButton from "./NavButton.svelte"; import NavButton from "./NavButton.svelte";
export let text; export let text = "";
export let type; export let type = "";
let dropdown; let dropdown;
let classes = "h-full px-5 flex justify-center items-center"; let classes = "h-full px-5 flex justify-center items-center";

@ -1,7 +1,7 @@
<script> <script>
export let buttonText = ""; export let buttonText = "";
export let buttonRedirect = ""; export let buttonRedirect = null;
export let buttonHref = ""; export let buttonHref = null;
export let disabled = false; export let disabled = false;
let classes = "z-10 flex flex-col group relative overflow-hidden"; let classes = "z-10 flex flex-col group relative overflow-hidden";

Loading…
Cancel
Save