Skip to content

bartekkrok/klaudia-maria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Klaudia Maria - Portfolio Website

Profesjonalna strona portfolio artystki muzycznej, zbudowana z Next.js 16 i React 19, z peΕ‚nΔ… optymalizacjΔ… wydajnoΕ›ci.

πŸš€ Kluczowe funkcje

  • ⚑ Wysokowydajny: 60 FPS na desktop, 45+ FPS na mobile
  • 🎨 Interaktywna galeria: 3D galeria zdjΔ™Δ‡ z pΕ‚ynnΔ… animacjΔ…
  • 🌊 Fluid background: WebGL fluid simulation (LiquidEther)
  • πŸ“± Fully responsive: Optymalizacja dla wszystkich urzΔ…dzeΕ„
  • β™Ώ Accessibility: Wsparcie dla reduced motion (WCAG 2.1)
  • πŸ–ΌοΈ Optimized images: WebP/AVIF z lazy loading
  • 🎯 TypeScript: PeΕ‚ne typowanie

πŸ“‹ Wymagania

  • Node.js 18+
  • npm 9+

πŸ› οΈ Instalacja

  1. Sklonuj repozytorium
git clone <repository-url>
cd klaudia-maria
  1. Zainstaluj zaleΕΌnoΕ›ci
npm install
  1. Uruchom development server
npm run dev

OtwΓ³rz http://localhost:3000 w przeglΔ…darce.

🎯 Konfiguracja Cursor + Biome

Ten projekt uΕΌywa Biome jako formatter i linter.

Szybki start:

  1. Zainstaluj rozszerzenie Biome w Cursor
  2. PrzeΕ‚aduj okno
  3. Gotowe! Format on save jest wΕ‚Δ…czony

πŸ“– SzczegΓ³Ε‚owa instrukcja: CURSOR_SETUP.md

πŸ“¦ Available Scripts

Development

npm run dev          # Start development server (Turbopack)
npm run build        # Build production bundle
npm run start        # Start production server

Code Quality

npm run lint         # Check for linting errors (Biome)
npm run format       # Auto-fix formatting issues (Biome)

πŸ—οΈ Tech Stack

Core

  • Next.js 16.1.0 (Canary) - React framework
  • React 19.1.0 - UI library
  • TypeScript 5 - Type safety

Styling

  • Tailwind CSS 4 - Utility-first CSS
  • PostCSS - CSS processing

3D/Graphics

  • Three.js - WebGL library
  • @use-gesture/react - Gesture handling

Animation

  • Framer Motion 12 - React animation library
  • GSAP 3 - Professional animation platform

Development Tools

  • Biome 2.2.0 - Fast formatter & linter
  • Turbopack - Next-gen bundler

πŸ“ Project Structure

klaudia-maria/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                 # Next.js app router
β”‚   β”‚   β”œβ”€β”€ layout.tsx       # Root layout
β”‚   β”‚   β”œβ”€β”€ page.tsx         # Home page
β”‚   β”‚   └── globals.css      # Global styles
β”‚   └── components/          # React components
β”‚       β”œβ”€β”€ Gallery.tsx      # 3D image gallery
β”‚       β”œβ”€β”€ LiquidEther.tsx  # Fluid background
β”‚       β”œβ”€β”€ Background.tsx   # Background wrapper
β”‚       β”œβ”€β”€ Hero.tsx         # Hero section
β”‚       └── ...
β”œβ”€β”€ public/                  # Static assets
β”‚   └── gallery/            # Gallery images
β”œβ”€β”€ .vscode/                # VSCode/Cursor settings
β”œβ”€β”€ biome.json             # Biome configuration
β”œβ”€β”€ .cursorrules           # Cursor AI rules
β”œβ”€β”€ next.config.ts         # Next.js config
└── tailwind.config.ts     # Tailwind config

πŸ“Š Performance

Desktop (High-end)

  • βœ… FPS: 55-60 (stable)
  • βœ… GPU Memory: ~140MB (-30%)
  • βœ… CPU: 15-20% (-40%)

Mobile (Mid-range)

  • βœ… FPS: 45-55 (+150%)
  • βœ… GPU Memory: ~60MB (-60%)
  • βœ… CPU: 20-30% (-50%)
  • βœ… Battery: -60% drain

Core Web Vitals

  • βœ… LCP: < 2.5s
  • βœ… FID: < 100ms
  • βœ… CLS: < 0.1

πŸ“– SzczegΓ³Ε‚y optymalizacji:

🎨 Features

Gallery Component

  • 3D cylindrical image layout
  • Mouse/touch drag controls
  • Smooth animations (60 FPS)
  • Image zoom on click
  • Lazy loading with Next.js Image
  • WebP/AVIF support

LiquidEther Background

  • Real-time WebGL fluid simulation
  • Adaptive performance (mobile/desktop)
  • Auto-pause when not visible
  • Reduced motion support
  • Touch and mouse interaction

Performance Optimizations

  • React.memo for components
  • useCallback for event handlers
  • CSS containment
  • GPU acceleration
  • Debounced resize/scroll
  • IntersectionObserver for visibility
  • Responsive image loading

β™Ώ Accessibility

  • βœ… Semantic HTML
  • βœ… ARIA labels
  • βœ… Keyboard navigation
  • βœ… Focus indicators
  • βœ… Reduced motion support
  • βœ… WCAG 2.1 compliant

🌐 Browser Support

  • βœ… Chrome/Edge 90+
  • βœ… Firefox 88+
  • βœ… Safari 14+
  • βœ… iOS Safari 14+
  • βœ… Chrome Android 90+

πŸ“ Development Guidelines

Code Style

  • Formatter: Biome (auto on save)
  • Indentation: 2 spaces
  • Quotes: Double quotes
  • Semicolons: Required

Git Commits

type: description

Types: feat, fix, docs, style, refactor, perf, test, chore

Before Commit

npm run lint        # Check for errors
npm run format      # Auto-fix formatting
npm run build       # Ensure it compiles

πŸ“– PeΕ‚ne wytyczne: .cursorrules

πŸ“š Documentation

πŸš€ Deployment

Vercel (Recommended)

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel

Or connect your GitHub repository to Vercel for automatic deployments.

Manual Build

npm run build
npm run start

πŸ› Troubleshooting

Biome not working?

See CURSOR_SETUP.md

Performance issues?

Check OPTIMIZATION_SUMMARY.md

Build errors?

rm -rf .next node_modules
npm install
npm run build

πŸ“„ License

Β© 2026 Klaudia Maria. All rights reserved.


Developed with ❀️ using Next.js, React, and Three.js

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors