summaryrefslogtreecommitdiff
path: root/examples/portfolio/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2022-01-12 12:02:36 -0500
committerGravatar GitHub <noreply@github.com> 2022-01-12 12:02:36 -0500
commit20d0cce681d5e913ca19c2466055f69541bced23 (patch)
treeef08e6785b1179f01e80a3c570bae021743143c9 /examples/portfolio/src
parentc388e6800fe5b29a0790dbd2ef4ff71597579b1d (diff)
downloadastro-20d0cce681d5e913ca19c2466055f69541bced23.tar.gz
astro-20d0cce681d5e913ca19c2466055f69541bced23.tar.zst
astro-20d0cce681d5e913ca19c2466055f69541bced23.zip
Fix for shared CSS when using the static build (#2365)
* Fix for shared CSS when using the static build * Adds a changeset
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r--examples/portfolio/src/components/MainHead.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/portfolio/src/components/MainHead.astro b/examples/portfolio/src/components/MainHead.astro
index 0597b178f..978c1d245 100644
--- a/examples/portfolio/src/components/MainHead.astro
+++ b/examples/portfolio/src/components/MainHead.astro
@@ -1,4 +1,5 @@
---
+import '../styles/global.scss';
const { title = 'Jeanine White: Personal Site', description = 'The personal site of Jeanine White' } = Astro.props;
---
@@ -8,6 +9,5 @@ const { title = 'Jeanine White: Personal Site', description = 'The personal site
<title>{title}</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
-<link rel="stylesheet" type="text/css" href={Astro.resolve('../styles/global.scss')} />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;400;700;900&display=swap" rel="stylesheet" />