diff options
| author | Adam <[email protected]> | 2025-11-25 10:45:13 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-11-25 10:45:18 -0600 |
| commit | b4e6f128d7104c74de4f57fd1ebe6051e65b52f3 (patch) | |
| tree | bce9e3e5ef6e535e6cf48cf99cfadd1a5f52564e /packages/ui/src/components | |
| parent | 7d5e6718dc3f83974ffbf0d4f2d8f8dc85d5b484 (diff) | |
| download | opencode-b4e6f128d7104c74de4f57fd1ebe6051e65b52f3.tar.gz opencode-b4e6f128d7104c74de4f57fd1ebe6051e65b52f3.zip | |
fix: favicons across all web properties
Diffstat (limited to 'packages/ui/src/components')
| -rw-r--r-- | packages/ui/src/components/favicon.tsx | 15 | ||||
| -rw-r--r-- | packages/ui/src/components/font.tsx (renamed from packages/ui/src/components/fonts.tsx) | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/packages/ui/src/components/favicon.tsx b/packages/ui/src/components/favicon.tsx index de32ed2af..dec18f1ad 100644 --- a/packages/ui/src/components/favicon.tsx +++ b/packages/ui/src/components/favicon.tsx @@ -1,19 +1,14 @@ 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} /> + <Link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" /> + <Link rel="icon" type="image/svg+xml" href="/favicon.svg" /> + <Link rel="shortcut icon" href="/favicon.ico" /> + <Link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> + <Link rel="manifest" href="/site.webmanifest" /> <Meta name="apple-mobile-web-app-title" content="OpenCode" /> - <Link rel="manifest" href={siteWebmanifest} /> </> ) } diff --git a/packages/ui/src/components/fonts.tsx b/packages/ui/src/components/font.tsx index 0b28e8f3c..de2991096 100644 --- a/packages/ui/src/components/fonts.tsx +++ b/packages/ui/src/components/font.tsx @@ -2,7 +2,7 @@ import { Style, Link } from "@solidjs/meta" import geist from "../assets/fonts/geist.woff2" import tx02 from "../assets/fonts/tx-02.woff2" -export const Fonts = () => { +export const Font = () => { return ( <> <Style>{` |
