feat: update meta descriptions

This commit is contained in:
Ayo Ayco 2024-06-29 21:37:35 +02:00
parent 4259fb2002
commit 33a2baed3f

View file

@ -6,7 +6,7 @@ export interface Props {
const defaultDescription = const defaultDescription =
"Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS"; "Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS";
const defaultTitle = "Ayo Ayco | Software Engineer, Web Developer, Consultant"; const defaultTitle = "Ayo Ayco | Engineering Leader, Software Engineer, Web Developer";
let { title = defaultTitle, description = defaultDescription } = Astro.props; let { title = defaultTitle, description = defaultDescription } = Astro.props;
@ -45,7 +45,7 @@ const baseURL = "https://ayo.ayco.io";
title !== defaultTitle && ( title !== defaultTitle && (
<script> <script>
const title = document.title; const title = document.title;
const defaultTitle = "Ayo Ayco | Software Engineer, Web Developer, Consultant" const defaultTitle = "Ayo Ayco | Engineering Leader, Software Engineer, Web Developer"
if(title) { if(title) {
(document.title = `${title} | ${defaultTitle}`) (document.title = `${title} | ${defaultTitle}`)
} }