mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-11 03:02:56 -05:00
update meta theme-color config
This commit is contained in:
@@ -2,6 +2,7 @@ import Head from "next/head";
|
|||||||
import { useTheme } from "next-themes";
|
import { useTheme } from "next-themes";
|
||||||
import Header from "./page-header/Header";
|
import Header from "./page-header/Header";
|
||||||
import Footer from "./page-footer/Footer";
|
import Footer from "./page-footer/Footer";
|
||||||
|
import { themeColorLight, themeColorDark } from "../lib/config";
|
||||||
|
|
||||||
import styles from "./Layout.module.css";
|
import styles from "./Layout.module.css";
|
||||||
|
|
||||||
@@ -11,7 +12,7 @@ const Layout = ({ children }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<meta name="theme-color" content={resolvedTheme === "dark" ? "#252525" : "#fcfcfc"} />
|
<meta name="theme-color" content={resolvedTheme === "dark" ? themeColorDark : themeColorLight} />
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<Header />
|
<Header />
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ module.exports = {
|
|||||||
fathomSiteId: "WBGNQUKW",
|
fathomSiteId: "WBGNQUKW",
|
||||||
fathomCustomDomain: "https://blue-chilly.jarv.is",
|
fathomCustomDomain: "https://blue-chilly.jarv.is",
|
||||||
webmentionId: "jarv.is",
|
webmentionId: "jarv.is",
|
||||||
|
themeColorLight: "#fcfcfc",
|
||||||
|
themeColorDark: "#252525",
|
||||||
|
|
||||||
// Me info
|
// Me info
|
||||||
authorName: "Jake Jarvis",
|
authorName: "Jake Jarvis",
|
||||||
|
|||||||
Reference in New Issue
Block a user