remove unused code and imports
This commit is contained in:
parent
145f36f39b
commit
2da2c9fa7e
|
@ -5,16 +5,11 @@
|
||||||
DropdownItem,
|
DropdownItem,
|
||||||
DropdownHeader,
|
DropdownHeader,
|
||||||
DropdownDivider,
|
DropdownDivider,
|
||||||
Button,
|
|
||||||
Checkbox,
|
|
||||||
} from "flowbite-svelte";
|
} from "flowbite-svelte";
|
||||||
import Progressbar from "./lib/Progressbar.svelte";
|
|
||||||
import {
|
import {
|
||||||
ArrowRightFromBracketSolid,
|
ArrowRightFromBracketSolid,
|
||||||
ArrowRightToBracketSolid,
|
ArrowRightToBracketSolid,
|
||||||
UserPlusSolid,
|
|
||||||
UserSettingsSolid,
|
UserSettingsSolid,
|
||||||
UserSolid,
|
|
||||||
} from "flowbite-svelte-icons";
|
} from "flowbite-svelte-icons";
|
||||||
import ezppLogo from "../public/favicon.png";
|
import ezppLogo from "../public/favicon.png";
|
||||||
import { currentPage, currentUser } from "./storage/localStore";
|
import { currentPage, currentUser } from "./storage/localStore";
|
||||||
|
@ -45,9 +40,9 @@
|
||||||
<div class="p-2 flex flex-row justify-between items-center">
|
<div class="p-2 flex flex-row justify-between items-center">
|
||||||
<div class="flex flex-row items-center">
|
<div class="flex flex-row items-center">
|
||||||
<img src={ezppLogo} alt="EZPPFarm Logo" class="w-12 h-12 mr-2" />
|
<img src={ezppLogo} alt="EZPPFarm Logo" class="w-12 h-12 mr-2" />
|
||||||
<span class="text-gray-700 dark:text-gray-100 text-xl font-extralight"
|
<span class="text-gray-700 dark:text-gray-100 text-xl font-extralight">
|
||||||
>EZPPLauncher</span
|
EZPPLauncher
|
||||||
>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{#if $currentPage == Page.Launch}
|
{#if $currentPage == Page.Launch}
|
||||||
<div class="flex flex-row gap-2 w-fill cursor-pointer md:order-2">
|
<div class="flex flex-row gap-2 w-fill cursor-pointer md:order-2">
|
||||||
|
@ -68,14 +63,6 @@
|
||||||
{loggedIn ? user?.email : "Please log in!"}
|
{loggedIn ? user?.email : "Please log in!"}
|
||||||
</span>
|
</span>
|
||||||
</DropdownHeader>
|
</DropdownHeader>
|
||||||
{#if loggedIn}
|
|
||||||
<!-- <DropdownItem
|
|
||||||
class="flex flex-row gap-2 border-0 dark:!bg-gray-700 dark:active:!bg-gray-900 dark:hover:!bg-gray-800 transition-colors"
|
|
||||||
>
|
|
||||||
<UserSolid class="select-none outline-none border-none" />
|
|
||||||
Profile
|
|
||||||
</DropdownItem> -->
|
|
||||||
{/if}
|
|
||||||
<DropdownItem
|
<DropdownItem
|
||||||
class="flex flex-row gap-2 border-0 dark:!bg-gray-700 dark:active:!bg-gray-900 dark:hover:!bg-gray-800 transition-colors"
|
class="flex flex-row gap-2 border-0 dark:!bg-gray-700 dark:active:!bg-gray-900 dark:hover:!bg-gray-800 transition-colors"
|
||||||
on:click={() => currentPage.set(Page.Settings)}
|
on:click={() => currentPage.set(Page.Settings)}
|
||||||
|
@ -104,12 +91,6 @@
|
||||||
/>
|
/>
|
||||||
Login
|
Login
|
||||||
</DropdownItem>
|
</DropdownItem>
|
||||||
<!-- <DropdownItem
|
|
||||||
class="flex flex-row gap-2 border-0 dark:!bg-gray-700 dark:active:!bg-gray-900 dark:hover:!bg-gray-800 transition-colors"
|
|
||||||
>
|
|
||||||
<UserPlusSolid class="select-none outline-none border-none" />
|
|
||||||
Register
|
|
||||||
</DropdownItem> -->
|
|
||||||
{/if}
|
{/if}
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user