Skeleton: Add site loading indicator to the main layout
This commit is contained in:
@ -5,7 +5,14 @@
|
|||||||
import type { LayoutData } from "./$types";
|
import type { LayoutData } from "./$types";
|
||||||
import { page } from "$app/stores";
|
import { page } from "$app/stores";
|
||||||
|
|
||||||
import { Button, MenuDrawerIcon, UserIcon, Input, PasswordIcon } from "$lib/components";
|
import {
|
||||||
|
Button,
|
||||||
|
MenuDrawerIcon,
|
||||||
|
UserIcon,
|
||||||
|
Input,
|
||||||
|
PasswordIcon,
|
||||||
|
LoadingIndicator,
|
||||||
|
} from "$lib/components";
|
||||||
import { get_avatar_preview_event_handler } from "$lib/image";
|
import { get_avatar_preview_event_handler } from "$lib/image";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -83,6 +90,8 @@
|
|||||||
// };
|
// };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<LoadingIndicator />
|
||||||
|
|
||||||
<Drawer>
|
<Drawer>
|
||||||
{#if $drawerStore.id === "menu_drawer"}
|
{#if $drawerStore.id === "menu_drawer"}
|
||||||
<!-- Menu Drawer -->
|
<!-- Menu Drawer -->
|
||||||
|
|||||||
Reference in New Issue
Block a user