This is a static SvelteKit conversion of the original PHP-based leonardo.re website.
-
src/routes/- All page routes+page.svelte- Homepage (Film Director & Producer)web-design-development/+page.svelte- Web Development portfoliosoftware-products/+page.svelte- Software products showcasecontact/+page.svelte- Contact informationlegal/+page.svelte- Privacy policy+layout.svelte- Main layout with navigation and footer+layout.js- Prerender configuration
-
src/lib/components/- Reusable componentsNav.svelte- Navigation menuFooter.svelte- Footer component
-
static/- Static assets (CSS, images, videos, downloads)css/- Responsive CSS filesimg/- Images and iconsvid/- Video filesdownload/- Downloadable files
- Static Site Generation: Built with
@sveltejs/adapter-staticfor full static site output - Responsive Design: Mobile-first CSS with breakpoints at 400px, 550px, 750px, and 1000px
- SEO Optimized: Complete meta tags for each page including:
- Open Graph tags for social media
- Twitter Card tags
- Schema.org structured data
- Canonical URLs
- Performance: Uses Cloudinary CDN for optimized image delivery
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build static site
pnpm build
# Preview production build
pnpm previewThe static site is generated in the build/ directory and can be deployed to any static hosting service (Netlify, Vercel, GitHub Pages, etc.).
This project was converted from PHP to SvelteKit with the following changes:
- Routing: PHP's dynamic routing replaced with SvelteKit's file-based routing
- Layout System: PHP includes converted to Svelte components and layout files
- Static Assets: All images, CSS, and media files moved to
static/directory - SEO: Server-side meta tag generation converted to client-side
<svelte:head>blocks - AMP Pages: AMP functionality removed (can be re-added if needed)
- Dynamic Features: Removed PHP-based features (no longer needed for static site):
- CSS minification (now handled by Vite)
- Country-based redirects
- Server-side caching
/- Film Director & Producer (Homepage)/web-design-development- Web Development Portfolio/software-products- Software Products/contact- Contact Information/legal- Privacy Policy
- SvelteKit 2.x: Modern web framework
- Svelte 5.x: Reactive UI framework
- Vite 7.x: Build tool
- TypeScript: Type-safe development
- adapter-static: Static site generation
© Leonardo Re. All rights reserved.