Implement main index page layout with components for header, hero, services, testimonials, call-to-action, and footer, along with internationalization support for meta tags.
This commit is contained in:
@@ -1 +1,27 @@
|
||||
// ... file is now empty, no redirect ...
|
||||
import BaseLayout from "./layouts/BaseLayout.astro";
|
||||
import Header from "./components/Header.astro";
|
||||
import Hero from "./components/Hero.astro";
|
||||
import Services from "./components/Services.astro";
|
||||
import Testimonials from "./components/Testimonials.astro";
|
||||
import CTA from "./components/CTA.astro";
|
||||
import Footer from "./components/Footer.astro";
|
||||
import { t } from './utils/i18n';
|
||||
|
||||
const pageTitle = t('meta.title', 'en');
|
||||
const pageDescription = t('meta.description', 'en');
|
||||
const pageKeywords = t('meta.keywords', 'en');
|
||||
|
||||
<BaseLayout
|
||||
title={pageTitle}
|
||||
description={pageDescription}
|
||||
keywords={pageKeywords}
|
||||
>
|
||||
<Header />
|
||||
<main>
|
||||
<Hero />
|
||||
<Services />
|
||||
<Testimonials />
|
||||
<CTA />
|
||||
</main>
|
||||
<Footer />
|
||||
</BaseLayout>
|
Reference in New Issue
Block a user