118 lines
6.1 KiB
TypeScript
118 lines
6.1 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", 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" }
|
|
];
|
|
|
|
const quickLinks = [
|
|
{ name: "Home", href: "/" },
|
|
{ name: "Lebenslauf", href: "/cv" },
|
|
{ name: "Portfolio", href: "/portfolio" },
|
|
{ name: "Contact", 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">
|
|
{/* Background Pattern */}
|
|
<div className="absolute inset-0 opacity-5">
|
|
<div className="absolute inset-0" style={{
|
|
backgroundImage: `url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
|
|
}} />
|
|
</div>
|
|
|
|
<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">Fullstack Developer</p>
|
|
</div>
|
|
</div>
|
|
<p className="text-gray-300 mb-6 max-w-md leading-relaxed">
|
|
Passionate developer creating modern web applications with cutting-edge technologies.
|
|
Always learning, always building.
|
|
</p>
|
|
<div className="flex flex-wrap gap-2">
|
|
<Badge variant="info">React</Badge>
|
|
<Badge variant="info">TypeScript</Badge>
|
|
<Badge variant="info">Rust</Badge>
|
|
<Badge variant="success">Next.js</Badge>
|
|
</div>
|
|
</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">Connect</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' })}
|
|
>
|
|
Back to Top
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|