Skip to content

Commit

Permalink
enh: new favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosalm committed Sep 30, 2024
1 parent f55c178 commit 3ea8399
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"@types/bun": "latest"
},
"dependencies": {
"@astrojs/prefetch": "^0.2.3"
"@astrojs/prefetch": "^0.2.3",
"caniuse-lite": "^1.0.30001664"
},
"module": "index.ts",
"type": "module",
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ const { title, description, blog } = Astro.props as Props;

<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />

<title>{title}</title>
<meta name="description" content={description} />
<style>
Expand Down

0 comments on commit 3ea8399

Please sign in to comment.