diff --git a/src/lib/components/blog/PostPreview.svelte b/src/lib/components/blog/PostPreview.svelte index e493189..15c430e 100644 --- a/src/lib/components/blog/PostPreview.svelte +++ b/src/lib/components/blog/PostPreview.svelte @@ -4,10 +4,10 @@ export let post: BlogPost; export let type: 'blog'; - export let published: boolean; - export let headlineOrder: 'h3' | '' = ''; - export let badge: string = ''; - export let textWidth: string = ''; + // export let published: boolean; + // export let headlineOrder: 'h3' | '' = ''; + // export let badge: string = ''; + // export let textWidth: string = ''; const generateURL = (href?: string, slug?: string) => { if (href) return href; diff --git a/src/routes/(home)/+page.svelte b/src/routes/(home)/+page.svelte index 06ae5a3..c7c927a 100644 --- a/src/routes/(home)/+page.svelte +++ b/src/routes/(home)/+page.svelte @@ -39,10 +39,6 @@ figure { @apply flex relative flex-col; } - figure svg, - .img-bg { - @apply w-64 h-64; - } .img-bg { @apply absolute z-[-1] rounded-full blur-[50px] transition-all; animation: pulse 5s cubic-bezier(0, 0, 0, 0.5) infinite, glow 5s linear infinite; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c6028cf..285298a 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -21,30 +21,30 @@ //Cookie, Identifiers and store import Cookies from 'js-cookie'; - import { cookies } from '$lib/constants'; import { page } from '$app/stores'; import { isEurope, removeTrailingSlash } from '$lib/utils/helpers'; - onMount(() => { - Cookies.set(cookies.NECESSARY, 'true', { - expires: 365, - domain: '.mattmor.in' - }); + // Cookie implementatiion TODO component + // onMount(() => { + // Cookies.set(cookies.NECESSARY, 'true', { + // expires: 365, + // domain: '.mattmor.in' + // }); - if (Cookies.get(cookies.ANALYTICAL) !== 'false' && !isEurope()) { - Cookies.set(cookies.ANALYTICAL, 'true', { - expires: 365, - domain: '.mattmor.in' - }); - } + // if (Cookies.get(cookies.ANALYTICAL) !== 'false' && !isEurope()) { + // Cookies.set(cookies.ANALYTICAL, 'true', { + // expires: 365, + // domain: '.mattmor.in' + // }); + // } - if (Cookies.get(cookies.ANALYTICAL) === 'true') { - Cookies.set(cookies.VISITED, 'true', { - expires: 365, - domain: '.mattmor.in' - }); - } - }); + // if (Cookies.get(cookies.ANALYTICAL) === 'true') { + // Cookies.set(cookies.VISITED, 'true', { + // expires: 365, + // domain: '.mattmor.in' + // }); + // } + // }); // Scroll to anchor $: if ($page.url.pathname) { diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte new file mode 100644 index 0000000..e02a5ca --- /dev/null +++ b/src/routes/about/+page.svelte @@ -0,0 +1 @@ +

There is nothing to see yet

diff --git a/src/routes/blog/rss.xml/+server.ts b/src/routes/blog/rss.xml/+server.ts index 2dfe5de..c88c746 100644 --- a/src/routes/blog/rss.xml/+server.ts +++ b/src/routes/blog/rss.xml/+server.ts @@ -1,4 +1,4 @@ -import { listBlogPosts } from '$lib/contents/blog'; +import { listBlogPosts } from '$content/blog'; import RSS from 'rss'; export const GET = async () => { diff --git a/src/routes/contact/+page.svelte b/src/routes/contact/+page.svelte new file mode 100644 index 0000000..e02a5ca --- /dev/null +++ b/src/routes/contact/+page.svelte @@ -0,0 +1 @@ +

There is nothing to see yet

diff --git a/src/routes/projects/+page.svelte b/src/routes/projects/+page.svelte new file mode 100644 index 0000000..e02a5ca --- /dev/null +++ b/src/routes/projects/+page.svelte @@ -0,0 +1 @@ +

There is nothing to see yet

diff --git a/static/Logo.png b/static/Logo.png new file mode 100644 index 0000000..6ccfea8 Binary files /dev/null and b/static/Logo.png differ diff --git a/static/animations/infinity-loop-icon.svg b/static/animations/infinity-loop-icon.svg new file mode 100644 index 0000000..4b5306c --- /dev/null +++ b/static/animations/infinity-loop-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/animations/server-icon.svg b/static/animations/server-icon.svg new file mode 100644 index 0000000..5c6b298 --- /dev/null +++ b/static/animations/server-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/animations/shield-lock-black-icon.svg b/static/animations/shield-lock-black-icon.svg new file mode 100644 index 0000000..5c15fdf --- /dev/null +++ b/static/animations/shield-lock-black-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/animations/shield-sedo-line-icon.svg b/static/animations/shield-sedo-line-icon.svg new file mode 100644 index 0000000..8e69c69 --- /dev/null +++ b/static/animations/shield-sedo-line-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/animations/web-code-icon.svg b/static/animations/web-code-icon.svg new file mode 100644 index 0000000..a047040 --- /dev/null +++ b/static/animations/web-code-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/animations/web-security-icon.svg b/static/animations/web-security-icon.svg new file mode 100644 index 0000000..4262c20 --- /dev/null +++ b/static/animations/web-security-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/blog/Logo.png b/static/images/blog/Logo.png new file mode 100644 index 0000000..6ccfea8 Binary files /dev/null and b/static/images/blog/Logo.png differ diff --git a/static/images/blog/second-post/Feature.jpg b/static/images/blog/second-post/Feature.jpg new file mode 100644 index 0000000..4c59b98 Binary files /dev/null and b/static/images/blog/second-post/Feature.jpg differ diff --git a/static/images/blog/second-post/Feature.png b/static/images/blog/second-post/Feature.png new file mode 100644 index 0000000..e69de29 diff --git a/svelte.config.js b/svelte.config.js index 3196866..2e011dd 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -44,7 +44,8 @@ const config = { $lib: path.resolve('src', 'lib'), $root: path.resolve('/'), $src: path.resolve('src'), - $routes: path.resolve('src', 'routes') + $routes: path.resolve('src', 'routes'), + $content: path.resolve('src', 'content') }, // TODO: FIX Banning external malware scripts for security and privacy of users, threw errors, // csp: {