Skip to content

Commit 7758fc5

Browse files
jongioCopilot
andcommitted
feat: add social media OG images and consistent titles
- Add og-image.png (1200x630) for LinkedIn/Twitter social previews - Update to azd-web-core v2.1.0 (Twitter Card meta tags) - Standardize page titles across all azd extension sites Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6268f1d commit 7758fc5

File tree

5 files changed

+71
-7
lines changed

5 files changed

+71
-7
lines changed

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@astrojs/mdx": "^4.3.13",
16-
"@jongio/azd-web-core": "^2.0.0",
16+
"@jongio/azd-web-core": "^2.1.0",
1717
"@tailwindcss/vite": "^4.1.18",
1818
"astro": "^5.17.1",
1919
"tailwindcss": "^4.1.18"

web/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/public/og-image.png

59.6 KB
Loading

web/public/og-image.svg

Lines changed: 63 additions & 0 deletions
Loading

web/src/components/Layout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface Props {
1313
1414
const { title, description = 'GitHub Copilot integration for Azure Developer CLI', variant = 'landing' } = Astro.props;
1515
16-
const fullTitle = title === 'Home' ? 'Azure Copilot CLI' : `${title} | Azure Copilot CLI`;
16+
const fullTitle = title === 'Home' ? 'azd copilot | AI-Powered Azure Development' : `${title} | azd copilot`;
1717
1818
const navLinks = [
1919
{ label: 'Getting Started', href: '/azd-copilot/getting-started/' },
@@ -26,6 +26,7 @@ const navLinks = [
2626
title={fullTitle}
2727
description={description}
2828
extensionName="copilot"
29+
ogImage="https://jongio.github.io/azd-copilot/og-image.png"
2930
>
3031
<Fragment slot="head">
3132
<link rel="icon" type="image/svg+xml" href="/azd-copilot/favicon.svg" />

0 commit comments

Comments
 (0)