refactor: some big ass refactor

This commit is contained in:
2026-02-22 15:19:59 +05:30
parent e838f08f71
commit 02fd803370
13 changed files with 604 additions and 542 deletions

1
src/data/content.ts Normal file
View File

@@ -0,0 +1 @@
export { LAB_NOTES, PROJECTS, type LabNote, type Project } from './contentData';

34
src/data/content.tsx Normal file
View File

@@ -0,0 +1,34 @@
import { Cpu, Gamepad, Layout } from 'lucide-react';
export const PROJECTS = [
{
id: 'Krohnkite',
title: 'Krohnkite i3',
category: 'Window Management',
tech: ['Typescript', 'Kwin API', 'QML'],
desc: 'A modified stripped down version of Krohnkite that implements i3-style tiling in KDE Plasma (Wayland).',
icon: <Layout className="w-5 h-5" />,
},
{
id: 'leenim',
title: 'Leenim',
category: 'Desktop Application Development',
tech: ['React', 'Rust', 'Tauri', 'Python'],
desc: 'A Cross platform Video Editor style application for creating mathematical illustrations with Manim.',
icon: <Cpu className="w-5 h-5" />,
},
{
id: 'omnia',
title: 'Omnia',
category: 'AI-Native Computing Systems',
tech: ['Typescript'],
desc: 'A game engine specification that defines an AI driven, intent-based architecture for building determinist-first interactive worlds.',
icon: <Gamepad className="w-5 h-5" />,
},
];
export const LAB_NOTES = [
{ date: '2026-02-14', title: 'GT730 and handling some Nvidia Voodoo Magic' },
{ date: '2026-01-28', title: 'Why I stopped using Nginx and wrote my own router' },
{ date: '2025-12-10', title: 'Injecting dynamic themes via CSS variable mutations' },
];

49
src/data/contentData.tsx Normal file
View File

@@ -0,0 +1,49 @@
import type { ReactElement } from 'react';
import { Cpu, Gamepad, Layout } from 'lucide-react';
export type Project = {
id: string;
title: string;
category: string;
tech: string[];
desc: string;
icon: ReactElement;
};
export type LabNote = {
date: string;
title: string;
};
export const PROJECTS: Project[] = [
{
id: 'Krohnkite',
title: 'Krohnkite i3',
category: 'Window Management',
tech: ['Typescript', 'Kwin API', 'QML'],
desc: 'A modified stripped down version of Krohnkite that implements i3-style tiling in KDE Plasma (Wayland).',
icon: <Layout className="w-5 h-5" />,
},
{
id: 'leenim',
title: 'Leenim',
category: 'Desktop Application Development',
tech: ['React', 'Rust', 'Tauri', 'Python'],
desc: 'A Cross platform Video Editor style application for creating mathematical illustrations with Manim.',
icon: <Cpu className="w-5 h-5" />,
},
{
id: 'omnia',
title: 'Omnia',
category: 'AI-Native Computing Systems',
tech: ['Typescript'],
desc: 'A game engine specification that defines an AI driven, intent-based architecture for building determinist-first interactive worlds.',
icon: <Gamepad className="w-5 h-5" />,
},
];
export const LAB_NOTES: LabNote[] = [
{ date: '2026-02-14', title: 'GT730 and handling some Nvidia Voodoo Magic' },
{ date: '2026-01-28', title: 'Why I stopped using Nginx and wrote my own router' },
{ date: '2025-12-10', title: 'Injecting dynamic themes via CSS variable mutations' },
];