refactor: icons

This commit is contained in:
glazk0 2024-04-06 01:01:35 +02:00
parent 1541813792
commit af5e5c2c2c
No known key found for this signature in database
GPG key ID: E45BF177782B9FEB
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { ArrowUpRight } from 'lucide-svelte';
import ArrowUpRight from 'lucide-svelte/icons/arrow-up-right';
import type { HTMLAnchorAttributes } from 'svelte/elements';
import { Drawer } from 'vaul-svelte';

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { Menu } from 'lucide-svelte';
import Menu from 'lucide-svelte/icons/menu';
import { navigation } from '$lib/config';
@ -11,9 +11,9 @@
<Drawer.Root>
<Drawer.Trigger asChild let:builder aria-label="open mobile menu">
<Button class="sm:hidden" builders={[builder]} variant="outline" size="icon"
><Menu class="h-4 w-4" /></Button
>
<Button class="sm:hidden" builders={[builder]} variant="outline" size="icon">
<Menu class="h-4 w-4" />
</Button>
</Drawer.Trigger>
<Drawer.Content>
<div class="container mx-auto">