fix(web): favicon rename again
@@ -4,10 +4,10 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>OpenCode</title>
|
<title>OpenCode</title>
|
||||||
<link rel="icon" type="image/png" href="/favicon-96x96-v2.png" sizes="96x96" />
|
<link rel="icon" type="image/png" href="/favicon-96x96-v3.png" sizes="96x96" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon-v2.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
|
||||||
<link rel="shortcut icon" href="/favicon-v2.ico" />
|
<link rel="shortcut icon" href="/favicon-v3.ico" />
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v2.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v3.png" />
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
<meta name="theme-color" content="#F8F7F7" />
|
<meta name="theme-color" content="#F8F7F7" />
|
||||||
<meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
|
<meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const platform: Platform = {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
const notification = new Notification(title, {
|
const notification = new Notification(title, {
|
||||||
body: description ?? "",
|
body: description ?? "",
|
||||||
icon: "https://opencode.ai/favicon-96x96-v2.png",
|
icon: "https://opencode.ai/favicon-96x96-v3.png",
|
||||||
})
|
})
|
||||||
notification.onclick = () => {
|
notification.onclick = () => {
|
||||||
window.focus()
|
window.focus()
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export const subjects = createSubjects({
|
|||||||
|
|
||||||
const MY_THEME: Theme = {
|
const MY_THEME: Theme = {
|
||||||
...THEME_OPENAUTH,
|
...THEME_OPENAUTH,
|
||||||
logo: "https://opencode.ai/favicon-v2.svg",
|
logo: "https://opencode.ai/favicon-v3.svg",
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>OpenCode</title>
|
<title>OpenCode</title>
|
||||||
<link rel="icon" type="image/png" href="/favicon-96x96-v2.png" sizes="96x96" />
|
<link rel="icon" type="image/png" href="/favicon-96x96-v3.png" sizes="96x96" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon-v2.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
|
||||||
<link rel="shortcut icon" href="/favicon-v2.ico" />
|
<link rel="shortcut icon" href="/favicon-v3.ico" />
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v2.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v3.png" />
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
<meta name="theme-color" content="#F8F7F7" />
|
<meta name="theme-color" content="#F8F7F7" />
|
||||||
<meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
|
<meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ const createPlatform = (password: Accessor<string | null>): Platform => ({
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
const notification = new Notification(title, {
|
const notification = new Notification(title, {
|
||||||
body: description ?? "",
|
body: description ?? "",
|
||||||
icon: "https://opencode.ai/favicon-96x96-v2.png",
|
icon: "https://opencode.ai/favicon-96x96-v3.png",
|
||||||
})
|
})
|
||||||
notification.onclick = () => {
|
notification.onclick = () => {
|
||||||
const win = getCurrentWindow()
|
const win = getCurrentWindow()
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"light": "#07C983",
|
"light": "#07C983",
|
||||||
"dark": "#15803D"
|
"dark": "#15803D"
|
||||||
},
|
},
|
||||||
"favicon": "/favicon-v2.svg",
|
"favicon": "/favicon-v3.svg",
|
||||||
"navigation": {
|
"navigation": {
|
||||||
"tabs": [
|
"tabs": [
|
||||||
{
|
{
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 612 B |
@@ -3,9 +3,9 @@ import { Link, Meta } from "@solidjs/meta"
|
|||||||
export const Favicon = () => {
|
export const Favicon = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Link rel="icon" type="image/png" href="/favicon-96x96-v2.png" sizes="96x96" />
|
<Link rel="icon" type="image/png" href="/favicon-96x96-v3.png" sizes="96x96" />
|
||||||
<Link rel="shortcut icon" href="/favicon-v2.ico" />
|
<Link rel="shortcut icon" href="/favicon-v3.ico" />
|
||||||
<Link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v2.png" />
|
<Link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v3.png" />
|
||||||
<Link rel="manifest" href="/site.webmanifest" />
|
<Link rel="manifest" href="/site.webmanifest" />
|
||||||
<Meta name="apple-mobile-web-app-title" content="OpenCode" />
|
<Meta name="apple-mobile-web-app-title" content="OpenCode" />
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -32,13 +32,13 @@ export default defineConfig({
|
|||||||
solidJs(),
|
solidJs(),
|
||||||
starlight({
|
starlight({
|
||||||
title: "OpenCode",
|
title: "OpenCode",
|
||||||
favicon: "/favicon-v2.svg",
|
favicon: "/favicon-v3.svg",
|
||||||
head: [
|
head: [
|
||||||
{
|
{
|
||||||
tag: "link",
|
tag: "link",
|
||||||
attrs: {
|
attrs: {
|
||||||
rel: "icon",
|
rel: "icon",
|
||||||
href: "/favicon-v2.ico",
|
href: "/favicon-v3.ico",
|
||||||
sizes: "32x32",
|
sizes: "32x32",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -47,7 +47,7 @@ export default defineConfig({
|
|||||||
attrs: {
|
attrs: {
|
||||||
rel: "icon",
|
rel: "icon",
|
||||||
type: "image/png",
|
type: "image/png",
|
||||||
href: "/favicon-96x96-v2.png",
|
href: "/favicon-96x96-v3.png",
|
||||||
sizes: "96x96",
|
sizes: "96x96",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -55,7 +55,7 @@ export default defineConfig({
|
|||||||
tag: "link",
|
tag: "link",
|
||||||
attrs: {
|
attrs: {
|
||||||
rel: "apple-touch-icon",
|
rel: "apple-touch-icon",
|
||||||
href: "/apple-touch-icon-v2.png",
|
href: "/apple-touch-icon-v3.png",
|
||||||
sizes: "180x180",
|
sizes: "180x180",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||