Compare commits

...

2 Commits

Author SHA1 Message Date
2ba67af68a fix: add /de/kontakt rewrite, fix CTA button overflow & use translated contact slug
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🧪 QA (push) Successful in 2m24s
Build & Deploy / 🏗️ Build (push) Successful in 5m57s
Build & Deploy / 🚀 Deploy (push) Successful in 36s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 1m40s
Build & Deploy / ⚡ Performance & Accessibility (push) Failing after 4m46s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-02-25 01:30:22 +01:00
b0f088a1dc fix: replace --info=progress2 with --progress for macOS rsync compat
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 12s
Build & Deploy / 🧪 QA (push) Successful in 1m46s
Build & Deploy / 🏗️ Build (push) Successful in 3m53s
Build & Deploy / 🚀 Deploy (push) Successful in 19s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 1m17s
Build & Deploy / ⚡ Performance & Accessibility (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-02-25 01:21:57 +01:00
3 changed files with 8 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ export default async function ProductsPage({ params }: ProductsPageProps) {
const solarSlug = await mapFileSlugToTranslated('solar-cables', locale);
const productsSlug = await mapFileSlugToTranslated('products', locale);
const contactSlug = await mapFileSlugToTranslated('contact', locale);
const categories = [
{
@@ -230,10 +231,10 @@ export default async function ProductsPage({ params }: ProductsPageProps) {
</p>
</div>
<Button
href={`/${locale}/contact`}
href={`/${locale}/${contactSlug}`}
variant="accent"
size="lg"
className="group whitespace-nowrap w-full md:w-auto md:h-16 md:px-10 md:text-xl"
className="group whitespace-nowrap w-full md:w-auto md:h-16 px-6 md:px-10 text-sm md:text-xl"
>
{t('cta.button')}
<span className="ml-2 md:ml-4 transition-transform group-hover:translate-x-2">

View File

@@ -424,6 +424,10 @@ const nextConfig = {
source: '/de/produkte/:path*',
destination: '/de/products/:path*',
},
{
source: '/de/kontakt',
destination: '/de/contact',
},
];
},
};

View File

@@ -163,7 +163,7 @@ do_push() {
# 5. Sync media
echo "🖼️ Syncing media files..."
rsync -az --delete --info=progress2 "$LOCAL_MEDIA_DIR/" "$SSH_HOST:$REMOTE_MEDIA_VOLUME/"
rsync -az --delete --progress "$LOCAL_MEDIA_DIR/" "$SSH_HOST:$REMOTE_MEDIA_VOLUME/"
# 6. Restart app
echo "🔄 Restarting $TARGET app container..."