diff --git a/src/lib/components/Tab/TabGroup.svelte b/src/lib/components/Tab/TabGroup.svelte new file mode 100644 index 0000000..75f0bb6 --- /dev/null +++ b/src/lib/components/Tab/TabGroup.svelte @@ -0,0 +1,73 @@ + + + +
+ +
+ +
+ + {#if $$slots.panel} +
+ +
+ {/if} +
diff --git a/src/routes/account/+page.svelte b/src/routes/account/+page.svelte index 3750509..29f8570 100644 --- a/src/routes/account/+page.svelte +++ b/src/routes/account/+page.svelte @@ -3,8 +3,9 @@ import ChangePassword from "$lib/components/account/ChangePassword.svelte"; import EditProfile from "$lib/components/account/EditProfile.svelte"; import Avatar from "$lib/components/Avatar.svelte"; - import { FileButton, Tab, TabGroup } from "@skeletonlabs/skeleton"; + import { FileButton, Tab } from "@skeletonlabs/skeleton"; import type { PageServerData } from "./$types"; + import TabGroup from "$lib/components/Tab/TabGroup.svelte"; interface Props { data: PageServerData; diff --git a/src/routes/admin/+layout.svelte b/src/routes/admin/+layout.svelte index 36f9242..18864a6 100644 --- a/src/routes/admin/+layout.svelte +++ b/src/routes/admin/+layout.svelte @@ -1,7 +1,8 @@