105 lines
4.9 KiB
TypeScript
105 lines
4.9 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { Button, Badge } from "./components";
|
|
|
|
export default function FootBar() {
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
const socialLinks = [
|
|
{ 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: "Lebenslauf", href: "/cv" },
|
|
{ name: "Portfolio", href: "/portfolio" },
|
|
{ name: "Kontakt", href: "/contact" }
|
|
];
|
|
|
|
return (
|
|
<footer className="relative bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 border-t border-gray-800/50">
|
|
<div className="relative container mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
|
{/* Brand Section */}
|
|
<div className="lg:col-span-2">
|
|
<div className="flex items-center gap-3 mb-4">
|
|
<div className="w-10 h-10 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center text-white font-bold text-lg">
|
|
MK
|
|
</div>
|
|
<div>
|
|
<h3 className="text-xl font-bold text-white">Mike Karl</h3>
|
|
<p className="text-gray-400 text-sm">Web und Systementwickler</p>
|
|
</div>
|
|
</div>
|
|
<p className="text-gray-300 mb-6 max-w-md leading-relaxed">
|
|
Leidenschaftlicher Entwickler, stets auf der Suche nach neuen Möglichkeiten.
|
|
</p>
|
|
<p className="mt-4 bg-gradient-to-r from-yellow-400 to-indigo-600 bg-clip-text text-transparent">
|
|
<i> Always learning, always building.</i>
|
|
</p>
|
|
</div>
|
|
|
|
{/* Quick Links */}
|
|
<div>
|
|
<h4 className="text-lg font-semibold text-white mb-4">Quick Links</h4>
|
|
<ul className="space-y-3">
|
|
{quickLinks.map((link) => (
|
|
<li key={link.href}>
|
|
<Link
|
|
href={link.href}
|
|
className="text-gray-300 hover:text-white transition-colors duration-300 hover:translate-x-1 inline-block"
|
|
>
|
|
{link.name}
|
|
</Link>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</div>
|
|
|
|
{/* Social Links */}
|
|
<div>
|
|
<h4 className="text-lg font-semibold text-white mb-4">Kontakt</h4>
|
|
<div className="space-y-3">
|
|
{socialLinks.map((social) => (
|
|
<a
|
|
key={social.name}
|
|
href={social.href}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="flex items-center gap-3 text-gray-300 hover:text-white transition-all duration-300 hover:translate-x-1 group"
|
|
>
|
|
<div className="w-8 h-8 bg-gray-800/50 rounded-lg flex items-center justify-center group-hover:bg-blue-500/20 transition-colors duration-300">
|
|
<svg className="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
|
<path d={social.icon} />
|
|
</svg>
|
|
</div>
|
|
<span>{social.name}</span>
|
|
</a>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{/* Bottom Section */}
|
|
<div className="mt-12 pt-8 border-t border-gray-800/50">
|
|
<div className="flex flex-col md:flex-row justify-between items-center gap-4">
|
|
<div className="text-gray-400 text-sm">
|
|
<p>© {currentYear} Mike Karl. All rights reserved.</p>
|
|
<p className="mt-1">Built with Next.js and Tailwind CSS</p>
|
|
</div>
|
|
<div className="flex items-center gap-4">
|
|
<Button
|
|
variant="glass"
|
|
size="sm"
|
|
onClick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}
|
|
>
|
|
zum Seitenanfang
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|