initial commit
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
import { Navigation } from "@/components/navigation";
|
||||
import { Github, Linkedin, Mail, Code } from "lucide-react";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "About",
|
||||
description: "Learn more about me and my work",
|
||||
};
|
||||
|
||||
export default function AboutPage() {
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<Navigation />
|
||||
<main className="container mx-auto px-6 py-16 max-w-4xl">
|
||||
<h1 className="text-4xl font-bold text-foreground mb-12">About Me</h1>
|
||||
|
||||
<div className="grid md:grid-cols-[1fr_auto] gap-12 mb-12">
|
||||
<div className="space-y-6">
|
||||
<p className="text-lg text-muted-foreground leading-relaxed">
|
||||
I'm Alex, a full-stack engineer at Whisker with 4 years of
|
||||
experience building scalable cloud applications and IoT solutions.
|
||||
My journey in software development has been driven by curiosity
|
||||
and a passion for solving complex problems with efficient
|
||||
solutions. I specialize in creating performant applications using
|
||||
the latest technologies, with a particular interest in performance
|
||||
at scale and building developer-friendly tools.
|
||||
</p>
|
||||
<p className="text-lg text-muted-foreground leading-relaxed">
|
||||
Learning and sharing new tech is something I'm genuinely
|
||||
passionate about. When I'm not coding, you'll find me contributing
|
||||
to open-source projects, writing blog posts, or giving technical
|
||||
talks. Off-duty, I'm usually reading, exploring the outdoors with
|
||||
my dogs, or rolling dice as a D&D sorcerer. This site is where
|
||||
I share book thoughts, code experiments, and random shower
|
||||
thoughts. Thanks for stopping by!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex md:flex-col gap-6 items-center md:items-start">
|
||||
<div className="relative w-80 h-80 rounded-lg overflow-hidden bg-muted">
|
||||
<img
|
||||
src="/self.webp"
|
||||
alt="Alex"
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
<div className="relative w-80 h-80 rounded-lg overflow-hidden bg-muted">
|
||||
<img
|
||||
src="/homies.jpg"
|
||||
alt="Err"
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="border-t border-border/40 pt-12">
|
||||
<h2 className="text-2xl font-bold text-foreground mb-8">
|
||||
Connect With Me
|
||||
</h2>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<a
|
||||
href="https://github.com/amuszyn"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-4 p-6 rounded-lg border border-border/40 bg-card hover:border-border hover:shadow-lg transition-all group"
|
||||
>
|
||||
<Github
|
||||
size={28}
|
||||
className="text-muted-foreground group-hover:text-foreground transition-colors"
|
||||
/>
|
||||
<div>
|
||||
<div className="font-semibold text-foreground">GitHub</div>
|
||||
<div className="text-sm text-muted-foreground">@amuszyn</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://linkedin.com/in/almuszynski"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-4 p-6 rounded-lg border border-border/40 bg-card hover:border-border hover:shadow-lg transition-all group"
|
||||
>
|
||||
<Linkedin
|
||||
size={28}
|
||||
className="text-muted-foreground group-hover:text-foreground transition-colors"
|
||||
/>
|
||||
<div>
|
||||
<div className="font-semibold text-foreground">LinkedIn</div>
|
||||
<div className="text-sm text-muted-foreground">
|
||||
Alex Muszynski
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="mailto:alexander.muszynski@gmail.com"
|
||||
className="flex items-center gap-4 p-6 rounded-lg border border-border/40 bg-card hover:border-border hover:shadow-lg transition-all group"
|
||||
>
|
||||
<Mail
|
||||
size={28}
|
||||
className="text-muted-foreground group-hover:text-foreground transition-colors"
|
||||
/>
|
||||
<div>
|
||||
<div className="font-semibold text-foreground">Email</div>
|
||||
<div className="text-sm text-muted-foreground">
|
||||
alexander.muszynski@gmail.com
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://gitea.muszyn.dev/muszyn"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-4 p-6 rounded-lg border border-border/40 bg-card hover:border-border hover:shadow-lg transition-all group"
|
||||
>
|
||||
<Code
|
||||
size={28}
|
||||
className="text-muted-foreground group-hover:text-foreground transition-colors"
|
||||
/>
|
||||
<div>
|
||||
<div className="font-semibold text-foreground">Gitea</div>
|
||||
<div className="text-sm text-muted-foreground">@muszyn</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
import { Navigation } from "@/components/navigation";
|
||||
import { getBlogPosts, getBlogPost } from "@/lib/content";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import remarkGfm from "remark-gfm";
|
||||
import type { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
|
||||
interface BlogPostPageProps {
|
||||
params: Promise<{ slug: string }>;
|
||||
}
|
||||
|
||||
export async function generateStaticParams() {
|
||||
const posts = getBlogPosts();
|
||||
return posts.map((post) => ({
|
||||
slug: post.slug,
|
||||
}));
|
||||
}
|
||||
|
||||
export async function generateMetadata({
|
||||
params,
|
||||
}: BlogPostPageProps): Promise<Metadata> {
|
||||
const { slug } = await params;
|
||||
const post = getBlogPost(slug);
|
||||
|
||||
if (!post) {
|
||||
return {
|
||||
title: "Post Not Found",
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
title: `${post.title}`,
|
||||
description: post.excerpt,
|
||||
};
|
||||
}
|
||||
|
||||
export default async function BlogPostPage({ params }: BlogPostPageProps) {
|
||||
const { slug } = await params;
|
||||
const post = getBlogPost(slug);
|
||||
|
||||
if (!post) {
|
||||
notFound();
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<Navigation />
|
||||
<main className="container mx-auto px-6 py-16 max-w-3xl">
|
||||
<article>
|
||||
<header className="mb-10">
|
||||
<time className="text-sm text-muted-foreground">
|
||||
{new Date(post.date).toLocaleDateString("en-US", {
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
})}
|
||||
</time>
|
||||
<h1 className="text-4xl font-bold text-foreground mt-3 mb-4">
|
||||
{post.title}
|
||||
</h1>
|
||||
<p className="text-lg text-muted-foreground">{post.excerpt}</p>
|
||||
</header>
|
||||
|
||||
<div className="prose prose-invert prose-lg max-w-none">
|
||||
<ReactMarkdown remarkPlugins={[remarkGfm]}>
|
||||
{post.content}
|
||||
</ReactMarkdown>
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import { Navigation } from "@/components/navigation";
|
||||
import { BlogCard } from "@/components/blog-card";
|
||||
import { getBlogPosts } from "@/lib/content";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Blog",
|
||||
description: "Read my latest blog posts about web development",
|
||||
};
|
||||
|
||||
export default function BlogPage() {
|
||||
const posts = getBlogPosts();
|
||||
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<Navigation />
|
||||
<main className="container mx-auto px-6 py-16 max-w-4xl">
|
||||
<div className="mb-16">
|
||||
<h1 className="text-4xl font-bold text-foreground mb-4">Blog</h1>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
Thoughts, tutorials, and insights about web development
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid gap-12">
|
||||
{posts.map((post) => (
|
||||
<BlogCard key={post.slug} post={post} />
|
||||
))}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
+185
@@ -0,0 +1,185 @@
|
||||
@import "tailwindcss";
|
||||
@import "tw-animate-css";
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-accent: var(--sidebar-accent);
|
||||
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
||||
--color-sidebar-primary: var(--sidebar-primary);
|
||||
--color-sidebar-foreground: var(--sidebar-foreground);
|
||||
--color-sidebar: var(--sidebar);
|
||||
--color-chart-5: var(--chart-5);
|
||||
--color-chart-4: var(--chart-4);
|
||||
--color-chart-3: var(--chart-3);
|
||||
--color-chart-2: var(--chart-2);
|
||||
--color-chart-1: var(--chart-1);
|
||||
--color-ring: var(--ring);
|
||||
--color-input: var(--input);
|
||||
--color-border: var(--border);
|
||||
--color-destructive: var(--destructive);
|
||||
--color-accent-foreground: var(--accent-foreground);
|
||||
--color-accent: var(--accent);
|
||||
--color-muted-foreground: var(--muted-foreground);
|
||||
--color-muted: var(--muted);
|
||||
--color-secondary-foreground: var(--secondary-foreground);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-primary-foreground: var(--primary-foreground);
|
||||
--color-primary: var(--primary);
|
||||
--color-popover-foreground: var(--popover-foreground);
|
||||
--color-popover: var(--popover);
|
||||
--color-card-foreground: var(--card-foreground);
|
||||
--color-card: var(--card);
|
||||
--radius-sm: calc(var(--radius) - 4px);
|
||||
--radius-md: calc(var(--radius) - 2px);
|
||||
--radius-lg: var(--radius);
|
||||
--radius-xl: calc(var(--radius) + 4px);
|
||||
--radius-2xl: calc(var(--radius) + 8px);
|
||||
--radius-3xl: calc(var(--radius) + 12px);
|
||||
--radius-4xl: calc(var(--radius) + 16px);
|
||||
}
|
||||
|
||||
:root {
|
||||
--radius: 0.625rem;
|
||||
--background: oklch(1 0 0);
|
||||
--foreground: oklch(0.145 0 0);
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.145 0 0);
|
||||
--popover: oklch(1 0 0);
|
||||
--popover-foreground: oklch(0.145 0 0);
|
||||
--primary: oklch(0.205 0 0);
|
||||
--primary-foreground: oklch(0.985 0 0);
|
||||
--secondary: oklch(0.97 0 0);
|
||||
--secondary-foreground: oklch(0.205 0 0);
|
||||
--muted: oklch(0.97 0 0);
|
||||
--muted-foreground: oklch(0.556 0 0);
|
||||
--accent: oklch(0.97 0 0);
|
||||
--accent-foreground: oklch(0.205 0 0);
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--border: oklch(0.922 0 0);
|
||||
--input: oklch(0.922 0 0);
|
||||
--ring: oklch(0.708 0 0);
|
||||
--chart-1: oklch(0.646 0.222 41.116);
|
||||
--chart-2: oklch(0.6 0.118 184.704);
|
||||
--chart-3: oklch(0.398 0.07 227.392);
|
||||
--chart-4: oklch(0.828 0.189 84.429);
|
||||
--chart-5: oklch(0.769 0.188 70.08);
|
||||
--sidebar: oklch(0.985 0 0);
|
||||
--sidebar-foreground: oklch(0.145 0 0);
|
||||
--sidebar-primary: oklch(0.205 0 0);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.97 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.205 0 0);
|
||||
--sidebar-border: oklch(0.922 0 0);
|
||||
--sidebar-ring: oklch(0.708 0 0);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.145 0 0);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.205 0 0);
|
||||
--card-foreground: oklch(0.985 0 0);
|
||||
--popover: oklch(0.205 0 0);
|
||||
--popover-foreground: oklch(0.985 0 0);
|
||||
--primary: oklch(0.922 0 0);
|
||||
--primary-foreground: oklch(0.205 0 0);
|
||||
--secondary: oklch(0.269 0 0);
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.269 0 0);
|
||||
--muted-foreground: oklch(0.708 0 0);
|
||||
--accent: oklch(0.269 0 0);
|
||||
--accent-foreground: oklch(0.985 0 0);
|
||||
--destructive: oklch(0.704 0.191 22.216);
|
||||
--border: oklch(1 0 0 / 10%);
|
||||
--input: oklch(1 0 0 / 15%);
|
||||
--ring: oklch(0.556 0 0);
|
||||
--chart-1: oklch(0.488 0.243 264.376);
|
||||
--chart-2: oklch(0.696 0.17 162.48);
|
||||
--chart-3: oklch(0.769 0.188 70.08);
|
||||
--chart-4: oklch(0.627 0.265 303.9);
|
||||
--chart-5: oklch(0.645 0.246 16.439);
|
||||
--sidebar: oklch(0.205 0 0);
|
||||
--sidebar-foreground: oklch(0.985 0 0);
|
||||
--sidebar-primary: oklch(0.488 0.243 264.376);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.269 0 0);
|
||||
--sidebar-accent-foreground: oklch(0.985 0 0);
|
||||
--sidebar-border: oklch(1 0 0 / 10%);
|
||||
--sidebar-ring: oklch(0.556 0 0);
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.prose {
|
||||
@apply text-foreground;
|
||||
max-width: 65ch;
|
||||
}
|
||||
|
||||
.prose h1 {
|
||||
@apply text-4xl font-bold text-foreground mt-8 mb-4;
|
||||
}
|
||||
|
||||
.prose h2 {
|
||||
@apply text-3xl font-bold text-foreground mt-8 mb-4;
|
||||
}
|
||||
|
||||
.prose h3 {
|
||||
@apply text-2xl font-semibold text-foreground mt-6 mb-3;
|
||||
}
|
||||
|
||||
.prose p {
|
||||
@apply text-base text-muted-foreground leading-relaxed mb-6;
|
||||
}
|
||||
|
||||
.prose a {
|
||||
@apply text-primary hover:underline;
|
||||
}
|
||||
|
||||
.prose ul,
|
||||
.prose ol {
|
||||
@apply text-muted-foreground mb-6 ml-6;
|
||||
}
|
||||
|
||||
.prose li {
|
||||
@apply mb-2;
|
||||
}
|
||||
|
||||
.prose code {
|
||||
@apply bg-muted px-2 py-1 rounded text-sm font-mono;
|
||||
}
|
||||
|
||||
.prose pre {
|
||||
@apply bg-muted p-4 rounded-lg overflow-x-auto mb-6;
|
||||
}
|
||||
|
||||
.prose pre code {
|
||||
@apply bg-transparent p-0;
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
@apply border-l-4 border-border pl-4 italic text-muted-foreground my-6;
|
||||
}
|
||||
|
||||
.prose img {
|
||||
@apply rounded-lg my-6;
|
||||
}
|
||||
|
||||
.prose strong {
|
||||
@apply font-semibold text-foreground;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Alex Muszynski",
|
||||
description: "Personal portfolio and blog",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" className="dark">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
import Link from "next/link";
|
||||
import { Navigation } from "@/components/navigation";
|
||||
import { BlogCard } from "@/components/blog-card";
|
||||
import { ProjectCard } from "@/components/project-card";
|
||||
import { getBlogPosts, getProjects } from "@/lib/content";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
|
||||
export default function Home() {
|
||||
const allPosts = getBlogPosts();
|
||||
const recentPosts = allPosts.slice(0, 3);
|
||||
const allProjects = getProjects();
|
||||
const recentProjects = allProjects.slice(0, 3);
|
||||
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<Navigation />
|
||||
<main className="container mx-auto px-6 py-16 max-w-5xl">
|
||||
<section className="mb-24">
|
||||
<h1 className="text-5xl font-bold text-foreground mb-6">
|
||||
Hi, I'm <span className="text-primary">Alex Muszynski</span>.
|
||||
</h1>
|
||||
<p className="text-xl text-muted-foreground mb-8 max-w-2xl leading-relaxed">
|
||||
I'm a tinkerer that works in the realm of software. Welcome to my
|
||||
portfolio where I share my projects and thoughts on tech.
|
||||
</p>
|
||||
<Link
|
||||
href="/about"
|
||||
className="inline-flex items-center gap-2 text-lg font-medium text-foreground hover:text-primary transition-colors"
|
||||
>
|
||||
Learn more about me
|
||||
<ArrowRight size={20} />
|
||||
</Link>
|
||||
</section>
|
||||
|
||||
<section className="mb-24">
|
||||
<div className="flex items-center justify-between mb-10">
|
||||
<h2 className="text-3xl font-bold text-foreground">Recent Posts</h2>
|
||||
<Link
|
||||
href="/blog"
|
||||
className="text-base text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
View all posts
|
||||
</Link>
|
||||
</div>
|
||||
<div className="grid gap-10">
|
||||
{recentPosts.map((post) => (
|
||||
<BlogCard key={post.slug} post={post} />
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div className="flex items-center justify-between mb-10">
|
||||
<h2 className="text-3xl font-bold text-foreground">
|
||||
Recent Projects
|
||||
</h2>
|
||||
<Link
|
||||
href="/projects"
|
||||
className="text-base text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
View all projects
|
||||
</Link>
|
||||
</div>
|
||||
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
|
||||
{recentProjects.map((project) => (
|
||||
<ProjectCard key={project.slug} project={project} />
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import { Navigation } from "@/components/navigation";
|
||||
import { ProjectCard } from "@/components/project-card";
|
||||
import { getProjects } from "@/lib/content";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Projects",
|
||||
description: "A collection of my projects and side work",
|
||||
};
|
||||
|
||||
export default function ProjectsPage() {
|
||||
const projects = getProjects();
|
||||
|
||||
return (
|
||||
<div className="min-h-screen">
|
||||
<Navigation />
|
||||
<main className="container mx-auto px-6 py-16 max-w-6xl">
|
||||
<div className="mb-16">
|
||||
<h1 className="text-4xl font-bold text-foreground mb-4">Projects</h1>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
A collection of projects I've built and contributed to
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
|
||||
{projects.map((project) => (
|
||||
<ProjectCard key={project.slug} project={project} />
|
||||
))}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user