From cdc09fc4a556580226d11d238f3770578090b540 Mon Sep 17 00:00:00 2001 From: becarta Date: Sun, 8 Jun 2025 02:59:58 +0200 Subject: [PATCH] Add Uptime link to footer and update translations - Introduced a new Uptime link in the footer for system status monitoring. - Updated translations to include the Uptime label in the footer. - Simplified page title for improved clarity and focus on IT systems and automation. --- src/components/widgets/Footer.astro | 6 ------ src/i18n/translations.ts | 2 ++ src/navigation.ts | 1 + src/pages/[lang]/index.astro | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 25c2e53..618b0c6 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -125,12 +125,6 @@ const { )) } - - Uptime - diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 57b4230..3b5ccff 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -25,6 +25,7 @@ export interface Translation { footer: { terms: string; privacyPolicy: string; + uptime: string; }; cookies: { message: string; @@ -177,6 +178,7 @@ export const translations: Record = { footer: { terms: 'Terms', privacyPolicy: 'Privacy Policy', + uptime: 'Uptime', }, hero: { title: 'Unlock Your Business Potential with Expert IT Automation', diff --git a/src/navigation.ts b/src/navigation.ts index 8391a7e..734b5f9 100644 --- a/src/navigation.ts +++ b/src/navigation.ts @@ -74,6 +74,7 @@ export const getFooterData = (lang = 'en') => { secondaryLinks: [ { text: t.footer.terms, href: getPermalink('/terms', 'page', lang) }, { text: t.footer.privacyPolicy, href: getPermalink('/privacy', 'page', lang) }, + { text: t.footer.uptime, href: getPermalink('/uptime', 'page', lang) }, ], socialLinks: [ { ariaLabel: 'LinkedIn', icon: 'tabler:brand-linkedin', href: 'https://www.linkedin.com/in/rrpbergsma' }, diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index 59dce5b..239c1ef 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -24,7 +24,7 @@ if (!supportedLanguages.includes(lang)) { const t = getTranslation(lang); const metadata = { - title: '365DevNet | IT Systems & Automation for Businesses | Richard Bergsma', + title: 'IT Systems & Automation for Businesses', description: 'IT systems & automation for businesses. Microsoft 365, Power Automate, and cloud solutions by Richard Bergsma.' }; ---