more updates
Some checks failed
Vercel Production Deployment / Deploy-Production (push) Failing after 37s

This commit is contained in:
hook-lord 2024-12-06 11:24:20 +01:00
parent d2954dfc98
commit 7ae52c891a
6 changed files with 71 additions and 40 deletions

View File

@ -5,35 +5,41 @@
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"preview": "vite preview", "preview": "vite preview",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"format": "prettier --write ." "format": "prettier --write ."
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/kit": "^2.0.0", "@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0", "@sveltejs/vite-plugin-svelte": "^5.0.1",
"@types/eslint": "^8.56.0", "@tsconfig/svelte": "^5.0.4",
"autoprefixer": "^10.4.19", "@types/eslint": "^9.6.1",
"eslint": "^8.56.0", "@types/node": "^22.10.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1", "eslint-plugin-svelte": "^2.46.1",
"flowbite": "^2.3.0", "flowbite": "^2.5.2",
"flowbite-svelte": "^0.46.1", "flowbite-svelte": "^0.47.4",
"flowbite-svelte-icons": "^1.6.1", "flowbite-svelte-icons": "^2.0.2",
"postcss": "^8.4.38", "postcss": "^8.4.49",
"prettier": "^3.1.1", "prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.1.2", "prettier-plugin-svelte": "^3.3.2",
"svelte": "^4.2.7", "svelte": "^5.7.1",
"tailwindcss": "^3.4.3", "svelte-check": "^4.0.0",
"vite": "^5.0.3" "tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
"vite": "^6.0.3"
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@sveltejs/adapter-vercel": "^5.3.0", "@sveltejs/adapter-vercel": "^5.5.0",
"@vercel/analytics": "^1.3.1", "@vercel/analytics": "^1.4.1",
"geist": "^1.3.0", "geist": "^1.3.1",
"moment": "^2.30.1", "moment": "^2.30.1",
"pnpm": "^9.1.1" "pnpm": "^9.14.4"
} }
} }

View File

@ -9,13 +9,13 @@
DarkMode DarkMode
} from 'flowbite-svelte'; } from 'flowbite-svelte';
import { ChevronDownOutline } from 'flowbite-svelte-icons'; import { ChevronDownOutline } from 'flowbite-svelte-icons';
import logo from '$lib/logo.png'; import logo from '$lib/logo.png'
import { page } from '$app/stores'; import { page } from '$app/stores';
$: activeUrl = $page.url.pathname; $: activeUrl = $page.url.pathname;
</script> </script>
<Navbar class="bg-transparent"> <Navbar class="bg-transparent dark:bg-transparent">
<NavBrand href="/"> <NavBrand href="/">
<img src={logo} class="me-3 h-6 sm:h-9" alt="Flowbite Logo" /> <img src={logo} class="me-3 h-6 sm:h-9" alt="Flowbite Logo" />
<span class="self-center whitespace-nowrap text-xl font-semibold dark:text-stone-200" <span class="self-center whitespace-nowrap text-xl font-semibold dark:text-stone-200"

View File

@ -2,7 +2,6 @@
import { fade } from 'svelte/transition'; import { fade } from 'svelte/transition';
import Projects from '$lib/Projects.svelte'; import Projects from '$lib/Projects.svelte';
import PageHeader from '$lib/PageHeader.svelte'; import PageHeader from '$lib/PageHeader.svelte';
const projectRssUrl = 'https://gitea.rannes.dev/rannes.dev/my-portfolio.rss';
const category = 'svelte'; const category = 'svelte';
const title = 'Svelte Projects'; const title = 'Svelte Projects';
</script> </script>

View File

@ -0,0 +1,12 @@
<script>
import { fade } from 'svelte/transition';
import Projects from '$lib/Projects.svelte';
import PageHeader from '$lib/PageHeader.svelte';
const category = 'nextjs';
const title = 'Next.js Projects';
</script>
<div in:fade>
<PageHeader {title} />
<Projects {category} />
</div>

14
tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler"
}
}