mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 03:34:22 +01:00
wip: desktop work
This commit is contained in:
19
packages/ui/src/components/favicon.tsx
Normal file
19
packages/ui/src/components/favicon.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Link, Meta } from "@solidjs/meta"
|
||||
import favicon96 from "../assets/favicon/favicon-96x96.png"
|
||||
import faviconSvg from "../assets/favicon/favicon.svg"
|
||||
import faviconIco from "../assets/favicon/favicon.ico"
|
||||
import appleTouchIcon from "../assets/favicon/apple-touch-icon.png"
|
||||
import siteWebmanifest from "../assets/favicon/site.webmanifest"
|
||||
|
||||
export const Favicon = () => {
|
||||
return (
|
||||
<>
|
||||
<Link rel="icon" type="image/svg+xml" href={faviconSvg} />
|
||||
<Link rel="icon" type="image/png" href={favicon96} sizes="96x96" />
|
||||
<Link rel="shortcut icon" href={faviconIco} />
|
||||
<Link rel="apple-touch-icon" sizes="180x180" href={appleTouchIcon} />
|
||||
<Meta name="apple-mobile-web-app-title" content="OpenCode" />
|
||||
<Link rel="manifest" href={siteWebmanifest} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -9,6 +9,7 @@ export * from "./diff-changes"
|
||||
export * from "./icon"
|
||||
export * from "./icon-button"
|
||||
export * from "./input"
|
||||
export * from "./favicon"
|
||||
export * from "./fonts"
|
||||
export * from "./list"
|
||||
export * from "./markdown"
|
||||
|
||||
Reference in New Issue
Block a user