Skip to content
Permalink
9dc4927a0f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
62 lines (56 sloc) 1.9 KB
<script lang="ts">
import { t } from "$lib/i18n/translations";
import PageNav from "$components/subnav/PageNav.svelte";
import PageNavTab from "$components/subnav/PageNavTab.svelte";
import PageNavSection from "$components/subnav/PageNavSection.svelte";
import IconLock from "@tabler/icons-svelte/IconLock.svelte";
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
import IconLicense from "@tabler/icons-svelte/IconLicense.svelte";
import IconChecklist from "@tabler/icons-svelte/IconChecklist.svelte";
import IconUsersGroup from "@tabler/icons-svelte/IconUsersGroup.svelte";
</script>
<PageNav
pageName="about"
homeNavPath="/about"
homeTitle={$t("tabs.about")}
contentPadding
wideContent
>
<svelte:fragment slot="navigation">
<PageNavSection>
<PageNavTab
path="/about/general"
title={$t("about.page.general")}
icon={IconComet}
iconColor="blue"
/>
<PageNavTab
path="/about/community"
title={$t("about.page.community")}
icon={IconUsersGroup}
iconColor="green"
/>
</PageNavSection>
<PageNavSection>
<PageNavTab
path="/about/terms"
title={$t("about.page.terms")}
icon={IconChecklist}
iconColor="gray"
/>
<PageNavTab
path="/about/privacy"
title={$t("about.page.privacy")}
icon={IconLock}
iconColor="gray"
/>
<PageNavTab
path="/about/credits"
title={$t("about.page.credits")}
icon={IconLicense}
iconColor="gray"
/>
</PageNavSection>
</svelte:fragment>
<slot slot="content"></slot>
</PageNav>