Skip to content

Commit

Permalink
cleanup example favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Aug 16, 2021
1 parent b03f1f7 commit 5e0e276
Show file tree
Hide file tree
Showing 36 changed files with 21 additions and 210 deletions.
Binary file added docs/public/favicon.ico
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/src/components/HeadCommon.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- Global Metadata -->
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="sitemap" href="/sitemap.xml"/>

<!-- Global CSS -->
Expand Down
11 changes: 0 additions & 11 deletions examples/blog-multiple-authors/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/blog-multiple-authors/src/components/MainHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ const { title, description, image, type, next, prev, canonicalURL } = Astro.prop
<link rel="alternate" type="application/rss+xml" href="/feed/posts.xml">

<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<!-- SEO -->
<link rel="canonical" href={canonicalURL}>
Expand Down
11 changes: 0 additions & 11 deletions examples/blog/public/favicon.svg

This file was deleted.

4 changes: 2 additions & 2 deletions examples/blog/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export interface Props {
const { title, description, permalink } = Astro.props;
---

<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />

<!-- Primary Meta Tags -->
<title>{title}</title>
Expand Down
11 changes: 0 additions & 11 deletions examples/docs/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/docs/src/layouts/Main.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ const githubEditUrl = `https://github.com/USER/REPO/blob/main/${currentFile}`
<link rel="stylesheet" href="/index.css" />
<script src="/theme.js" />

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
body {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-lit/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-lit/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import '../components/Counter.js';
<!doctype html>
<html lang="en">
<head>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<title>Demo</title>
</head>
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-multiple/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-multiple/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import SvelteCounter from '../components/SvelteCounter.svelte';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-preact/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-preact/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import Counter from '../components/Counter.jsx'
content="width=device-width"
/>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-react/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-react/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ const someProps = {
content="width=device-width"
/>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-solid/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-solid/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import Counter from '../components/Counter.tsx';
content="width=device-width"
/>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-svelte/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-svelte/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import Counter from '../components/Counter.svelte'
content="width=device-width"
/>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/framework-vue/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/framework-vue/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import Counter from '../components/Counter.vue'
content="width=device-width"
/>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<style>
:global(:root) {
Expand Down
11 changes: 0 additions & 11 deletions examples/portfolio/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/portfolio/src/components/MainHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ const { title = 'Jeanine White: Personal Site' } = Astro.props;
<meta charset="UTF-8">
<title>{title}</title>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link rel="stylesheet" type="text/css" href="/global.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
Expand Down
11 changes: 0 additions & 11 deletions examples/starter/public/favicon.svg

This file was deleted.

3 changes: 1 addition & 2 deletions examples/starter/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ let title = 'My Astro Site';
<meta name="viewport" content="width=device-width">
<title>{title}</title>

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link rel="stylesheet" href="/style/global.css">
<link rel="stylesheet" href="/style/home.css">
Expand Down
Loading

0 comments on commit 5e0e276

Please sign in to comment.