diff --git a/src/lib/components/blog/PostPreview.svelte b/src/lib/components/blog/PostPreview.svelte
index 5062fc8..8754aab 100644
--- a/src/lib/components/blog/PostPreview.svelte
+++ b/src/lib/components/blog/PostPreview.svelte
@@ -4,7 +4,6 @@
export let isMostRecent: boolean = false;
export let type: 'blog' | 'projects';
- export let layout: 'row' | 'column' = 'column';
export let post: BlogPost;
// export let published: boolean;
// export let headlineOrder: 'h3' | '' = '';
@@ -20,7 +19,7 @@
$: target = post && post['href'] && isAnExternalLink(post['href']) ? '_blank' : undefined;
- const displayDate = new Date(Date.parse(post.date)).toLocaleDateString(undefined, {
+ const displayDate = new Date(Date.parse(post.date ?? '')).toLocaleDateString(undefined, {
year: 'numeric',
month: 'short',
day: 'numeric'
@@ -31,7 +30,7 @@
{href}
{target}
data-sveltekit-preload-data="hover"
- class="card bg-gradient-to-br variant-gradient-primary-tertiary card-hover overflow-hidden flex flex-col space-y-4"
+ class="card bg-gradient-to-br variant-glass-primary card-hover overflow-hidden flex flex-col space-y-4"
data-analytics={`{"context":"grid","variant":"preview"}`}
>
@@ -62,8 +61,9 @@
- {tag}
+ {tag}
{/each}
{/if}
diff --git a/src/lib/components/blog/blog-content-layout.svelte b/src/lib/components/blog/blog-content-layout.svelte
deleted file mode 100644
index 91dbd5d..0000000
--- a/src/lib/components/blog/blog-content-layout.svelte
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
diff --git a/src/lib/components/blog/filter-category.svelte b/src/lib/components/blog/filter-category.svelte
deleted file mode 100644
index 5132663..0000000
--- a/src/lib/components/blog/filter-category.svelte
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- Sort by category
-
-
- {#each options as option}
-
- clickHandler(option)}
- >
- {option}
-
-
- {/each}
-
-
diff --git a/src/lib/components/blog/post-content-layout.svelte b/src/lib/components/blog/post-content-layout.svelte
deleted file mode 100644
index 2b09092..0000000
--- a/src/lib/components/blog/post-content-layout.svelte
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
-
-
-
- {formatDate(date)}
-
- {#if tags && tags.length > 0}
-
- {#each tags as tag}
-
- {tag}
-
- {/each}
-
- {/if}
-
-
-
-
-
-
-
diff --git a/src/lib/components/blog/post-preview.svelte b/src/lib/components/blog/post-preview.svelte
deleted file mode 100644
index 44bf5cd..0000000
--- a/src/lib/components/blog/post-preview.svelte
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
diff --git a/src/lib/components/projects/projects-content-layout.svelte b/src/lib/components/projects/projects-content-layout.svelte
deleted file mode 100644
index 67ae89f..0000000
--- a/src/lib/components/projects/projects-content-layout.svelte
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
diff --git a/src/routes/(home)/+page.svelte b/src/routes/(home)/+page.svelte
deleted file mode 100644
index 949f2d1..0000000
--- a/src/routes/(home)/+page.svelte
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
I make the wheels turn.
-
-
-
-
-
-
-
-
-
-
My github contributions
-
-
-
-
-
-
-
-
-
-
diff --git a/src/routes/blog/[slug]/+layout.svelte b/src/routes/blog/[slug]/+layout.svelte
deleted file mode 100644
index 4fa864c..0000000
--- a/src/routes/blog/[slug]/+layout.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/src/routes/projects/+layout.svelte b/src/routes/projects/+layout.svelte
deleted file mode 100644
index 0385342..0000000
--- a/src/routes/projects/+layout.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/svelte.config.js b/svelte.config.js
index 5e279ee..ebc9d3a 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,7 +1,6 @@
import adapter from '@sveltejs/adapter-cloudflare';
import { vitePreprocess } from '@sveltejs/kit/vite';
import preprocess from 'svelte-preprocess';
-import path from 'path';
// import { mdsvexGlobalComponents } from './src/lib/utils/mdsvexGlobalComponents.js/index.js';
import { mdsvex } from 'mdsvex';
@@ -42,11 +41,11 @@ const config = {
adapter: adapter({}),
// sometimes problems with
alias: {
- $lib: path.resolve('src', 'lib'),
- $root: path.resolve('/'),
- $src: path.resolve('src'),
- $routes: path.resolve('src', 'routes'),
- $content: path.resolve('src', 'content')
+ $lib: './src/lib',
+ $root: './',
+ $src: './src',
+ $routes: './src/routes',
+ $content: './src/content'
},
// TODO: FIX Banning external malware scripts for security and privacy of users, threw errors,
// csp: {