diff --git a/src/components/SEO.astro b/src/components/SEO.astro index 3fd44a1..579ef81 100644 --- a/src/components/SEO.astro +++ b/src/components/SEO.astro @@ -19,6 +19,11 @@ const { const canonicalURL = Astro.props.canonicalURL || new URL(Astro.url.pathname, Astro.site || Astro.url.origin || 'https://crischarles.com').href; const socialImageURL = new URL(image, Astro.site || Astro.url.origin || 'https://crischarles.com').href; +const socialProfiles = [ + 'https://github.com/ssbg04', + 'https://crischarles.com', +]; + // JSON-LD Structured Data Schema (Person & WebSite) const schemaData = { "@context": "https://schema.org", @@ -32,7 +37,12 @@ const schemaData = { "publisher": { "@id": "https://crischarles.com/#person" }, - "inLanguage": "en-US" + "inLanguage": "en-US", + "potentialAction": { + "@type": "SearchAction", + "target": "https://crischarles.com/?q={search_term_string}", + "query-input": "required name=search_term_string" + } }, { "@type": "Person", @@ -42,6 +52,7 @@ const schemaData = { "image": socialImageURL, "jobTitle": "Full-Stack Developer & Software Engineer", "description": description, + "sameAs": socialProfiles, "knowsAbout": [ "Web Development", "React", @@ -84,6 +95,9 @@ const schemaData = { + + + {publishedTime && } @@ -94,6 +108,7 @@ const schemaData = { +