From f78fb90a55bd37d7852cf51b0b90736a35a171ed Mon Sep 17 00:00:00 2001 From: Ayris Dev Date: Wed, 15 Jul 2026 14:31:56 +0300 Subject: [PATCH] UI: Refactor all page headers to minimal text layout without hero images and fix overlapping with navbar --- app/[lang]/aktiviteler/page.tsx | 37 +++++++++------------------- app/[lang]/etkinlikler/page.tsx | 42 ++++++++++---------------------- app/[lang]/hakkimizda/page.tsx | 39 ++++++++++------------------- app/[lang]/odalar/page.tsx | 37 +++++++++------------------- app/[lang]/restoran/page.tsx | 37 +++++++++------------------- components/home/AboutSection.tsx | 2 +- 6 files changed, 63 insertions(+), 131 deletions(-) diff --git a/app/[lang]/aktiviteler/page.tsx b/app/[lang]/aktiviteler/page.tsx index b072458..c6eadb8 100644 --- a/app/[lang]/aktiviteler/page.tsx +++ b/app/[lang]/aktiviteler/page.tsx @@ -26,32 +26,19 @@ export default async function AktivitelerPage({ params }: { params: Promise<{ la const activities = await prisma.activity.findMany({ where: { lang }, orderBy: { order: "asc" } }); return ( -
- +
{/* Page Header */} -
-
- {isEn -
-
-
- - {isEn ? "Experiences" : "Deneyimler"} - -

- {isEn ? "Activities" : "Aktiviteler"} -

-

- {isEn ? "Feel the wind, be one with nature." : "Rüzgarı hisset, doğayla bir ol."} -

-
-
+
+ + {isEn ? "Experiences" : "Deneyimler"} + +

+ {isEn ? "Activities" : "Aktiviteler"} +

+

+ {isEn ? "Feel the wind, be one with nature." : "Rüzgarı hisset, doğayla bir ol."} +

+
{/* Activities */}
diff --git a/app/[lang]/etkinlikler/page.tsx b/app/[lang]/etkinlikler/page.tsx index 5f47411..24b3487 100644 --- a/app/[lang]/etkinlikler/page.tsx +++ b/app/[lang]/etkinlikler/page.tsx @@ -31,35 +31,19 @@ export default async function EventsPage({ params }: { params: Promise<{ lang: s {/* ────────────────────────────────────────── HERO ────────────────────────────────────────── */} -
-
- {isEn -
-
- -
- - - Kite Beach Akyaka - -

- {isEn ? "Events" : "Etkinlikler"} -

-

- {isEn - ? "Unforgettable experiences where music, sports, and nature intertwine." - : "Müzik, spor ve doğanın iç içe geçtiği unutulmaz deneyimler."} -

-
-
-
+
+ + Kite Beach Akyaka + +

+ {isEn ? "Events" : "Etkinlikler"} +

+

+ {isEn + ? "Unforgettable experiences where music, sports, and nature intertwine." + : "Müzik, spor ve doğanın iç içe geçtiği unutulmaz deneyimler."} +

+
{/* ────────────────────────────────────────── EVENTS LIST diff --git a/app/[lang]/hakkimizda/page.tsx b/app/[lang]/hakkimizda/page.tsx index 409a0fa..5ea3b7e 100644 --- a/app/[lang]/hakkimizda/page.tsx +++ b/app/[lang]/hakkimizda/page.tsx @@ -75,32 +75,19 @@ export default async function HakkimizdaPage({ params }: { params: Promise<{ lan const displayStats = isEn ? statsEn : statsTr; return ( -
- +
{/* Page Header */} -
-
- {isEn -
-
-
- - {isEn ? "Who We Are" : "Biz Kimiz"} - -

- {isEn ? "Our Story" : "Hikayemiz"} -

-

- {isEn ? "Where the wind, sea and river meet." : "Rüzgarın, denizin ve nehrin kesiştiği yerde."} -

-
-
+
+ + {isEn ? "Who We Are" : "Biz Kimiz"} + +

+ {isEn ? "Our Story" : "Hikayemiz"} +

+

+ {isEn ? "Where the wind, sea and river meet." : "Rüzgarın, denizin ve nehrin kesiştiği yerde."} +

+
{/* Story */}
@@ -134,7 +121,7 @@ export default async function HakkimizdaPage({ params }: { params: Promise<{ lan
Kitesurf - +
{/* Page Header */} -
-
- {isEn -
-
-
- - {isEn ? "Accommodation" : "Konaklama"} - -

- {isEn ? "Our Rooms" : "Odalarımız"} -

-

- {isEn ? "A comfortable break in the heart of nature." : "Doğanın içinde, konforlu bir mola."} -

-
-
+
+ + {isEn ? "Accommodation" : "Konaklama"} + +

+ {isEn ? "Our Rooms" : "Odalarımız"} +

+

+ {isEn ? "A comfortable break in the heart of nature." : "Doğanın içinde, konforlu bir mola."} +

+
{/* Intro & Price */}
diff --git a/app/[lang]/restoran/page.tsx b/app/[lang]/restoran/page.tsx index f347ec6..110f282 100644 --- a/app/[lang]/restoran/page.tsx +++ b/app/[lang]/restoran/page.tsx @@ -72,32 +72,19 @@ export default async function RestoranPage({ params }: { params: Promise<{ lang: const displayMenuCategories = isEn ? menuCategoriesEn : menuCategoriesTr; return ( -
- +
{/* Page Header */} -
-
- {isEn -
-
-
- - {isEn ? "Flavors" : "Lezzetler"} - -

- {isEn ? "Restaurant & Bar" : "Restoran & Bar"} -

-

- {isEn ? "Aegean flavors and river view." : "Ege lezzetleri ve nehir manzarası."} -

-
-
+
+ + {isEn ? "Flavors" : "Lezzetler"} + +

+ {isEn ? "Restaurant & Bar" : "Restoran & Bar"} +

+

+ {isEn ? "Aegean flavors and river view." : "Ege lezzetleri ve nehir manzarası."} +

+
{/* Intro */}
diff --git a/components/home/AboutSection.tsx b/components/home/AboutSection.tsx index fed8fc9..402baa1 100644 --- a/components/home/AboutSection.tsx +++ b/components/home/AboutSection.tsx @@ -30,7 +30,7 @@ export default function AboutSection({ aboutData, lang }: AboutSectionProps) {