change components

This commit is contained in:
Jimmy-Gan
2025-04-19 18:37:46 +08:00
parent 99759dc3ea
commit a5bcfc4c33
3 changed files with 2 additions and 16 deletions
-14
View File
@@ -31,17 +31,3 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<title>{title}</title>
<meta name="title" content={title} />
<meta name="description" content={description} />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content={Astro.url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={new URL(image, Astro.url)} />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={Astro.url} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
+1 -1
View File
@@ -6,7 +6,7 @@ const today = new Date();
&copy; {today.getFullYear()} Jimmy Gan. All rights reserved.
<div class="social-links">
<a href="https://github.com/jimmy-gan/me" target="_blank">
<span class="sr-only">Go to Astro's GitHub repo</span>
<span class="sr-only">Go to Jimmy's GitHub repo</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github"
><path
fill="currentColor"
+1 -1
View File
@@ -13,7 +13,7 @@ import { SITE_TITLE } from '../consts';
</div>
<div class="social-links">
<a href="https://github.com/jimmy-gan/me" target="_blank">
<span class="sr-only">Go to Astro's GitHub repo</span>
<span class="sr-only">Go to Jimmy's GitHub repo</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32"
><path
fill="currentColor"