mehr übersetzungen, added pending purchase indicator. datenschutzfenster funktioniert.

This commit is contained in:
Codex Agent
2025-10-03 15:31:54 +02:00
parent 60f8de9162
commit c87cfb2c10
17 changed files with 410 additions and 52 deletions

View File

@@ -122,8 +122,8 @@ const Home: React.FC<Props> = ({ packages }) => {
<div key={pkg.id} className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md text-center">
<h3 className="text-2xl font-bold mb-2">{pkg.name}</h3>
<p className="text-gray-600 dark:text-gray-300 mb-4">{pkg.description}</p>
<p className="text-3xl font-bold text-[#FFB6C1]">{pkg.price} {t('home.currency.euro')}</p>
<Link href={`/packages/${pkg.id}`} className="mt-4 inline-block bg-[#FFB6C1] text-white px-6 py-2 rounded-full hover:bg-pink-600">
<p className="text-3xl font-bold text-[#FFB6C1]">{pkg.price} {t('common.currency.euro')}</p>
<Link href={`/register?package_id=${pkg.id}`} className="mt-4 inline-block bg-[#FFB6C1] text-white px-6 py-2 rounded-full hover:bg-pink-600">
{t('home.view_details')}
</Link>
</div>
@@ -144,7 +144,7 @@ const Home: React.FC<Props> = ({ packages }) => {
<form onSubmit={handleSubmit} className="space-y-4">
<div>
<label htmlFor="name" className="block text-sm font-medium mb-2">
{t('home.name_label')}
{t('home.name_label')} {t('common.required')}
</label>
<input
type="text"
@@ -157,7 +157,7 @@ const Home: React.FC<Props> = ({ packages }) => {
</div>
<div>
<label htmlFor="email" className="block text-sm font-medium mb-2">
{t('home.email_label')}
{t('home.email_label')} {t('common.required')}
</label>
<input
type="email"
@@ -170,7 +170,7 @@ const Home: React.FC<Props> = ({ packages }) => {
</div>
<div>
<label htmlFor="message" className="block text-sm font-medium mb-2">
{t('home.message_label')}
{t('home.message_label')} {t('common.required')}
</label>
<textarea
id="message"
@@ -199,15 +199,15 @@ const Home: React.FC<Props> = ({ packages }) => {
<div className="grid md:grid-cols-3 gap-8">
<div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
<p className="italic mb-4">"{t('home.testimonial1')}"</p>
<p className="font-semibold">- Anna M.</p>
<p className="font-semibold">{t('common.testimonials.anna.name')}</p>
</div>
<div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
<p className="italic mb-4">"{t('home.testimonial2')}"</p>
<p className="font-semibold">- Max S.</p>
<p className="font-semibold">{t('common.testimonials.max.name')}</p>
</div>
<div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
<p className="italic mb-4">"{t('home.testimonial3')}"</p>
<p className="font-semibold">- Lisa K.</p>
<p className="font-semibold">{t('common.testimonials.lisa.name')}</p>
</div>
</div>
</div>