der tenant admin hat eine neue, mobil unterstützende UI, login redirect funktioniert, typescript fehler wurden bereinigt. Neue Blog Posts von ChatGPT eingebaut, übersetzt von Gemini 2.5
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { LucideIcon } from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { FrostedSurface } from '../../components/tenant';
|
||||
|
||||
interface ActionProps {
|
||||
label: string;
|
||||
@@ -29,28 +30,32 @@ export function WelcomeHero({
|
||||
className,
|
||||
}: WelcomeHeroProps) {
|
||||
return (
|
||||
<section
|
||||
<FrostedSurface
|
||||
className={cn(
|
||||
'rounded-3xl border border-brand-rose-soft bg-brand-card p-8 shadow-brand-primary backdrop-blur-xl',
|
||||
'relative overflow-hidden rounded-3xl border border-white/15 p-8 text-slate-900 shadow-2xl shadow-rose-300/20 backdrop-blur-2xl transition-colors duration-200 dark:text-slate-100 md:p-12',
|
||||
className
|
||||
)}
|
||||
>
|
||||
<div className="space-y-4 text-center md:space-y-6">
|
||||
<div
|
||||
aria-hidden
|
||||
className="pointer-events-none absolute inset-x-0 top-[-30%] h-[220px] bg-[radial-gradient(circle,_rgba(255,137,170,0.35),_transparent_60%)]"
|
||||
/>
|
||||
<div className="relative space-y-4 text-center md:space-y-6">
|
||||
{eyebrow && (
|
||||
<p className="text-xs uppercase tracking-[0.35em] text-brand-rose md:text-sm">
|
||||
<p className="text-xs uppercase tracking-[0.35em] text-rose-300 dark:text-rose-200 md:text-sm">
|
||||
{eyebrow}
|
||||
</p>
|
||||
)}
|
||||
<h2 className="font-display text-3xl font-semibold tracking-tight text-brand-slate md:text-4xl">
|
||||
<h2 className="font-display text-3xl font-semibold tracking-tight text-slate-900 dark:text-slate-100 md:text-4xl">
|
||||
{title}
|
||||
</h2>
|
||||
{scriptTitle && (
|
||||
<p className="font-script text-2xl text-brand-rose md:text-3xl">
|
||||
<p className="font-script text-2xl text-rose-300 md:text-3xl">
|
||||
{scriptTitle}
|
||||
</p>
|
||||
)}
|
||||
{description && (
|
||||
<p className="mx-auto max-w-2xl text-base font-sans-marketing text-brand-navy/80 md:text-lg">
|
||||
<p className="mx-auto max-w-2xl text-base text-slate-600 dark:text-slate-300 md:text-lg">
|
||||
{description}
|
||||
</p>
|
||||
)}
|
||||
@@ -62,10 +67,10 @@ export function WelcomeHero({
|
||||
size="lg"
|
||||
variant={variant === 'outline' ? 'outline' : 'default'}
|
||||
className={cn(
|
||||
'min-w-[220px] rounded-full px-6',
|
||||
'min-w-[220px] rounded-full px-6 transition-colors',
|
||||
variant === 'outline'
|
||||
? 'border-brand-rose-soft text-brand-rose hover:bg-brand-rose-soft/40'
|
||||
: 'bg-brand-rose text-white shadow-md shadow-rose-400/40 hover:bg-[var(--brand-rose-strong)]'
|
||||
? 'border-white/60 bg-white/20 text-slate-900 hover:bg-white/40 dark:border-slate-700 dark:bg-slate-900/40 dark:text-slate-100'
|
||||
: 'bg-gradient-to-r from-[#ff5f87] via-[#ec4899] to-[#6366f1] text-white shadow-lg shadow-rose-300/30 hover:from-[#ff4470] hover:via-[#ec4899] hover:to-[#4f46e5]'
|
||||
)}
|
||||
onClick={onClick}
|
||||
{...(href ? { asChild: true } : {})}
|
||||
@@ -86,7 +91,7 @@ export function WelcomeHero({
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
</FrostedSurface>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user