Skip to content

Commit

Permalink
rest of meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackshelton committed Jan 2, 2025
1 parent 42f465b commit 97004fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion apps/website/src/components/router-head/router-head.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { component$ } from '@builder.io/qwik';
import { useDocumentHead, useLocation } from '@builder.io/qwik-city';
import codeCave from '../../../public/images/contributing/code-cave.webp';
import codeCave from '../../../public/images/contributing/code-cave.jpg';

/**
* The RouterHead component is placed inside of the document `<head>` element.
Expand All @@ -17,6 +17,11 @@ export const RouterHead = component$(() => {
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />

{/* Theme and color scheme */}
<meta name="color-scheme" content="dark light" />
<meta name="theme-color" content="#020617" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#f8fafc" media="(prefers-color-scheme: light)" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />

Expand Down

0 comments on commit 97004fe

Please # to comment.