Design: Fly.io-inspired Farben und Buttons

- Hintergrund: Dunkles Navy (#092E20-inspiriert)
- Buttons: Gradient-Pink zu Violett mit Shadow-Glow
- Neue Button-Variante: 'gradient' (Cyan zu Blau)
- Gradient-Mesh Hintergrund für Hero-Sektion
- Akzentfarbe: Knalliges Pink/Magenta
- Selection: Pink mit Transparenz
This commit is contained in:
Dieter Schlüter 2026-04-25 05:18:55 +02:00
commit 4b285121d7
3 changed files with 68 additions and 46 deletions

View file

@ -9,10 +9,13 @@ import { ProgrammerGraphic } from './programmer-graphic'
export function Hero() {
return (
<section className="relative min-h-screen flex items-center pt-20 lg:pt-0">
{/* Subtle grid background */}
{/* Fly.io-style gradient mesh background */}
<div className="absolute inset-0 bg-gradient-mesh" />
{/* Subtle grid overlay */}
<div className="absolute inset-0 overflow-hidden">
<div
className="absolute inset-0 opacity-[0.02] dark:opacity-[0.04]"
className="absolute inset-0 opacity-[0.03]"
style={{
backgroundImage: `
linear-gradient(to right, currentColor 1px, transparent 1px),

View file

@ -9,16 +9,17 @@ const buttonVariants = cva(
{
variants: {
variant: {
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
default: 'bg-gradient-to-r from-pink-500 to-violet-500 text-white hover:from-pink-600 hover:to-violet-600 shadow-lg shadow-pink-500/25',
destructive:
'bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',
outline:
'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50',
'border border-border bg-background shadow-xs hover:border-accent hover:text-accent dark:bg-transparent',
secondary:
'bg-secondary text-secondary-foreground hover:bg-secondary/80',
ghost:
'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',
'hover:bg-accent/10 hover:text-accent-foreground dark:hover:bg-accent/10',
link: 'text-primary underline-offset-4 hover:underline',
gradient: 'bg-gradient-to-r from-cyan-400 to-blue-500 text-white hover:from-cyan-500 hover:to-blue-600 shadow-lg shadow-cyan-500/25',
},
size: {
default: 'h-9 px-4 py-2 has-[>svg]:px-3',