diff --git a/app/components/badge.tsx b/app/components/badge.tsx index ad8677e..8666769 100644 --- a/app/components/badge.tsx +++ b/app/components/badge.tsx @@ -2,37 +2,31 @@ import { ReactNode } from 'react'; interface BadgeProps { children: ReactNode; - variant?: 'default' | 'success' | 'warning' | 'error' | 'info' | 'glass'; - size?: 'sm' | 'md' | 'lg'; + variant?: 'gray' | 'green' | 'yellow' | 'red' | 'blue' | 'glass'; + border?: boolean; className?: string; } export default function Badge({ children, - variant = 'default', - size = 'md', + variant = 'gray', + border = false, className = '' }: BadgeProps) { - const baseClasses = "inline-flex items-center font-medium rounded-full transition-all duration-300 ease-out"; - - const sizeClasses = { - sm: "px-2 py-1 text-xs", - md: "px-3 py-1.5 text-sm", - lg: "px-4 py-2 text-base" - }; + const baseClasses = "rounded-full px-2 py-0.5 text-sm"; const variantClasses = { - default: "bg-gray-700/50 text-gray-300 border border-gray-600/50", - success: "bg-green-500/20 text-green-400 border border-green-500/30", - warning: "bg-yellow-500/20 text-yellow-400 border border-yellow-500/30", - error: "bg-red-500/20 text-red-400 border border-red-500/30", - info: "bg-blue-500/20 text-blue-400 border border-blue-500/30", - glass: "bg-white/10 text-white border border-white/20 backdrop-blur-sm" + gray: "bg-gray-700/50 text-gray-300 border-gray-600/50", + green: "bg-green-500/20 text-green-400 border-green-500/30", + yellow: "bg-yellow-500/20 text-yellow-400 border-yellow-500/30", + red: "bg-red-500/20 text-red-400 border-red-500/30", + blue: "bg-blue-500/20 text-blue-400 border-blue-500/30", + glass: "bg-white/10 text-white border-white/20 backdrop-blur-sm" }; return ( {children} diff --git a/app/footbar.tsx b/app/footbar.tsx index 1fce290..6d10f8f 100644 --- a/app/footbar.tsx +++ b/app/footbar.tsx @@ -33,9 +33,11 @@ export default function FootBar() {
- Leidenschaftlicher Entwickler auf der Suche nach neuen Möglichkeiten. - Always learning, always building. + Leidenschaftlicher Entwickler, stets auf der Suche nach neuen Möglichkeiten.
++ Always learning, always building. +
{/* Quick Links */} diff --git a/app/page-section.tsx b/app/page-section.tsx deleted file mode 100644 index 553a8d0..0000000 --- a/app/page-section.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { ReactNode } from 'react'; - -export default function PageSection({ title, content, children }: { title: string; content?: string; children?: ReactNode }) { - return ( -- {content} -
- {children} -
Webentwicklung und Systementwicklung
@@ -112,9 +112,9 @@ export default function Home() {
Self-Hosting
@@ -130,8 +130,8 @@ export default function Home() {
Erfahrung im professionellen Umgang mit internen und externen Kunden
@@ -158,9 +158,9 @@ export default function Home() {
Ein Nachbau des Raytracers aus der Buchserie "Raytracing in a Weekend". Portiert von C++ auf Rust.