Skip to content

Commit

Permalink
background fix + github actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
icanc0 committed Feb 10, 2024
1 parent 275bf70 commit 7663575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: 'build/'

Expand Down
3 changes: 2 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import NavBar from "$lib/NavBar.svelte";
import Footer from '$lib/Footer.svelte';
import {DarkMode} from "$lib/States";
import { base } from '$app/paths';
</script>


<div class:dark={$DarkMode}>
<NavBar></NavBar>
<div class="bg-repeat" style="background-image: url(/sketchTile.svg);">
<div class="bg-repeat" style="background-image: url({base}/sketchTile.svg);">
<slot></slot>
</div>
<Footer></Footer>
Expand Down

0 comments on commit 7663575

Please sign in to comment.