diff --git a/app/components/card.tsx b/app/components/card.tsx index 2fa425b..2512965 100644 --- a/app/components/card.tsx +++ b/app/components/card.tsx @@ -19,7 +19,7 @@ export default function Card({ hover = true, style, bgImageUrl, - bgOpacity = 0.25, + bgOpacity = 0.15, bgDim = 0.35, bg }: CardProps) { @@ -54,22 +54,13 @@ export default function Card({ style={{ ...(bg ? { background: bg } - : { backgroundImage: `url(${bgImageUrl})`, backgroundSize: 'cover', backgroundPosition: 'center', opacity: bgOpacity } + : { backgroundImage: `url(${bgImageUrl})`, backgroundSize: 'cover', backgroundPosition: 'center', opacity: bgOpacity, filter: `brightness(${bgDim})`,zIndex: -1 } ), opacity: bg ? 1 : bgOpacity, // Diagonal mask: from ~20% at bottom to ~55% at top to create a rising diagonal clipPath: 'polygon(55% 0, 100% 0, 100% 100%, 20% 100%)' }} /> - {/* Dimming overlay to preserve contrast over the image area only */} -
)} {children} diff --git a/app/footbar.tsx b/app/footbar.tsx index d28224e..51a4751 100644 --- a/app/footbar.tsx +++ b/app/footbar.tsx @@ -7,16 +7,15 @@ export default function FootBar() { const currentYear = new Date().getFullYear(); const socialLinks = [ - { name: "GitHub", href: "https://github.com", icon: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, - { name: "LinkedIn", href: "https://linkedin.com", icon: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }, - { name: "Email", href: "mailto:example@example.com", icon: "M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-.904.732-1.636 1.636-1.636h3.819l6.545 4.91 6.545-4.91h3.819c.904 0 1.636.732 1.636 1.636z" } + { name: "GitHub", href: "https://github.com/GoranSalzmann", icon: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, + { name: "Email", href: "mailto:karl.mike2002@gmail.com", icon: "M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-.904.732-1.636 1.636-1.636h3.819l6.545 4.91 6.545-4.91h3.819c.904 0 1.636.732 1.636 1.636z" } ]; const quickLinks = [ { name: "Home", href: "/" }, { name: "Lebenslauf", href: "/cv" }, { name: "Portfolio", href: "/portfolio" }, - { name: "Contact", href: "/contact" } + { name: "Kontakt", href: "/contact" } ]; return ( diff --git a/app/globals.css b/app/globals.css index 34e80c7..9d51cd7 100644 --- a/app/globals.css +++ b/app/globals.css @@ -26,7 +26,7 @@ html { } body { - background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%); + background: var(--background) linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%); color: var(--foreground); font-family: var(--font-geist-sans), system-ui, -apple-system, sans-serif; line-height: 1.6; diff --git a/app/navbar.tsx b/app/navbar.tsx index 810b562..27ae1e2 100644 --- a/app/navbar.tsx +++ b/app/navbar.tsx @@ -41,9 +41,6 @@ export default function Navbar() { ))} -
{/* Mobile Menu Button */} diff --git a/app/page.tsx b/app/page.tsx index b1113f4..778e5b6 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -31,7 +31,7 @@ export default function Home() { className="float" style={{ animationDelay: '1s' }} bgImageUrl={"https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"} - bgOpacity={0.22} + bgOpacity={0.35} bgDim={0.35} > @@ -86,8 +86,8 @@ export default function Home() {

Gymnasium Zwiesel

@@ -103,7 +103,7 @@ export default function Home() { @@ -186,8 +186,8 @@ export default function Home() { variant="glass" className="hover:neon-glow" bgImageUrl={"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"} - bgOpacity={0.25} - bgDim={0.3} + bgOpacity={0.35} + bgDim={0.35} >

Raytracing in a Weekend

@@ -234,8 +234,8 @@ export default function Home() { variant="glass" className="hover:neon-glow" bgImageUrl={"https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"} - bgOpacity={0.2} - bgDim={0.4} + bgOpacity={0.35} + bgDim={0.35} >

6502 Emulator

@@ -261,7 +261,7 @@ export default function Home() { variant="glass" className="hover:neon-glow" bgImageUrl={"https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80"} - bgOpacity={0.22} + bgOpacity={0.35} bgDim={0.35} >