Move to node, update all dependencies, fix unocss, add a dockerfile and
Some checks are pending
Svelte Website guild. / Building the website (push) Waiting to run

a CI builder for gitea.
This commit is contained in:
2023-12-29 20:13:37 +01:00
parent ad7efaa286
commit 30e733d375
9 changed files with 108 additions and 44 deletions

View File

@@ -19,8 +19,8 @@
class="justify-center flex md:flex-row flex-col items-center m-auto shrink overflow-hidden h-screen"
>
<div
in:fly={{ delay: 300, duration: 300, y: 50, easing: quintOut }}
out:fly={{ duration: 300, y: -50, easing: quintOut }}
in:fly={{ delay: 350, duration: 350, y: 50, easing: quintOut }}
out:fly={{ duration: 350, y: -50, easing: quintOut }}
class="flex flex-col md:pr-3"
>
<div class="flex flex-col md:flex-row">
@@ -45,14 +45,18 @@
out:fly={{ duration: 300, y: 0, easing: quintOut }}
class="md:h-1/2 md:w-1 w-3/4 border-1 bg-black border-black dark:bg-white dark:border-white rounded-md"
/>
<div class="md:pl-4 md:gap-1 flex md:h-50% flex-col place-items-start">
<!-- Secondary Content (Right) -->
<div
in:fly={{ delay: 300, duration: 300, y: -50, easing: quintOut }}
out:fly={{ duration: 300, y: 50, easing: quintOut }}
class="md:pl-4 md:gap-1 flex md:h-50% flex-col place-items-start"
>
<div class="overflow-y-auto">
{#each data.posts as { title, date, description, slug }, i}
<a href="blog/{slug}">
<!-- Gotta fix this, it's gonna look ugly when there are too many projects in the list... -->
<div
in:fly={{ delay: 350, duration: 300 * i, y: -50, easing: quintOut }}
in:fly={{ delay: 300, duration: 300 * i, y: -50, easing: quintOut }}
out:fly={{ duration: 300, y: 50, easing: quintOut }}
class="flex flex-col p-2 rounded dark:hover:bg-#082f49 hover:bg-blue-100"
>

View File

@@ -38,8 +38,12 @@
out:fly={{ duration: 300, y: 0, easing: quintOut }}
class="md:h-1/2 md:w-1 w-3/4 border-1 bg-black border-black dark:bg-white dark:border-white rounded-md"
/>
<div class="md:pl-4 md:gap-1 flex md:h-50% flex-col place-items-start">
<!-- Secondary Content (Right) -->
<div
in:fly={{ delay: 300, duration: 300, y: -50, easing: quintOut }}
out:fly={{ duration: 300, y: 50, easing: quintOut }}
class="md:pl-4 md:gap-1 flex md:h-50% flex-col place-items-start"
>
<div class="overflow-y-auto">
{#each proj as { name, date, desc, url, image, imdes }, i}
<a href={url}>

View File

@@ -12,7 +12,7 @@ export async function GET({ fetch }) {
<title>Midou's blog</title>
<description>A blog covering about anything that comes into my mind!</description>
<link>https://midou.dev/</link>
<atom:link href="https://midou.dev/blog/rss.xml" rel="self" type="application/rss+xml"/>
<atom:link href="https://midou.dev/rss.xml" rel="self" type="application/rss+xml"/>
${posts
.map(
(post) => `
@@ -21,7 +21,6 @@ export async function GET({ fetch }) {
<description>${post.description}</description>
<link>https://midou.dev/blog/${post.slug}</link>
<guid isPermaLink="true">https://midou.dev/blog/${post.slug}</guid>
<p> Since I am a dumbass, I don't know how to put the paragraph here! </p>
<pubDate>${new Date(post.date).toUTCString()}</pubDate>
</item>
`