Skip to content

Commit

Permalink
add iconset
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flick committed May 6, 2024
1 parent e3a4131 commit 898aba5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
"vite": "^5.0.3",
"vite-plugin-tailwind-purgecss": "0.3.3"
},
"type": "module"
"type": "module",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.2"
}
}
10 changes: 10 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script lang="ts">
import '../app.postcss';
import '@fortawesome/fontawesome-free/css/solid.min.css';
import '@fortawesome/fontawesome-free/css/fontawesome.min.css';
</script>

<slot />
5 changes: 4 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<script lang="ts">
import SidebarLayout from '$lib/SidebarLayout.svelte';
import { base } from '$app/paths';
</script>

<SidebarLayout>
<svelte:fragment slot="sidebar">
<h1 class="text-4xl font-bold">Welcome to Skeleton</h1>
<h1><a href={base}>The Beach Atlas</a></h1>
<p>A Literary Atlas of the Beach in the Long 20th Century</p>
</svelte:fragment>
<a
class="btn bg-quarternary-500 text-surface-700 hover:bg-surface-700 hover:text-quarternary-500"
Expand All @@ -14,4 +16,5 @@
>
Launch Documentation
</a>
<i class="fa-solid fa-user"></i>
</SidebarLayout>

0 comments on commit 898aba5

Please sign in to comment.