Skip to content

Commit

Permalink
Add formatting configurations
Browse files Browse the repository at this point in the history
Signed-off-by: pdamianik <[email protected]>
  • Loading branch information
pdamianik committed Feb 23, 2024
1 parent 739f456 commit 68e2622
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 16 deletions.
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"svelte.svelte-vscode",
"ardenivanov.svelte-intellisense",
"vitest.explorer"
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
20 changes: 10 additions & 10 deletions src/lib/components/GlobalNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
</script>

<BottomNav {activeUrl} position="absolute" classInner="grid-cols-3">
<BottomNavItem btnName="Home" href="/">
<HomeSolid />
</BottomNavItem>
<BottomNavItem btnName="Settings" href="/settings" exact={false}>
<AdjustmentsVerticalOutline />
</BottomNavItem>
<BottomNavItem btnName="Dark Mode">
<DarkMode btnClass="" />
</BottomNavItem>
</BottomNav>
<BottomNavItem btnName="Home" href="/">
<HomeSolid />
</BottomNavItem>
<BottomNavItem btnName="Settings" href="/settings" exact={false}>
<AdjustmentsVerticalOutline />
</BottomNavItem>
<BottomNavItem btnName="Dark Mode">
<DarkMode btnClass="" />
</BottomNavItem>
</BottomNav>
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script lang="ts">
import GlobalNav from '$lib/components/GlobalNav.svelte';
import { setContext } from 'svelte';
import '../app.pcss';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const ssr = false;
export const ssr = false;
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script>
import { Heading } from "flowbite-svelte";
<script lang="ts">
import { Heading } from 'flowbite-svelte';
</script>

<svelte:head>
<title>G'schäft'lhaberer</title>
</svelte:head>

<div class="text-center">
<Heading>G'schäft'l<wbr/>Haberer</Heading>
<Heading>G'schäft'l<wbr />Haberer</Heading>
</div>
2 changes: 1 addition & 1 deletion src/routes/settings/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<svelte:head>
<title>Settings - G'schäft'lhaberer</title>
</svelte:head>
</svelte:head>

0 comments on commit 68e2622

Please sign in to comment.