diff --git a/PROGRESS.md b/PROGRESS.md index 1b96c0a..6ba0924 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -64,3 +64,4 @@ - Added About and Pricing pages (FI/EN), moved highlights/runtime config to About, and linked footer navigation. - Availability calendars: listings can store iCal URLs, merged into a combined availability calendar on detail pages; availability filtering added to search along with amenity filters; new migration `20251127_calendar_urls`. - Browse amenity filters now show the same icons as listing detail; image `registry.halla-aho.net/thalla/lomavuokraus-web:e95d9e0` built/pushed and rolled out to staging. +- Home hero cleaned up (removed sample/browse CTAs), hero FI text updated, and health check link moved to About page runtime section. diff --git a/app/about/page.tsx b/app/about/page.tsx index 613e4dd..6435973 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -52,6 +52,11 @@ export default function AboutPage() { Version {appVersion} +
+ + {t('ctaHealth')} + +
); diff --git a/app/page.tsx b/app/page.tsx index 3f00ce0..1d3147b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,9 +1,8 @@ 'use client'; -import Link from 'next/link'; -import { SAMPLE_LISTING_SLUG } from '../lib/sampleListing'; -import { useI18n } from './components/I18nProvider'; import { useEffect, useMemo, useState } from 'react'; +import Link from 'next/link'; +import { useI18n } from './components/I18nProvider'; type LatestListing = { id: string; @@ -59,17 +58,6 @@ export default function HomePage() { {t('heroEyebrow')}

{t('heroTitle')}

{t('heroBody')}

-
- - {t('ctaViewSample')} - - - {t('ctaBrowse')} - - - {t('ctaHealth')} - -
diff --git a/lib/i18n.ts b/lib/i18n.ts index 00286a0..ccd1029 100644 --- a/lib/i18n.ts +++ b/lib/i18n.ts @@ -263,7 +263,7 @@ const allMessages = { approvalsBadge: '{count}', heroEyebrow: 'lomavuokraus.fi', heroTitle: 'Löydä seuraava mökkilomasi', - heroBody: 'Nopea, moderni vuokramökkipalvelu. Rakennettu Next.js App Routerilla ja valmiina Kubernetes-ympäristöön.', + heroBody: 'Selaa suomalaisten mökkien, huoneistojen ja villojen ilmoituksia suoraan omistajilta. Jokainen ilmoitus tarkistetaan ennen julkaisua, ja otat vuokranantajaan yhteyttä suoraan — yksinkertaista ja läpinäkyvää.', ctaViewSample: 'Katso esimerkkikohde', ctaHealth: 'Tarkista health-päätepiste', ctaBrowse: 'Selaa kohteita',