diff --git a/public/assets/images/cover/bonsai.jpg b/public/assets/images/cover/bonsai.jpg new file mode 100644 index 0000000..22d5038 Binary files /dev/null and b/public/assets/images/cover/bonsai.jpg differ diff --git a/src/pages/index.astro b/src/pages/index.astro index 2763a41..17634fd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,11 +1,77 @@ --- -import BaseLayout from '../layouts/BaseLayout.astro'; +import { getCollection } from 'astro:content'; + +import { formatPosts } from '../utils'; + +import GridLayout from '../layouts/GridLayout.astro'; + +import MoreLink from '../components/MoreLink.astro'; +import PageTitle from '../components/PageTitle.astro'; +import Picture from '../components/Picture.astro'; +import JournalList from '../components/JournalList.astro'; + import { Headline } from '../components'; -const title = 'Homepage'; +import { Content as AboutMe } from '../text/homepage/about-me.mdx'; +import { Content as WhatIDo } from '../text/homepage/what-i-do.mdx'; +import { Content as Journal } from '../text/homepage/journal.mdx'; + +import { mapping } from '../mdx-components'; + +const allPosts = await getCollection('journal'); +const formattedLatest = formatPosts(allPosts, { limit: 6 }); + +const title = 'Home'; const description = '…'; --- - - Homepage - + + + Stefan Imhoff + Front-End Web Developer • Designer • Minimalist • Japanophile + +
+ +
+ +
+ About Me + + +
+ +
+ What I Do +
+ +
+ +
+ +
+ Journal + + +
+ +
+ +
+
diff --git a/src/text/homepage/about-me.mdx b/src/text/homepage/about-me.mdx new file mode 100644 index 0000000..ebe4b4a --- /dev/null +++ b/src/text/homepage/about-me.mdx @@ -0,0 +1 @@ +I’m a Front-End Web Developer and Designer from Hamburg, Germany. I love design and art, reading books, listening to podcasts, creating Sketchnotes, taking photos, and writing Haiku. diff --git a/src/text/homepage/journal.mdx b/src/text/homepage/journal.mdx new file mode 100644 index 0000000..c4f9ac4 --- /dev/null +++ b/src/text/homepage/journal.mdx @@ -0,0 +1 @@ +I am writing essays about topics including programming, design, self-improvement, philosophy, productivity, books, and films in this journal. diff --git a/src/text/homepage/what-i-do.mdx b/src/text/homepage/what-i-do.mdx new file mode 100644 index 0000000..0f5765e --- /dev/null +++ b/src/text/homepage/what-i-do.mdx @@ -0,0 +1,7 @@ +For nearly two decades, I have been creating user-centric layouts for web-based devices of all sizes, and I take pride in bringing simplicity and minimalism to each of my projects. + +I am passionate about providing excellent user experiences, which includes crafting well-written content, selecting appropriate photography, typography, and colors, programming efficient and maintainable code, and creating captivating animations. + +Currently, I am employed at [NEW WORK SE](https://www.new-work.se/) and working on the Design System of [XING](https://www.xing.com/), Europe's leading business network. + +I am an avid innovator and have contributed to a number of projects, including a job platform for freelancers during one of the company's _Hackweeks_, and am a three-time winner of the _Prototyping Days_, a two-day company-wide prototyping event.