feat: Add professional portfolio images and Hero redesign
- Add 15 optimized WebP images for portfolio (21-53KB each) - Redesign Hero section with full-width background image - Add SSR support for Hero component - Update About section with new portrait image - Update Contact page with professional headshot - Add images to Services/Leistungen page - Add image optimization script (sharp) - Update translations for gallery section Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -53,8 +53,59 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: '/images/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Cache-Control',
|
||||
value: 'public, max-age=31536000, immutable',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: '/_next/static/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Cache-Control',
|
||||
value: 'public, max-age=31536000, immutable',
|
||||
},
|
||||
],
|
||||
},
|
||||
// Content-Language Headers für jede Sprache (wichtig für Bing)
|
||||
{
|
||||
source: '/de/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Content-Language',
|
||||
value: 'de-DE',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: '/en/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Content-Language',
|
||||
value: 'en-US',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
source: '/sr/:path*',
|
||||
headers: [
|
||||
{
|
||||
key: 'Content-Language',
|
||||
value: 'sr-RS',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
// Compiler-Optimierungen
|
||||
compiler: {
|
||||
removeConsole: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
};
|
||||
|
||||
const withMDX = createMDX({
|
||||
|
||||
Reference in New Issue
Block a user