From 3cddf9da60febb868289ef7033592c13e51c7348 Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Wed, 4 Jun 2025 01:34:13 +0200 Subject: [PATCH] Refactor index.astro to utilize internationalization utility for meta tags and adjust import paths for Services component. --- src/pages/index.astro | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index fdd6532c..cafc6e8a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,14 +1,17 @@ +--- 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 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 = 'Tiber365 | Professional IT Services'; -const pageDescription = 'Professional IT services for freelancers and small businesses. Microsoft 365 support, networking solutions, web hosting, and custom IT projects.'; -const pageKeywords = 'IT services, Microsoft 365, networking, web hosting, small business, freelancers, Tiber365'; +const pageTitle = t('meta.title', 'en'); +const pageDescription = t('meta.description', 'en'); +const pageKeywords = t('meta.keywords', 'en'); +---