summaryrefslogtreecommitdiff
path: root/examples/blog-multiple-authors/src/components/MainHead.astro
diff options
context:
space:
mode:
authorGravatar Tony Sullivan <tony.f.sullivan@outlook.com> 2022-03-09 21:52:31 +0000
committerGravatar GitHub <noreply@github.com> 2022-03-09 13:52:31 -0800
commit4b53a53c1b7df094b5bd194955ff1c4cf7cc809f (patch)
tree250c7cda1161b9874ace9bcc999f1cf97c0b7740 /examples/blog-multiple-authors/src/components/MainHead.astro
parent43a5c06a9379fbe5f8f66e8fc9bf6879ad9b1dbf (diff)
downloadastro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.gz
astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.tar.zst
astro-4b53a53c1b7df094b5bd194955ff1c4cf7cc809f.zip
Update examples for 0.24.0 (#2740)
* removing Astro.resolve, adding sass dev dependencies * updating tailwind example to use ESM style imports * moving from `<style global>@import` to ESM imports * updating lockfile to pick up examples sass deps * chore(lint): ESLint fix Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/blog-multiple-authors/src/components/MainHead.astro')
-rw-r--r--examples/blog-multiple-authors/src/components/MainHead.astro5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/blog-multiple-authors/src/components/MainHead.astro b/examples/blog-multiple-authors/src/components/MainHead.astro
index 81fad3672..ca129df8d 100644
--- a/examples/blog-multiple-authors/src/components/MainHead.astro
+++ b/examples/blog-multiple-authors/src/components/MainHead.astro
@@ -1,4 +1,6 @@
---
+import '../styles/global.css';
+
export interface Props {
title: string;
description: string;
@@ -18,9 +20,6 @@ const { title, description, image, type, next, prev, canonicalURL } = Astro.prop
<meta name="description" content={description} />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet" />
-<style global>
- @import "../styles/global.css";
-</style>
<!-- Sitemap -->
<link rel="sitemap" href="/sitemap.xml" />
<!-- RSS -->