diff options
author | 2023-07-25 09:51:38 -0500 | |
---|---|---|
committer | 2023-07-25 09:51:38 -0500 | |
commit | 8e14621659e86b4970f2486f13d8c7384f5ff9d9 (patch) | |
tree | 26d90d70f01961367bfea9b93c632f73208464e8 /examples/blog/src/components/BaseHead.astro | |
parent | 0c1a26adc8ec9d6009dc9062cbe5165f88203d5f (diff) | |
download | astro-8e14621659e86b4970f2486f13d8c7384f5ff9d9.tar.gz astro-8e14621659e86b4970f2486f13d8c7384f5ff9d9.tar.zst astro-8e14621659e86b4970f2486f13d8c7384f5ff9d9.zip |
Blog theme styling updates (#7768)
* whole lotta updates and including some new fonts
* update placeholders
* fix mobile first child
* remove experimental stuff
* adding accessible text to header icon links
* preloading font files
* i did dum things
---------
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Diffstat (limited to 'examples/blog/src/components/BaseHead.astro')
-rw-r--r-- | examples/blog/src/components/BaseHead.astro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/blog/src/components/BaseHead.astro b/examples/blog/src/components/BaseHead.astro index e11d11149..344124012 100644 --- a/examples/blog/src/components/BaseHead.astro +++ b/examples/blog/src/components/BaseHead.astro @@ -11,7 +11,7 @@ interface Props { const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description, image = '/placeholder-social.jpg' } = Astro.props; +const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props; --- <!-- Global Metadata --> @@ -20,6 +20,10 @@ const { title, description, image = '/placeholder-social.jpg' } = Astro.props; <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <meta name="generator" content={Astro.generator} /> +<!-- Font preloads --> +<link rel="preload" href="/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin /> +<link rel="preload" href="/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin /> + <!-- Canonical URL --> <link rel="canonical" href={canonicalURL} /> |