From 2ce9ac11e7eefa4ef0efd8587a2ab300a4805073 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 9 May 2026 09:39:58 +0200 Subject: [PATCH] feat: upgrade UI with premium industrial aesthetics, purely visual language switch, and resilient error pages Former-commit-id: e4d801c24e64c41816f86de9767b47894abb6806 --- app/[locale]/contact/page.tsx | 12 +- app/[locale]/error.tsx | 78 ++++--- app/[locale]/kontakt/page.tsx | 1 + app/[locale]/not-found.tsx | 84 +++---- components/ContactForm.tsx | 1 + components/blocks/HeroVideo.tsx | 15 +- components/blocks/JobListingBlock.tsx | 120 ++++++++-- components/layout/Footer.tsx | 209 ++++++++++-------- components/layout/LanguageSwitcher.tsx | 49 ++-- .../providers/PageTransitionShutter.tsx | 90 +++++++- components/providers/TransitionProvider.tsx | 11 +- components/ui/TransitionLink.tsx | 5 +- messages/de.json | 1 + messages/en.json | 1 + next.config.mjs | 8 - 15 files changed, 453 insertions(+), 232 deletions(-) create mode 100644 app/[locale]/kontakt/page.tsx diff --git a/app/[locale]/contact/page.tsx b/app/[locale]/contact/page.tsx index 5bea24558..ef8942157 100644 --- a/app/[locale]/contact/page.tsx +++ b/app/[locale]/contact/page.tsx @@ -106,15 +106,15 @@ export default async function ContactPage({ params }: ContactPageProps) { url: SITE_URL, address: { '@type': 'PostalAddress', - streetAddress: 'Raiffeisenstraße 22', - addressLocality: 'Remshalden', - postalCode: '73630', + streetAddress: 'Gewerbestraße 22', + addressLocality: 'Guben', + postalCode: '03172', addressCountry: 'DE', }, geo: { '@type': 'GeoCoordinates', - latitude: 48.8144, - longitude: 9.4144, + latitude: 51.94276, + longitude: 14.71764, }, openingHoursSpecification: [ { @@ -257,7 +257,7 @@ export default async function ContactPage({ params }: ContactPageProps) { } > - + diff --git a/app/[locale]/error.tsx b/app/[locale]/error.tsx index 9d1d5e8b4..c147013de 100644 --- a/app/[locale]/error.tsx +++ b/app/[locale]/error.tsx @@ -39,37 +39,55 @@ export default function Error({ return ( <> - - {/* Industrial Background Element */} -
- 500 +
+ {/* Deep Tech Grid Background */} +
+ + {/* Glowing Orb */} +
+ +
+
+ {/* Inner Shimmer */} +
+ +
+

+ 500 +

+
+
+
+ +
+ + SYSTEM PROTOCOL: CRITICAL ERROR +
+ + + {t('title')} + + +

+ {t('description')} +

+ +
+ + +
+
+ + {/* Decorative Base Line */} +
+
+
+
- -
- - 500 - - -
- - - {t('title')} - - -

{t('description')}

- -
- - -
- - {/* Decorative Industrial Line */} -
- ); } diff --git a/app/[locale]/kontakt/page.tsx b/app/[locale]/kontakt/page.tsx new file mode 100644 index 000000000..49e416b60 --- /dev/null +++ b/app/[locale]/kontakt/page.tsx @@ -0,0 +1 @@ +export { default, generateMetadata } from '../contact/page'; diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsx index 7c73688b0..0d7db3b0d 100644 --- a/app/[locale]/not-found.tsx +++ b/app/[locale]/not-found.tsx @@ -15,56 +15,56 @@ export default async function NotFound() { <>