Browse Source

Formatting and SvelteKit 2/Svelte 5 upgrades

master
buttercat1791 9 months ago
parent
commit
5fb32e35b2
  1. 5
      src/lib/components/publications/TableOfContents.svelte
  2. 2
      src/routes/+layout.svelte

5
src/lib/components/publications/TableOfContents.svelte

@ -1,5 +1,8 @@
<script lang='ts'> <script lang='ts'>
import { TableOfContents, type TocEntry } from '$lib/components/publications/table_of_contents.svelte'; import {
TableOfContents,
type TocEntry
} from '$lib/components/publications/table_of_contents.svelte';
import { getContext } from 'svelte'; import { getContext } from 'svelte';
import { Accordion, AccordionItem, SidebarDropdownWrapper, SidebarGroup, SidebarItem } from 'flowbite-svelte'; import { Accordion, AccordionItem, SidebarDropdownWrapper, SidebarGroup, SidebarItem } from 'flowbite-svelte';
import Self from './TableOfContents.svelte'; import Self from './TableOfContents.svelte';

2
src/routes/+layout.svelte

@ -42,5 +42,5 @@
<div class={'leather mt-[76px] h-full w-full flex flex-col items-center'}> <div class={'leather mt-[76px] h-full w-full flex flex-col items-center'}>
<Navigation class='fixed top-0' /> <Navigation class='fixed top-0' />
<slot /> {@render children()}
</div> </div>

Loading…
Cancel
Save