|
|
|
|
@@ -70,37 +70,7 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
return (
|
|
|
|
|
<div className="min-h-screen bg-slate-950 text-slate-100 overflow-hidden relative selection:bg-blue-500/30 selection:text-blue-200">
|
|
|
|
|
|
|
|
|
|
{/* Background Decorative Animated Blobs */}
|
|
|
|
|
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-[600px] pointer-events-none -z-10 overflow-hidden">
|
|
|
|
|
<motion.div
|
|
|
|
|
animate={{
|
|
|
|
|
scale: [1, 1.15, 0.95, 1],
|
|
|
|
|
rotate: [0, 90, 180, 270, 360],
|
|
|
|
|
x: [0, 40, -30, 0],
|
|
|
|
|
y: [0, -20, 50, 0]
|
|
|
|
|
}}
|
|
|
|
|
transition={{
|
|
|
|
|
duration: 20,
|
|
|
|
|
repeat: Infinity,
|
|
|
|
|
ease: "easeInOut"
|
|
|
|
|
}}
|
|
|
|
|
className="absolute -top-[10%] left-[10%] w-[350px] sm:w-[500px] h-[350px] sm:h-[500px] bg-blue-600/15 blur-[120px] sm:blur-[160px] rounded-full"
|
|
|
|
|
/>
|
|
|
|
|
<motion.div
|
|
|
|
|
animate={{
|
|
|
|
|
scale: [1, 0.9, 1.1, 1],
|
|
|
|
|
rotate: [0, -90, -180, -270, -360],
|
|
|
|
|
x: [0, -30, 40, 0],
|
|
|
|
|
y: [0, 50, -30, 0]
|
|
|
|
|
}}
|
|
|
|
|
transition={{
|
|
|
|
|
duration: 25,
|
|
|
|
|
repeat: Infinity,
|
|
|
|
|
ease: "easeInOut"
|
|
|
|
|
}}
|
|
|
|
|
className="absolute -top-[5%] right-[15%] w-[300px] sm:w-[450px] h-[300px] sm:h-[450px] bg-purple-600/10 blur-[100px] sm:blur-[140px] rounded-full"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* Hero Section */}
|
|
|
|
|
<section className="w-full pt-16 pb-12 md:pt-28 md:pb-20 px-4 relative flex flex-col items-center">
|
|
|
|
|
@@ -110,27 +80,14 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
variants={containerVariants}
|
|
|
|
|
className="container max-w-6xl mx-auto flex flex-col items-center text-center space-y-8"
|
|
|
|
|
>
|
|
|
|
|
{/* Badge */}
|
|
|
|
|
<motion.div
|
|
|
|
|
variants={itemVariants}
|
|
|
|
|
className="inline-flex items-center gap-2 rounded-full bg-blue-500/10 border border-blue-500/20 px-4 py-1.5 text-xs sm:text-sm text-blue-400 font-semibold tracking-wide backdrop-blur-md shadow-[0_0_15px_rgba(59,130,246,0.1)]"
|
|
|
|
|
>
|
|
|
|
|
<motion.div
|
|
|
|
|
animate={{ opacity: [0.5, 1, 0.5] }}
|
|
|
|
|
transition={{ repeat: Infinity, duration: 2, ease: "easeInOut" }}
|
|
|
|
|
>
|
|
|
|
|
<Zap className="w-3.5 h-3.5 text-blue-400 fill-blue-400/20" />
|
|
|
|
|
</motion.div>
|
|
|
|
|
CASPOS Lizenz-Portal
|
|
|
|
|
</motion.div>
|
|
|
|
|
|
|
|
|
|
{/* Headline */}
|
|
|
|
|
<div className="space-y-4 max-w-4xl">
|
|
|
|
|
<motion.h1
|
|
|
|
|
variants={itemVariants}
|
|
|
|
|
className="text-4xl font-extrabold tracking-tight sm:text-5xl md:text-6xl lg:text-7xl/tight bg-clip-text text-transparent bg-gradient-to-b from-white via-slate-100 to-slate-400"
|
|
|
|
|
className="text-4xl font-extrabold tracking-tight sm:text-5xl md:text-6xl lg:text-7xl/tight text-white"
|
|
|
|
|
>
|
|
|
|
|
CASPOS Software <span className="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 via-indigo-400 to-purple-500 font-black">Lizenzen & Module</span>
|
|
|
|
|
CASPOS Software <span className="text-blue-500 font-black">Lizenzen & Module</span>
|
|
|
|
|
</motion.h1>
|
|
|
|
|
<motion.p
|
|
|
|
|
variants={itemVariants}
|
|
|
|
|
@@ -146,7 +103,7 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
className="flex flex-col sm:flex-row items-center justify-center gap-4 w-full max-w-md pt-4"
|
|
|
|
|
>
|
|
|
|
|
<Link href="/order" className="w-full sm:w-auto">
|
|
|
|
|
<Button size="lg" className="w-full sm:w-auto h-12 px-8 text-base font-bold transition-all duration-300 hover:scale-[1.02] bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-500 hover:to-indigo-500 text-white shadow-[0_0_25px_rgba(37,99,235,0.25)] hover:shadow-[0_0_35px_rgba(37,99,235,0.45)] border-none rounded-xl">
|
|
|
|
|
<Button size="lg" className="w-full sm:w-auto h-12 px-8 text-base font-semibold bg-blue-600 hover:bg-blue-500 text-white border border-blue-700/50 rounded-xl transition-all duration-200">
|
|
|
|
|
Lizenz anfragen <ArrowRight className="ml-2 h-4 w-4" />
|
|
|
|
|
</Button>
|
|
|
|
|
</Link>
|
|
|
|
|
@@ -163,19 +120,17 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
variants={itemVariants}
|
|
|
|
|
className="w-full max-w-3xl pt-12"
|
|
|
|
|
>
|
|
|
|
|
<div className="relative p-6 rounded-2xl border border-slate-900/80 bg-slate-950/40 backdrop-blur-xl shadow-2xl">
|
|
|
|
|
{/* Card border glow decoration */}
|
|
|
|
|
<div className="absolute inset-0 rounded-2xl border border-blue-500/10 pointer-events-none" />
|
|
|
|
|
<p className="text-xs font-bold uppercase tracking-widest text-slate-500 mb-5 text-left sm:text-center px-2">
|
|
|
|
|
<div className="relative p-6 rounded-2xl border border-slate-800 bg-slate-900/40 backdrop-blur-md shadow-lg">
|
|
|
|
|
<p className="text-xs font-semibold uppercase tracking-widest text-slate-500 mb-5 text-left sm:text-center px-2">
|
|
|
|
|
Mein Dashboard Schnellzugriff
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
|
|
|
<Link href="/my-customers" className="group">
|
|
|
|
|
<motion.div
|
|
|
|
|
whileHover={{ y: -4, scale: 1.01 }}
|
|
|
|
|
whileTap={{ scale: 0.99 }}
|
|
|
|
|
className="flex items-center justify-between p-4 rounded-xl border border-slate-900 bg-slate-950/60 hover:bg-slate-900/30 hover:border-blue-500/20 transition-all duration-300"
|
|
|
|
|
whileHover={{ y: -2 }}
|
|
|
|
|
whileTap={{ scale: 0.98 }}
|
|
|
|
|
className="flex items-center justify-between p-4 rounded-xl border border-slate-800 bg-slate-950 hover:bg-slate-900 hover:border-slate-700 transition-all duration-200"
|
|
|
|
|
>
|
|
|
|
|
<div className="flex items-center gap-4">
|
|
|
|
|
<div className="p-2.5 rounded-lg bg-blue-500/10 text-blue-400 group-hover:bg-blue-500/20 group-hover:text-blue-300 transition-colors">
|
|
|
|
|
@@ -192,9 +147,9 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
|
|
|
|
|
<Link href="/my-orders" className="group">
|
|
|
|
|
<motion.div
|
|
|
|
|
whileHover={{ y: -4, scale: 1.01 }}
|
|
|
|
|
whileTap={{ scale: 0.99 }}
|
|
|
|
|
className="flex items-center justify-between p-4 rounded-xl border border-slate-900 bg-slate-950/60 hover:bg-slate-900/30 hover:border-blue-500/20 transition-all duration-300"
|
|
|
|
|
whileHover={{ y: -2 }}
|
|
|
|
|
whileTap={{ scale: 0.98 }}
|
|
|
|
|
className="flex items-center justify-between p-4 rounded-xl border border-slate-800 bg-slate-950 hover:bg-slate-900 hover:border-slate-700 transition-all duration-200"
|
|
|
|
|
>
|
|
|
|
|
<div className="flex items-center gap-4">
|
|
|
|
|
<div className="p-2.5 rounded-lg bg-blue-500/10 text-blue-400 group-hover:bg-blue-500/20 group-hover:text-blue-300 transition-colors">
|
|
|
|
|
@@ -223,10 +178,7 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
<div className="absolute top-1/4 right-0 w-[400px] h-[400px] bg-indigo-600/5 blur-[120px] rounded-full -z-10 pointer-events-none" />
|
|
|
|
|
|
|
|
|
|
<div className="text-center space-y-3 mb-16">
|
|
|
|
|
<div className="inline-flex items-center gap-1.5 text-xs font-bold text-indigo-400 uppercase tracking-widest bg-indigo-500/10 border border-indigo-500/20 px-3 py-1 rounded-full">
|
|
|
|
|
<Sparkles className="w-3 h-3" />CASPOS Sites
|
|
|
|
|
</div>
|
|
|
|
|
<h2 className="text-3xl sm:text-4xl font-bold tracking-tight bg-clip-text text-transparent bg-gradient-to-r from-white via-slate-100 to-slate-400">
|
|
|
|
|
<h2 className="text-3xl sm:text-4xl font-bold tracking-tight text-white">
|
|
|
|
|
Workspace-Zentrale
|
|
|
|
|
</h2>
|
|
|
|
|
<p className="text-slate-400 max-w-[600px] mx-auto text-sm sm:text-base">
|
|
|
|
|
@@ -237,11 +189,9 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
<div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
|
|
|
|
|
{/* Card 1 */}
|
|
|
|
|
<a href="https://support.teamzone.softengine.de" target="_blank" rel="noopener noreferrer"><motion.div
|
|
|
|
|
whileHover={{ y: -6 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-900 bg-slate-950/70 hover:bg-slate-900/40 hover:border-slate-800/80 transition-all duration-300 shadow-xl overflow-hidden"
|
|
|
|
|
whileHover={{ y: -4 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-800 bg-slate-900/40 hover:bg-slate-900/80 hover:border-slate-700 transition-all duration-200 shadow-md overflow-hidden"
|
|
|
|
|
>
|
|
|
|
|
{/* Highlight line hover effect */}
|
|
|
|
|
<div className="absolute top-0 left-0 w-full h-[2px] bg-gradient-to-r from-transparent via-blue-500 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500" />
|
|
|
|
|
<div className="space-y-4 relative">
|
|
|
|
|
<div className="inline-flex p-3 bg-blue-500/10 rounded-xl text-blue-400 group-hover:bg-blue-500/20 group-hover:scale-110 transition-all duration-300">
|
|
|
|
|
<MessageSquare className="h-6 w-6" />
|
|
|
|
|
@@ -255,11 +205,9 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
|
|
|
|
|
{/* Card 2 */}
|
|
|
|
|
<a href="https://wiki.caspos.de" target="_blank" rel="noopener noreferrer"><motion.div
|
|
|
|
|
whileHover={{ y: -6 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-900 bg-slate-950/70 hover:bg-slate-900/40 hover:border-slate-800/80 transition-all duration-300 shadow-xl overflow-hidden"
|
|
|
|
|
whileHover={{ y: -4 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-800 bg-slate-900/40 hover:bg-slate-900/80 hover:border-slate-700 transition-all duration-200 shadow-md overflow-hidden"
|
|
|
|
|
>
|
|
|
|
|
{/* Highlight line hover effect */}
|
|
|
|
|
<div className="absolute top-0 left-0 w-full h-[2px] bg-gradient-to-r from-transparent via-indigo-500 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500" />
|
|
|
|
|
<div className="space-y-4 relative">
|
|
|
|
|
<div className="inline-flex p-3 bg-indigo-500/10 rounded-xl text-indigo-400 group-hover:bg-indigo-500/20 group-hover:scale-110 transition-all duration-300">
|
|
|
|
|
<BookOpen className="h-6 w-6" />
|
|
|
|
|
@@ -273,11 +221,9 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
|
|
|
|
|
{/* Card 3 */}
|
|
|
|
|
<a href="https://support.caspos.de" target="_blank" rel="noopener noreferrer"><motion.div
|
|
|
|
|
whileHover={{ y: -6 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-900 bg-slate-950/70 hover:bg-slate-900/40 hover:border-slate-800/80 transition-all duration-300 shadow-xl overflow-hidden"
|
|
|
|
|
whileHover={{ y: -4 }}
|
|
|
|
|
className="group relative flex flex-col p-6 rounded-2xl border border-slate-800 bg-slate-900/40 hover:bg-slate-900/80 hover:border-slate-700 transition-all duration-200 shadow-md overflow-hidden"
|
|
|
|
|
>
|
|
|
|
|
{/* Highlight line hover effect */}
|
|
|
|
|
<div className="absolute top-0 left-0 w-full h-[2px] bg-gradient-to-r from-transparent via-purple-500 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500" />
|
|
|
|
|
<div className="space-y-4 relative">
|
|
|
|
|
<div className="inline-flex p-3 bg-purple-500/10 rounded-xl text-purple-400 group-hover:bg-purple-500/20 group-hover:scale-110 transition-all duration-300">
|
|
|
|
|
<LifeBuoy className="h-6 w-6" />
|
|
|
|
|
@@ -296,17 +242,14 @@ export function HomeClient({ initialUser }: HomeClientProps) {
|
|
|
|
|
<section className="w-full py-16 md:py-24 border-t border-slate-900 bg-slate-950/30">
|
|
|
|
|
<div className="container max-w-5xl mx-auto px-4">
|
|
|
|
|
<div className="text-center space-y-3 mb-16">
|
|
|
|
|
<div className="inline-flex items-center gap-1.5 text-xs font-bold text-blue-400 uppercase tracking-widest bg-blue-500/10 border border-blue-500/20 px-3 py-1 rounded-full">
|
|
|
|
|
<Activity className="w-3 h-3" /> Ablauf
|
|
|
|
|
</div>
|
|
|
|
|
<h2 className="text-2xl sm:text-3xl font-bold tracking-tight text-center bg-clip-text text-transparent bg-gradient-to-r from-white via-slate-200 to-slate-400">
|
|
|
|
|
<h2 className="text-2xl sm:text-3xl font-bold tracking-tight text-center text-white">
|
|
|
|
|
Wie funktioniert die Bereitstellung?
|
|
|
|
|
</h2>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="relative">
|
|
|
|
|
{/* Connection line for Desktop */}
|
|
|
|
|
<div className="hidden md:block absolute top-[28px] left-[15%] right-[15%] h-[1px] bg-gradient-to-r from-blue-500/10 via-blue-500/30 to-blue-500/10 z-0" />
|
|
|
|
|
<div className="hidden md:block absolute top-[28px] left-[15%] right-[15%] h-[1px] border-t border-dashed border-slate-800 z-0" />
|
|
|
|
|
|
|
|
|
|
<div className="grid gap-8 md:grid-cols-3 relative z-10">
|
|
|
|
|
{/* Step 1 */}
|
|
|
|
|
|