summaryrefslogtreecommitdiff
path: root/examples/framework-svelte
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-08-17 15:19:04 -0500
committerGravatar GitHub <noreply@github.com> 2022-08-17 15:19:04 -0500
commit41b81d0d7eab192a0999f9f4601ce27840834875 (patch)
tree685374b7841e97b523975e55b3a1e8959ec3a26f /examples/framework-svelte
parent1beb3f9747cada94db175a22e98fef0917f83e66 (diff)
downloadastro-41b81d0d7eab192a0999f9f4601ce27840834875.tar.gz
astro-41b81d0d7eab192a0999f9f4601ce27840834875.tar.zst
astro-41b81d0d7eab192a0999f9f4601ce27840834875.zip
Switch examples favicon to use svg (#4331)
* chore(examples): switch favicon to svg * chore: astro.svg => favicon.svg * Update examples/basics/README.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Diffstat (limited to 'examples/framework-svelte')
-rw-r--r--examples/framework-svelte/public/favicon.icobin4286 -> 0 bytes
-rw-r--r--examples/framework-svelte/public/favicon.svg13
-rw-r--r--examples/framework-svelte/src/pages/index.astro2
3 files changed, 14 insertions, 1 deletions
diff --git a/examples/framework-svelte/public/favicon.ico b/examples/framework-svelte/public/favicon.ico
deleted file mode 100644
index 578ad458b..000000000
--- a/examples/framework-svelte/public/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/examples/framework-svelte/public/favicon.svg b/examples/framework-svelte/public/favicon.svg
new file mode 100644
index 000000000..0f3906297
--- /dev/null
+++ b/examples/framework-svelte/public/favicon.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 36 36">
+ <path fill="#000" d="M22.25 4h-8.5a1 1 0 0 0-.96.73l-5.54 19.4a.5.5 0 0 0 .62.62l5.05-1.44a2 2 0 0 0 1.38-1.4l3.22-11.66a.5.5 0 0 1 .96 0l3.22 11.67a2 2 0 0 0 1.38 1.39l5.05 1.44a.5.5 0 0 0 .62-.62l-5.54-19.4a1 1 0 0 0-.96-.73Z"/>
+ <path fill="url(#gradient)" d="M18 28a7.63 7.63 0 0 1-5-2c-1.4 2.1-.35 4.35.6 5.55.14.17.41.07.47-.15.44-1.8 2.93-1.22 2.93.6 0 2.28.87 3.4 1.72 3.81.34.16.59-.2.49-.56-.31-1.05-.29-2.46 1.29-3.25 3-1.5 3.17-4.83 2.5-6-.67.67-2.6 2-5 2Z"/>
+ <defs>
+ <linearGradient id="gradient" x1="16" x2="16" y1="32" y2="24" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#000"/>
+ <stop offset="1" stop-color="#000" stop-opacity="0"/>
+ </linearGradient>
+ </defs>
+ <style>
+ @media (prefers-color-scheme:dark){:root{filter:invert(100%)}}
+ </style>
+</svg>
diff --git a/examples/framework-svelte/src/pages/index.astro b/examples/framework-svelte/src/pages/index.astro
index 08379ff89..3314afe49 100644
--- a/examples/framework-svelte/src/pages/index.astro
+++ b/examples/framework-svelte/src/pages/index.astro
@@ -11,7 +11,7 @@ import Counter from '../components/Counter.svelte';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
- <link rel="icon" type="image/x-icon" href="/favicon.ico" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
html,
body {
s?h=dave/assert-double-is-valid&id=67defd95afb8f19259b2bde9be10e1a76a8137b5&follow=1'>[bun install] Add `-E` as alias of `--exact` (#5104)Gravatar Jonah Snider 2-2/+57 2023-09-20feat: switch disableTelemetry to bunfig (#5690)Gravatar Lucas Coratger 3-1/+14 2023-09-20Treat `undefined` value as empty in expect.toThrow (#5788)Gravatar LongYinan 1-3/+3 2023-09-20Fix various bugs in vscode extension (#5772)Gravatar JeremyFunk 3-9/+85 2023-09-20add `emitDecoratorMetadata` (#5777)Gravatar Dylan Conway 19-110/+1884 2023-09-20fix(doc): correct `server.reload` (#5799)Gravatar Ai Hoshino 1-1/+1 2023-09-20Call `Error.prepareStackTrace` on `new Error().stack` (#5802)Gravatar Jarred Sumner 6-155/+277 2023-09-20Fixes #5800Gravatar Jarred Sumner 1-1/+1 2023-09-20Fix path used in bunx (#5785)Gravatar Jarred Sumner 2-26/+51 2023-09-20Fix RedirectURLTooLong errors (#5786)Gravatar ggobbe 1-1/+1 2023-09-19Show when a newer version is available in the install screen (#5780)Gravatar Jarred Sumner 3-14/+95 2023-09-19Fix broken linksGravatar Colin McDonnell 4-4/+4