RadityaSurya.com

A modern personal portfolio website built with Next.js 15, featuring MDX-powered content management, Subtle Folio-inspired design, and comprehensive branding for professional showcase.

Date2025Reading6 min readTags

Stacks

Next.js 15TypeScriptTailwind CSS 4Framer MotionPrismaPostgreSQLMDXshadcn/uiBetter AuthCoolifyDocker

Project Overview

RadityaSurya.comis a comprehensive personal portfolio and blog platform that serves as both a professional showcase and a demonstration of modern web development excellence. Built as a self-hosted solution under the raditya.id domain, this project combines cutting-edge technologies with thoughtful design to create an engaging digital presence.


Design Philosophy & Branding

Subtle Folio Inspiration

The design draws inspiration from Subtle Folio templates, featuring:

  • Layered Card System: Three-tier visual hierarchy (background → main cards → section cards)
  • Clean Typography: Inter font family for professional readability
  • Minimalist Aesthetics: Focus on content with subtle animations
  • Color Harmony: Carefully chosen palette that adapts to light/dark themes

Personal Branding Elements

  • Domain Strategy: raditya.id for memorable, professional presence
  • Visual Identity: Consistent color scheme and typography across all touchpoints
  • Content Hierarchy: Clear information architecture for optimal user experience
  • Responsive Design: Seamless experience from mobile to desktop

Technical Architecture

Core Framework & Runtime

  • Next.js 15 with App Router - Latest React framework with optimal performance
  • React 19 - Cutting-edge React features and concurrent rendering
  • TypeScript 5.8 - Strict type safety and enhanced developer experience
  • Node.js runtime with modern ES modules

Content Management System

  • MDX Integration - Markdown with React components for rich content
  • Gray Matter - Frontmatter parsing for structured metadata
  • Dynamic Routing - generateStaticParams for SEO-friendly URLs
  • Reading Time Calculation - Automatic content consumption metrics

Styling & UI Framework

  • Tailwind CSS 4 - Utility-first CSS with modern features
  • shadcn/ui - High-quality component library built on Radix UI
  • Framer Motion - Smooth animations and page transitions
  • Theme System - Automatic dark/light mode with next-themes

Database & Authentication

  • Prisma ORM - Type-safe database operations with PostgreSQL
  • Better Auth - Modern authentication with email/password support
  • Session Management - Secure JWT-based user sessions
  • Role-based Access - Admin functionality for content management

Development & Quality Tools

  • Biome - Fast linting and formatting (replacing ESLint + Prettier)
  • Husky - Git hooks for pre-commit quality checks
  • Pino - Structured logging with Next.js compatibility
  • Zod - Runtime type validation and schema enforcement

Key Features & Capabilities

Content Management Ecosystem

Blog Platform

  • MDX-Powered Posts - Write technical articles with embedded React components
  • Syntax Highlighting - Code blocks with language detection and themes
  • SEO Optimization - Dynamic meta tags and Open Graph integration
  • Reading Analytics - Automatic reading time and progress tracking

Project Showcase

  • Case Studies - Detailed project writeups with technical insights
  • Technology Tags - Comprehensive tech stack visualization
  • Live Demos - Direct links to deployed applications
  • GitHub Integration - Source code access and contribution tracking

Design Portfolio

  • Logo Showcase - Creative branding work with color-coded presentations
  • Interactive Cards - 50/50 layout with branded color backgrounds
  • Category System - Organized design work by type and industry

Advanced User Experience

  • Animated Tab Glider - Smooth navigation with spring-based transitions
  • Page Transitions - Framer Motion slide animations between routes
  • Hover Effects - Micro-interactions and visual feedback
  • Loading States - Skeleton components and progressive enhancement

Accessibility & Performance

  • WCAG Compliance - Screen reader support and keyboard navigation
  • Core Web Vitals - Optimized for speed and user experience
  • Mobile-First Design - Responsive across all device sizes
  • Progressive Enhancement - Works without JavaScript when needed

Administrative Features

Content Management

  • MDX Editor Support - Write content with live preview
  • Draft System - Save unpublished content for later editing
  • Bulk Operations - Efficient content management workflows
  • Version Control - Git-based content history and collaboration

Analytics & Monitoring

  • Umami Integration - Privacy-focused analytics tracking
  • Performance Metrics - Real-time Core Web Vitals monitoring
  • Error Tracking - Comprehensive logging and debugging
  • SEO Monitoring - Search performance and indexing status

Development Challenges & Solutions

MDX Content Management Complexity

Challenge: Implementing a full-featured MDX system with syntax highlighting, frontmatter parsing, and dynamic routing.

Solution: Built comprehensive content pipeline with:

  • Custom MDX processing utilities
  • TypeScript interfaces for content types
  • generateStaticParams for SEO optimization
  • Error handling for malformed content

Authentication & Admin Integration

Challenge: Seamless integration of authentication with content management without compromising performance.

Solution: Implemented Better Auth with:

  • JWT-based sessions for SPA compatibility
  • Protected API routes with middleware
  • Admin dashboard for content CRUD operations
  • Secure password hashing and session management

Design System Consistency

Challenge: Maintaining visual consistency across light/dark themes and responsive breakpoints.

Solution: Developed layered design system with:

  • CSS custom properties for theme variables
  • Utility classes for consistent spacing and colors
  • Component variants for different UI states
  • Responsive design patterns

Performance Optimization

Challenge: Balancing rich animations and interactions with fast loading times.

Solution: Implemented multiple optimization strategies:

  • Static generation for content pages
  • Code splitting and lazy loading
  • Image optimization with Next.js Image
  • Bundle analysis and tree shaking

Performance & Analytics

Core Web Vitals Achievements

  • Lighthouse Score: 95+ across all categories
  • First Contentful Paint: <1.5 seconds
  • Largest Contentful Paint: <2.5 seconds
  • Cumulative Layout Shift: <0.1
  • First Input Delay: <100ms

SEO Performance

  • Page Speed Insights: Mobile and desktop scores >90
  • Search Rankings: Optimized for relevant technical keywords
  • Social Sharing: Open Graph and Twitter Card support
  • Sitemap Generation: Automated XML sitemap updates

Analytics Integration

  • Privacy-First Tracking: Umami analytics with GDPR compliance
  • User Behavior Insights: Page views, session duration, bounce rates
  • Content Performance: Popular posts and engagement metrics
  • Technical Monitoring: Error tracking and performance alerts

Deployment & Infrastructure

Self-Hosted Architecture

  • Coolify Platform: Docker-based deployment with auto-scaling
  • PostgreSQL Database: Managed database with automated backups
  • Redis Caching: Session storage and performance optimization
  • SSL Certificates: Automatic HTTPS with Let's Encrypt

CI/CD Pipeline

  • Automated Testing: Biome linting and TypeScript checks
  • Build Optimization: Multi-stage Docker builds for minimal images
  • Environment Management: Separate staging and production deployments
  • Rollback Capability: Quick recovery from deployment issues

Monitoring & Maintenance

  • Health Checks: Automated monitoring of application status
  • Log Aggregation: Centralized logging with Pino and external services
  • Backup Strategy: Daily database backups with retention policies
  • Security Updates: Regular dependency updates and security patches

Let’s work together

I design scalable platforms and streamline infrastructure so your team can move faster, safer, and smarter.

Start the Conversation

© 2026 Raditya Surya. All rights reserved.