Skip to content

Commit

Permalink
🚚 put more in $lib
Browse files Browse the repository at this point in the history
  • Loading branch information
thrzl committed Aug 15, 2024
1 parent 712ce8e commit 22240a1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import { onMount } from "svelte";
import { Marquee } from "@selemondev/svelte-marquee";
import "@selemondev/svelte-marquee/dist/style.css";
import Background from "../components/Background.svelte";
import links from "../data/links.json";
import sponsors from "../data/sponsors.json";
import Background from "$lib/components/Background.svelte";
import links from "$lib/data/links.json";
import sponsors from "$lib/data/sponsors.json";
let contactForm: HTMLFormElement;
onMount(() => {
contactForm.reset();
Expand Down
4 changes: 2 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import adapter from "@sveltejs/adapter-netlify";
import preprocess from "svelte-preprocess";
import {sveltePreprocess} from "svelte-preprocess";

/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [preprocess()],
preprocess: [sveltePreprocess()],
kit: {
adapter: adapter({
precompress: true,
Expand Down
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": true,
},
}

0 comments on commit 22240a1

Please sign in to comment.