fix(web): rename favicons to v2 for cache busting (#9492)
This commit is contained in:
BIN
packages/ui/src/assets/favicon/apple-touch-icon-v2.png
Normal file
BIN
packages/ui/src/assets/favicon/apple-touch-icon-v2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
packages/ui/src/assets/favicon/favicon-96x96-v2.png
Normal file
BIN
packages/ui/src/assets/favicon/favicon-96x96-v2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 536 B |
BIN
packages/ui/src/assets/favicon/favicon-v2.ico
Normal file
BIN
packages/ui/src/assets/favicon/favicon-v2.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
7
packages/ui/src/assets/favicon/favicon-v2.svg
Normal file
7
packages/ui/src/assets/favicon/favicon-v2.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512"><svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="512" height="512" fill="#131010"></rect>
|
||||
<path d="M320 224V352H192V224H320Z" fill="#5A5858"></path>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M384 416H128V96H384V416ZM320 160H192V352H320V160Z" fill="white"></path>
|
||||
</svg><style>@media (prefers-color-scheme: light) { :root { filter: none; } }
|
||||
@media (prefers-color-scheme: dark) { :root { filter: none; } }
|
||||
</style></svg>
|
||||
|
After Width: | Height: | Size: 612 B |
@@ -3,9 +3,9 @@ import { Link, Meta } from "@solidjs/meta"
|
||||
export const Favicon = () => {
|
||||
return (
|
||||
<>
|
||||
<Link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
|
||||
<Link rel="shortcut icon" href="/favicon.ico" />
|
||||
<Link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<Link rel="icon" type="image/png" href="/favicon-96x96-v2.png" sizes="96x96" />
|
||||
<Link rel="shortcut icon" href="/favicon-v2.ico" />
|
||||
<Link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v2.png" />
|
||||
<Link rel="manifest" href="/site.webmanifest" />
|
||||
<Meta name="apple-mobile-web-app-title" content="OpenCode" />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user