From 37c70fd451b74fdbe18c43f529eaeab782698a3f Mon Sep 17 00:00:00 2001 From: Mid Date: Mon, 7 Aug 2023 15:42:16 +0200 Subject: [PATCH] Add the blog --- src/lib/blog/Post.svelte | 4 +- src/lib/blog/Preview.svelte | 38 ++++++++++++-- src/lib/blog/blog.ts | 1 + src/lib/home/Banner.svelte | 12 +++-- src/lib/home/Blog.svelte | 49 ++++++++++++++---- src/lib/home/Portfolio.svelte | 22 +++++--- src/lib/home/Sona.svelte | 11 ++-- src/lib/home/Virtual.svelte | 4 +- src/routes/blog/centering-a-div.svelte | 9 ++++ .../blog/my-internship-at-agro-it.svelte | 9 ++++ src/routes/blog/releasing-puppy-pride.svelte | 3 +- src/routes/blog/the-power-of-vr.svelte | 9 ++++ src/routes/index.svelte | 11 ++-- static/blog/myinternshipatagroit.png | Bin 0 -> 171755 bytes static/blog/thepowerofvr.png | Bin 0 -> 2297139 bytes static/homepage/drone2.jpeg | Bin 0 -> 4086027 bytes static/homepage/sona/mid angry.png | Bin 0 -> 1826301 bytes static/homepage/sona/mid blep.png | Bin 0 -> 2735043 bytes static/homepage/sona/mid smug.png | Bin 0 -> 1458001 bytes static/homepage/sona/mid thinking.png | Bin 0 -> 1287278 bytes 20 files changed, 139 insertions(+), 43 deletions(-) create mode 100644 src/routes/blog/centering-a-div.svelte create mode 100644 src/routes/blog/my-internship-at-agro-it.svelte create mode 100644 src/routes/blog/the-power-of-vr.svelte create mode 100644 static/blog/myinternshipatagroit.png create mode 100644 static/blog/thepowerofvr.png create mode 100644 static/homepage/drone2.jpeg create mode 100644 static/homepage/sona/mid angry.png create mode 100644 static/homepage/sona/mid blep.png create mode 100644 static/homepage/sona/mid smug.png create mode 100644 static/homepage/sona/mid thinking.png diff --git a/src/lib/blog/Post.svelte b/src/lib/blog/Post.svelte index 78b2313..9982265 100644 --- a/src/lib/blog/Post.svelte +++ b/src/lib/blog/Post.svelte @@ -8,13 +8,13 @@
-

{title}

+

{title}

Posted {date} by Pascal

-
+
diff --git a/src/lib/blog/Preview.svelte b/src/lib/blog/Preview.svelte index aa129fb..cede239 100644 --- a/src/lib/blog/Preview.svelte +++ b/src/lib/blog/Preview.svelte @@ -5,12 +5,16 @@ export let date = ""; export let image = ""; export let featured: boolean = false; + export let isNew: boolean = false; {#if featured} - + {#if image.length > 0} - + {title} + {/if} + {#if isNew} +
New!
{/if}

{title}

@@ -19,11 +23,35 @@ {date} {:else} - + {#if image.length > 0} - + {title} + {/if} + {#if isNew} +

{/if}

{title}

{date}
-{/if} \ No newline at end of file +{/if} + + \ No newline at end of file diff --git a/src/lib/blog/blog.ts b/src/lib/blog/blog.ts index b04bd23..cc4c3ee 100644 --- a/src/lib/blog/blog.ts +++ b/src/lib/blog/blog.ts @@ -4,4 +4,5 @@ interface BlogPost { image: string; date: string; content: string; + isNew: boolean; } diff --git a/src/lib/home/Banner.svelte b/src/lib/home/Banner.svelte index d2406c9..49138b4 100644 --- a/src/lib/home/Banner.svelte +++ b/src/lib/home/Banner.svelte @@ -137,14 +137,15 @@

- I'm a {calculateAge(new Date("2001-10-30"))} year old programmer and tech enthusiast from The Netherlands. - Be it making a website, building a computer, or designing a new protocol, I love making things with tech! + I'm a {calculateAge(new Date("2001-10-30"))} year old programmer and tech enthusiast from The Netherlands. I am an entrepeneur with the dream of creating the next generation of chatting freedom online with my company Flame Software.

Bart Industries is my public digital home. It's a collection of my socials, work experiences and past projects, artworks, hobbies and interests, fursonas and anything else I feel like sharing with the world.

- To know more about me you can visit the about section. + You can read some of the stuff I've written about at the blog section.
- For some of my skills and experiences you can visit my portfolio section. + You can read about some of my skills and experiences at the portfolio section. +
+ For some more information about me as a person you can visit the about section.
If you want to contact me you can reach out via one of my socials below or send me an email.

@@ -156,6 +157,9 @@ + + +