diff options
author | 2021-11-24 11:10:12 -0800 | |
---|---|---|
committer | 2021-11-24 11:10:12 -0800 | |
commit | 8d934059f8d56d3d304cb9575c907654bf03b3ea (patch) | |
tree | 35654e8f6907dc1f39b5bf62afdb1647da59ef38 /examples/with-nanostores | |
parent | ec2e5c9922560667a4f9959ab7c3c9ab5c3dacfe (diff) | |
download | astro-8d934059f8d56d3d304cb9575c907654bf03b3ea.tar.gz astro-8d934059f8d56d3d304cb9575c907654bf03b3ea.tar.zst astro-8d934059f8d56d3d304cb9575c907654bf03b3ea.zip |
move styles to src (#2003)
Diffstat (limited to 'examples/with-nanostores')
-rw-r--r-- | examples/with-nanostores/src/pages/index.astro | 4 | ||||
-rw-r--r-- | examples/with-nanostores/src/styles/global.css (renamed from examples/with-nanostores/public/style/global.css) | 0 | ||||
-rw-r--r-- | examples/with-nanostores/src/styles/home.css (renamed from examples/with-nanostores/public/style/home.css) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/examples/with-nanostores/src/pages/index.astro b/examples/with-nanostores/src/pages/index.astro index 9ec93816d..264aa4389 100644 --- a/examples/with-nanostores/src/pages/index.astro +++ b/examples/with-nanostores/src/pages/index.astro @@ -16,8 +16,8 @@ import AdminsPreact from '../components/AdminsPreact.jsx'; <link rel="icon" type="image/x-icon" href="/favicon.ico" /> - <link rel="stylesheet" href="/style/global.css"> - <link rel="stylesheet" href="/style/home.css"> + <link rel="stylesheet" href={Astro.resolve('../styles/global.css')}> + <link rel="stylesheet" href={Astro.resolve('../styles/home.css')}> <style> header { diff --git a/examples/with-nanostores/public/style/global.css b/examples/with-nanostores/src/styles/global.css index e1a3a6bd1..e1a3a6bd1 100644 --- a/examples/with-nanostores/public/style/global.css +++ b/examples/with-nanostores/src/styles/global.css diff --git a/examples/with-nanostores/public/style/home.css b/examples/with-nanostores/src/styles/home.css index 280398c17..280398c17 100644 --- a/examples/with-nanostores/public/style/home.css +++ b/examples/with-nanostores/src/styles/home.css |