--- import { type CollectionEntry, getCollection } from "astro:content"; import PostPreview from "@/components/blog/PostPreview.astro"; import Note from "@/components/note/Note.astro"; import SocialList from "@/components/SocialList.astro"; import { getAllPosts } from "@/data/post"; import PageLayout from "@/layouts/Base.astro"; import { collectionDateSort } from "@/utils/date"; // Posts const MAX_POSTS = 10; const allPosts = await getAllPosts(); const allPostsByDate = allPosts .sort(collectionDateSort) .slice(0, MAX_POSTS) as CollectionEntry<"post">[]; // Micro const MAX_MICRO = 5; const allMicro = await getCollection("note"); const latestMicro = allMicro.sort(collectionDateSort).slice(0, MAX_MICRO); ---

Welcome!

I'm Dawid - DevOps engineer, web developer, and full-time vanlifer. With over a decade of experience in cloud technologies and automation, I share insights from life on the road, tech tutorials, and digital nomad know-how.

Follow along for practical tips on DevOps, web development, and remote work in motion.

Posts

{ latestMicro.length > 0 && (

Micro

) }