Refactor index.astro to utilize internationalization utility for meta tags and adjust import paths for Services component.
This commit is contained in:
@@ -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');
|
||||
---
|
||||
|
||||
<BaseLayout
|
||||
title={pageTitle}
|
||||
|
Reference in New Issue
Block a user