feat: add multiple new blog posts, remove old ones, and update core application and blog template pages.

This commit is contained in:
2026-02-13 23:34:27 +03:00
parent fb40034e43
commit 0370479fac
21 changed files with 1343 additions and 329 deletions
+13 -5
View File
@@ -32,10 +32,10 @@ const navItems = computed<NavigationMenuItem[]>(() => [
<UHeader>
<template #title>
<NuxtLink to="/" class="flex items-center gap-2">
<span class="inline-flex items-center justify-center size-8 rounded-full bg-primary-600 text-white text-sm font-bold">IW</span>
<span class="inline-flex items-center justify-center size-8 rounded-full bg-primary-600 text-white text-sm font-bold">IA</span>
<div class="flex flex-col leading-tight">
<span class="font-semibold text-sm">Ian Andwati</span>
<span class="text-xs text-(--ui-text-muted)">Software Engineer</span>
<span class="text-xs text-(--ui-text-muted)">0xmockinspectre</span>
</div>
</NuxtLink>
</template>
@@ -54,7 +54,7 @@ const navItems = computed<NavigationMenuItem[]>(() => [
<UButton
color="neutral"
variant="ghost"
to="https://x.com"
to="https://x.com/andwati_"
target="_blank"
icon="i-simple-icons-x"
aria-label="X"
@@ -78,7 +78,7 @@ const navItems = computed<NavigationMenuItem[]>(() => [
<UFooter>
<template #left>
<p class="text-sm text-(--ui-text-muted)">
© {{ new Date().getFullYear() }} Ian Andwati. Built with Nuxt.
© 2022 - {{ new Date().getFullYear() }} 0xmockinspectre. Built with Nuxt.
</p>
</template>
@@ -94,11 +94,19 @@ const navItems = computed<NavigationMenuItem[]>(() => [
<UButton
color="neutral"
variant="ghost"
to="https://x.com"
to="https://x.com/andwati_"
target="_blank"
icon="i-simple-icons-x"
aria-label="X"
/>
<UButton
color="neutral"
variant="ghost"
to="https://linkedin.com/in/andwati"
target="_blank"
icon="i-simple-icons-linkedin"
aria-label="LinkedIn"
/>
</template>
</UFooter>
</UApp>
+30 -18
View File
@@ -2,19 +2,20 @@
useSeoMeta({
title: "About — Ian Andwati",
description:
"Learn more about Ian Andwati — software engineer passionate about building great products.",
"Learn more about Ian Andwati — software engineer interested in offensive security and reverse engineering.",
});
const skills = [
{ name: "C", icon: "i-simple-icons-c" },
{ name: "Rust", icon: "i-simple-icons-rust" },
{ name: "Go", icon: "i-simple-icons-go" },
{ name: "Python", icon: "i-simple-icons-python" },
{ name: "TypeScript", icon: "i-simple-icons-typescript" },
{ name: "Vue.js", icon: "i-simple-icons-vuedotjs" },
{ name: "Nuxt", icon: "i-simple-icons-nuxtdotjs" },
{ name: "Node.js", icon: "i-simple-icons-nodedotjs" },
{ name: "Go", icon: "i-simple-icons-go" },
{ name: "Python", icon: "i-simple-icons-python" },
{ name: "Docker", icon: "i-simple-icons-docker" },
{ name: "Git", icon: "i-simple-icons-git" },
{ name: "PostgreSQL", icon: "i-simple-icons-postgresql" },
{ name: "Linux", icon: "i-simple-icons-linux" },
];
</script>
@@ -34,9 +35,10 @@ const skills = [
<div class="space-y-4 text-center sm:text-left">
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-(--ui-text-muted)">About</p>
<h1 class="text-3xl sm:text-4xl font-bold">Ian Andwati</h1>
<p class="text-sm font-mono text-primary-600 dark:text-primary-400">0xmockinspectre · offending binaries</p>
<p class="text-lg text-(--ui-text-muted) leading-relaxed">
I'm a software engineer who loves building tools and products that make a difference.
My interests span full-stack development, open source, and exploring new technologies.
I spend my free time working on hobby projects and sometimes I write about my experiences.
In particular, I enjoy learning about offensive security and reverse engineering.
</p>
</div>
</div>
@@ -51,9 +53,9 @@ const skills = [
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400 mb-3">Focus</p>
<h2 class="text-2xl font-bold mb-4">What I Do</h2>
<p class="text-(--ui-text-muted) leading-relaxed">
I specialize in building modern web applications using cutting-edge technologies.
Whether it's crafting a seamless user experience on the frontend or architecting
robust backend systems, I enjoy the entire spectrum of software development.
I'm interested in low-level systems programming, security research, and understanding how things
work under the hood. I build CPU emulators, CLI tools, bots, and web apps as hobby projects.
I also participate in CTF competitions and write about what I learn.
</p>
</div>
@@ -77,13 +79,12 @@ const skills = [
<USeparator />
<!-- Contact -->
<!-- Connect -->
<div>
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400 mb-3">Connect</p>
<h2 class="text-2xl font-bold mb-4">Get in Touch</h2>
<h2 class="text-2xl font-bold mb-4">Find Me</h2>
<p class="text-(--ui-text-muted) leading-relaxed mb-6">
Feel free to reach out through any of the links below. Always happy to
connect and discuss interesting projects or ideas.
You can find me on the following platforms.
</p>
<div class="flex flex-wrap gap-3">
<UButton
@@ -96,16 +97,27 @@ const skills = [
/>
<UButton
label="X / Twitter"
to="https://x.com"
to="https://x.com/andwati_"
target="_blank"
icon="i-simple-icons-x"
color="neutral"
variant="outline"
/>
<UButton
label="Email me"
to="mailto:hello@ianwati.dev"
icon="i-lucide-mail"
label="LinkedIn"
to="https://linkedin.com/in/andwati"
target="_blank"
icon="i-simple-icons-linkedin"
color="neutral"
variant="outline"
/>
<UButton
label="Stack Overflow"
to="https://stackoverflow.com/users/12246264/ian-andwati"
target="_blank"
icon="i-simple-icons-stackoverflow"
color="neutral"
variant="outline"
/>
</div>
</div>
+25 -26
View File
@@ -20,34 +20,33 @@ useSeoMeta({
</script>
<template>
<UPage v-if="post">
<UPageHeader
:title="post.title"
:description="post.description"
>
<template #headline>
<UBreadcrumb
:items="[
{ label: 'Blog', to: '/blog', icon: 'i-lucide-book-open' },
{ label: post.title || '' }
]"
/>
</template>
<UContainer v-if="post">
<div class="max-w-3xl mx-auto py-8 lg:py-12">
<UBreadcrumb
:items="[
{ label: 'Blog', to: '/blog', icon: 'i-lucide-book-open' },
{ label: post.title || '' }
]"
class="mb-6"
/>
<template #bottom>
<div class="flex items-center gap-3 text-sm text-(--ui-text-muted)">
<UIcon name="i-lucide-calendar" />
<header class="mb-8 lg:mb-12">
<h1 class="text-3xl lg:text-4xl font-bold tracking-tight text-(--ui-text-highlighted) mb-3">
{{ post.title }}
</h1>
<p v-if="post.description" class="text-lg text-(--ui-text-muted) mb-4">
{{ post.description }}
</p>
<div class="flex items-center gap-2 text-sm text-(--ui-text-muted)">
<UIcon name="i-lucide-calendar" class="size-4" />
<time v-if="post.date">{{ new Date(post.date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) }}</time>
<UBadge v-if="post.badge" :label="post.badge" variant="subtle" size="sm" class="ml-2" />
</div>
</template>
</UPageHeader>
</header>
<UPageBody>
<UContainer>
<div class="prose prose-primary dark:prose-invert max-w-none">
<ContentRenderer :value="post" />
</div>
</UContainer>
</UPageBody>
</UPage>
<div class="prose prose-primary dark:prose-invert max-w-none prose-headings:scroll-mt-20 prose-pre:rounded-xl prose-pre:border prose-pre:border-(--ui-border)">
<ContentRenderer :value="post" />
</div>
</div>
</UContainer>
</template>
+169 -138
View File
@@ -6,20 +6,73 @@ const { data: recentPosts } = await useAsyncData("recent-posts", () =>
useSeoMeta({
title: "Ian Andwati — Software Engineer",
description:
"Software engineer passionate about building great products. I write about development, technology, and the things I learn along the way.",
"Software engineer interested in offensive security, reverse engineering, and building hobby projects.",
});
const codeSnippet = `const softwareEngineer = {
const codeSnippet = `const engineer = {
name: 'Ian Andwati',
role: 'Software Engineer',
skills: [
'TypeScript', 'Vue.js', 'Nuxt',
'Node.js', 'Go', 'Python'
handle: '0xmockinspectre',
interests: [
'Offensive Security',
'Reverse Engineering',
'Systems Programming'
],
languages: [
'C', 'Rust', 'Go',
'Python', 'TypeScript'
],
getProjects: async () => {
return await fetchProjects();
},
};`;
const projects = [
{
name: "unsplash-bot",
description: "Telegram bot to download images from Unsplash.",
icon: "i-lucide-image",
lang: "Python",
stars: 8,
url: "https://github.com/andwati/unsplash-bot",
},
{
name: "mos-6502",
description: "MOS 6502 CPU emulator — 8 bit lives!",
icon: "i-lucide-cpu",
lang: "C",
stars: 4,
url: "https://github.com/andwati/mos-6502",
},
{
name: "url-shortener",
description: "URL shortener service built in Go.",
icon: "i-lucide-link",
lang: "Go",
stars: 1,
url: "https://github.com/andwati/url-shortener",
},
{
name: "ratatui-json-editor",
description: "Terminal JSON editor built with Ratatui.",
icon: "i-lucide-file-json",
lang: "Rust",
stars: 1,
url: "https://github.com/andwati/ratatui-json-editor",
},
{
name: "store-api",
description: "Store inventory REST API.",
icon: "i-lucide-database",
lang: "Python",
stars: 1,
url: "https://github.com/andwati/store-api",
},
{
name: "andwati.xyz",
description: "This personal site, rebuilt with Nuxt.",
icon: "i-lucide-globe",
lang: "Vue",
stars: 0,
url: "https://github.com/andwati/andwati.xyz",
},
];
</script>
<template>
@@ -33,7 +86,7 @@ const codeSnippet = `const softwareEngineer = {
<!-- Left: Text -->
<div class="space-y-6">
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-(--ui-text-muted)">
Software Engineer
0xmockinspectre
</p>
<h1 class="text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight">
@@ -41,8 +94,8 @@ const codeSnippet = `const softwareEngineer = {
</h1>
<p class="text-lg sm:text-xl text-(--ui-text-muted) leading-relaxed max-w-xl">
I build modern web applications and love crafting software that makes a real impact.
Passionate about clean code, open source, and continuous learning.
I spend my free time working on hobby projects and sometimes I write about my experiences.
I enjoy learning about offensive security and reverse engineering.
</p>
<div class="flex flex-wrap gap-3 pt-2">
@@ -65,12 +118,18 @@ const codeSnippet = `const softwareEngineer = {
<div class="flex items-center gap-4 pt-2 text-sm text-(--ui-text-muted)">
<span class="flex items-center gap-1.5">
<UIcon name="i-lucide-map-pin" class="size-4" />
Nairobi, Kenya
</span>
<span class="flex items-center gap-1.5">
<UIcon name="i-lucide-mail" class="size-4" />
[email protected]
UTC +3
</span>
<UButton
to="https://x.com/andwati_"
target="_blank"
variant="link"
color="neutral"
size="sm"
icon="i-simple-icons-x"
label="@andwati_"
class="p-0"
/>
</div>
</div>
@@ -79,20 +138,20 @@ const codeSnippet = `const softwareEngineer = {
<!-- Floating stat cards -->
<div class="absolute -top-4 -right-2 z-10">
<div class="bg-primary-800 text-white rounded-xl px-4 py-3 shadow-lg flex items-center gap-3">
<UIcon name="i-lucide-git-commit-horizontal" class="size-5 text-primary-300" />
<UIcon name="i-lucide-shield" class="size-5 text-primary-300" />
<div>
<p class="font-bold text-sm">Open Source</p>
<p class="text-xs text-primary-200">Active Contributor</p>
<p class="font-bold text-sm">Security</p>
<p class="text-xs text-primary-200">Offensive & RE</p>
</div>
</div>
</div>
<div class="absolute -bottom-2 -right-4 z-10">
<div class="bg-primary-700 text-white rounded-xl px-4 py-3 shadow-lg flex items-center gap-3">
<UIcon name="i-lucide-code-2" class="size-5 text-primary-300" />
<UIcon name="i-lucide-terminal" class="size-5 text-primary-300" />
<div>
<p class="font-bold text-sm">Full Stack</p>
<p class="text-xs text-primary-200">Frontend & Backend</p>
<p class="font-bold text-sm">Systems</p>
<p class="text-xs text-primary-200">Low-level hacking</p>
</div>
</div>
</div>
@@ -105,15 +164,15 @@ const codeSnippet = `const softwareEngineer = {
<span class="size-3 rounded-full bg-yellow-500" />
<span class="size-3 rounded-full bg-green-500" />
</div>
<span class="text-xs text-white/40 ml-2">portfolio.ts</span>
<span class="text-xs text-white/40 ml-2">whoami.ts</span>
</div>
<pre class="p-5 text-sm font-mono leading-relaxed overflow-x-auto"><code class="text-green-400">{{ codeSnippet }}</code></pre>
<div class="flex items-center justify-between px-4 py-2 border-t border-white/10 text-xs text-white/40">
<span class="flex items-center gap-1.5">
<span class="size-2 rounded-full bg-green-500" />
Online and coding
studying the blade
</span>
<span>Last commit: Today</span>
<span>offending binaries</span>
</div>
</div>
</div>
@@ -133,30 +192,82 @@ const codeSnippet = `const softwareEngineer = {
<UCard>
<div class="space-y-3">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-monitor" class="size-5 text-primary-600 dark:text-primary-400" />
<UIcon name="i-lucide-shield-alert" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<h3 class="font-semibold text-lg">Frontend Development</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Building responsive, accessible, and performant user interfaces with Vue.js, Nuxt, and modern CSS.</p>
<h3 class="font-semibold text-lg">Offensive Security</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Exploring vulnerabilities, CTF challenges, and security research. Learning to think like an attacker to build better defenses.</p>
</div>
</UCard>
<UCard>
<div class="space-y-3">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-server" class="size-5 text-primary-600 dark:text-primary-400" />
<UIcon name="i-lucide-binary" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<h3 class="font-semibold text-lg">Backend Development</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Designing robust APIs and services with Node.js, Go, and Python. Focused on scalability and reliability.</p>
<h3 class="font-semibold text-lg">Reverse Engineering</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Taking binaries apart to understand how things work under the hood. From CPU emulators to malware analysis.</p>
</div>
</UCard>
<UCard>
<div class="space-y-3">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-lightbulb" class="size-5 text-primary-600 dark:text-primary-400" />
<UIcon name="i-lucide-code-2" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<h3 class="font-semibold text-lg">Systems Programming</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Building things in C, Rust, and Go. CPU emulators, CLI tools, and low-level projects that make the machine do what you want.</p>
</div>
</UCard>
</div>
</UContainer>
</section>
<!-- Projects Section -->
<section id="projects" class="py-16 lg:py-24 bg-(--ui-bg-elevated)">
<UContainer>
<div class="flex items-end justify-between mb-12">
<div>
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400 mb-3">Projects</p>
<h2 class="text-3xl sm:text-4xl font-bold">Things I've Built</h2>
<p class="mt-2 text-(--ui-text-muted)">Hobby projects, experiments, and tools.</p>
</div>
<UButton
label="GitHub"
to="https://github.com/andwati"
target="_blank"
icon="i-simple-icons-github"
variant="ghost"
trailing-icon="i-lucide-arrow-up-right"
class="hidden sm:inline-flex"
/>
</div>
<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
<UCard v-for="project in projects" :key="project.name">
<div class="space-y-3">
<div class="flex items-center justify-between">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon :name="project.icon" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<UButton
icon="i-simple-icons-github"
color="neutral"
variant="ghost"
size="sm"
:to="project.url"
target="_blank"
aria-label="View source"
/>
</div>
<h3 class="font-semibold text-lg">{{ project.name }}</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">{{ project.description }}</p>
<div class="flex items-center gap-3 pt-1">
<UBadge :label="project.lang" variant="subtle" size="sm" />
<span v-if="project.stars" class="text-xs text-(--ui-text-muted) flex items-center gap-1">
<UIcon name="i-lucide-star" class="size-3" />
{{ project.stars }}
</span>
</div>
<h3 class="font-semibold text-lg">Open Source</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">Contributing to open source projects and building tools that help the developer community grow.</p>
</div>
</UCard>
</div>
@@ -164,13 +275,13 @@ const codeSnippet = `const softwareEngineer = {
</section>
<!-- Recent Blog Posts Section -->
<section class="py-16 lg:py-24 bg-(--ui-bg-elevated)">
<section class="py-16 lg:py-24">
<UContainer>
<div class="flex items-end justify-between mb-12">
<div>
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400 mb-3">Blog</p>
<h2 class="text-3xl sm:text-4xl font-bold">Latest Posts</h2>
<p class="mt-2 text-(--ui-text-muted)">Thoughts on development, technology, and things I learn along the way.</p>
<p class="mt-2 text-(--ui-text-muted)">CTF writeups, security research, and things I learn along the way.</p>
</div>
<UButton
label="View All"
@@ -204,126 +315,46 @@ const codeSnippet = `const softwareEngineer = {
</UContainer>
</section>
<!-- Projects Section -->
<section id="projects" class="py-16 lg:py-24">
<UContainer>
<div class="text-center mb-12">
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400 mb-3">Projects</p>
<h2 class="text-3xl sm:text-4xl font-bold">Things I've Built</h2>
<p class="mt-2 text-(--ui-text-muted)">A selection of projects I've worked on — from side experiments to production apps.</p>
</div>
<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
<UCard>
<div class="space-y-3">
<div class="flex items-center justify-between">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-layout-dashboard" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<UButton
icon="i-simple-icons-github"
color="neutral"
variant="ghost"
size="sm"
to="https://github.com/andwati"
target="_blank"
aria-label="View source"
/>
</div>
<h3 class="font-semibold text-lg">Personal Website</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">This site! Built with Nuxt, Nuxt Content, and Nuxt UI. Features a blog, dark mode, and responsive design.</p>
<div class="flex flex-wrap gap-2 pt-1">
<UBadge label="Nuxt" variant="subtle" size="sm" />
<UBadge label="Vue" variant="subtle" size="sm" />
<UBadge label="Tailwind" variant="subtle" size="sm" />
</div>
</div>
</UCard>
<UCard>
<div class="space-y-3">
<div class="flex items-center justify-between">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-terminal" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<UButton
icon="i-simple-icons-github"
color="neutral"
variant="ghost"
size="sm"
to="https://github.com/andwati"
target="_blank"
aria-label="View source"
/>
</div>
<h3 class="font-semibold text-lg">CLI Toolkit</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">A collection of developer CLI tools for automating workflows, generating boilerplate, and managing projects.</p>
<div class="flex flex-wrap gap-2 pt-1">
<UBadge label="Go" variant="subtle" size="sm" />
<UBadge label="CLI" variant="subtle" size="sm" />
</div>
</div>
</UCard>
<UCard>
<div class="space-y-3">
<div class="flex items-center justify-between">
<div class="inline-flex items-center justify-center size-10 rounded-lg bg-primary-100 dark:bg-primary-900/30">
<UIcon name="i-lucide-database" class="size-5 text-primary-600 dark:text-primary-400" />
</div>
<UButton
icon="i-simple-icons-github"
color="neutral"
variant="ghost"
size="sm"
to="https://github.com/andwati"
target="_blank"
aria-label="View source"
/>
</div>
<h3 class="font-semibold text-lg">API Starter</h3>
<p class="text-sm text-(--ui-text-muted) leading-relaxed">A production-ready REST API boilerplate with authentication, rate limiting, and database migrations.</p>
<div class="flex flex-wrap gap-2 pt-1">
<UBadge label="Node.js" variant="subtle" size="sm" />
<UBadge label="PostgreSQL" variant="subtle" size="sm" />
<UBadge label="Docker" variant="subtle" size="sm" />
</div>
</div>
</UCard>
</div>
</UContainer>
</section>
<!-- Contact Section -->
<section id="contact" class="py-16 lg:py-24">
<section id="contact" class="py-16 lg:py-24 bg-(--ui-bg-elevated)">
<UContainer>
<div class="max-w-2xl mx-auto text-center space-y-6">
<p class="text-xs font-semibold tracking-[0.2em] uppercase text-primary-600 dark:text-primary-400">Contact</p>
<h2 class="text-3xl sm:text-4xl font-bold">Get in Touch</h2>
<p class="text-lg text-(--ui-text-muted)">
Have a project in mind or just want to connect? Feel free to reach out.
Have something interesting to share? Feel free to reach out.
</p>
<div class="flex flex-wrap justify-center gap-4 pt-4">
<UButton
label="Email me"
to="mailto:[email protected]"
icon="i-lucide-mail"
size="xl"
/>
<UButton
label="GitHub"
to="https://github.com/andwati"
target="_blank"
icon="i-simple-icons-github"
size="xl"
/>
<UButton
label="X / Twitter"
to="https://x.com/andwati_"
target="_blank"
icon="i-simple-icons-x"
color="neutral"
variant="outline"
size="xl"
/>
<UButton
label="X / Twitter"
to="https://x.com"
label="LinkedIn"
to="https://linkedin.com/in/andwati"
target="_blank"
icon="i-simple-icons-x"
icon="i-simple-icons-linkedin"
color="neutral"
variant="outline"
size="xl"
/>
<UButton
label="Stack Overflow"
to="https://stackoverflow.com/users/12246264/ian-andwati"
target="_blank"
icon="i-simple-icons-stackoverflow"
color="neutral"
variant="outline"
size="xl"