Improve MVP UX: Add CTA links, update header buttons, replace alerts with toasts

This commit is contained in:
Timo Knuth
2025-10-14 16:45:52 +02:00
parent a9ba9fb111
commit 157e53af83
4 changed files with 28 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
'use client';
import React from 'react';
import Link from 'next/link';
import { Button } from '@/components/ui/Button';
import { Badge } from '@/components/ui/Badge';
import { Card } from '@/components/ui/Card';
@@ -50,12 +51,16 @@ export const Hero: React.FC<HeroProps> = ({ t }) => {
</div>
<div className="flex flex-col sm:flex-row gap-4">
<Button size="lg" className="text-lg px-8 py-4">
{t('hero.cta_primary')}
</Button>
<Button variant="outline" size="lg" className="text-lg px-8 py-4">
{t('hero.cta_secondary')}
</Button>
<Link href="/signup">
<Button size="lg" className="text-lg px-8 py-4 w-full sm:w-auto">
{t('hero.cta_primary')}
</Button>
</Link>
<Link href="/create">
<Button variant="outline" size="lg" className="text-lg px-8 py-4 w-full sm:w-auto">
{t('hero.cta_secondary')}
</Button>
</Link>
</div>
</div>
</div>