From 71cc09db93ec9b079a30593e14ca57c98fdc94ac Mon Sep 17 00:00:00 2001 From: piotrruss Date: Sat, 21 Aug 2021 19:54:37 +0200 Subject: color themes --- components/Layout.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'components') diff --git a/components/Layout.js b/components/Layout.js index 8b6cf87..0b8348c 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -1,3 +1,4 @@ +import styles from 'styles/Main.module.scss' import React, {useState} from 'react' import Head from 'next/head' import Context from '../context'; @@ -6,18 +7,21 @@ import Popup from './Popup' import PropTypes from 'prop-types' const Layout = ({ children, apps, setApps}) => { + const [options, setOptions] = useState({theme: 'dark'}) const [popup, setPopup] = useState({}) return ( - - Notes App - -
-
{children}
-
-
- +
+ + My Apps + +
+
{children}
+
+
+ +
) } -- cgit v1.2.3