diff --git a/.github/workflows/lighthouserc.json b/.github/workflows/lighthouserc.json deleted file mode 100644 index 8038c2b..0000000 --- a/.github/workflows/lighthouserc.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ci": { - "collect": { - "numberOfRuns": 3 - }, - "assert": { - "preset": "lighthouse:recommended", - "assertions": { - "font-display": "off", - "dom-size": "off", - "color-contrast": "off" - } - } - } -} diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 80662d7..5acb6f3 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -4,6 +4,7 @@ import posed, { PoseGroup } from 'react-pose' import { fadeIn } from './atoms/Transitions' import Typekit from './atoms/Typekit' import HostnameCheck from './atoms/HostnameCheck' +import ThemeSwitch from './molecules/ThemeSwitch' import Header from './organisms/Header' import Footer from './organisms/Footer' import styles from './Layout.module.css' @@ -39,6 +40,7 @@ export default function Layout({ children, location }) { <> + - -
- {!hide && ( - <> - - - - - )} -
- +
+ {!hide && ( + <> + + + + + )} +
) }