Commit b51054a9 authored by tom's avatar tom

force light mode (for a while)

parent 95ef3b51
import React from 'react'; import React from 'react';
import { Box, HStack } from '@chakra-ui/react'; import { Box, HStack, LightMode } from '@chakra-ui/react';
import AccountNav from '../AccountNav/AccountNav'; import AccountNav from '../AccountNav/AccountNav';
...@@ -9,6 +9,7 @@ interface Props { ...@@ -9,6 +9,7 @@ interface Props {
const Page = ({ children }: Props) => { const Page = ({ children }: Props) => {
return ( return (
<LightMode>
<HStack <HStack
w="100%" w="100%"
minH="100vh" minH="100vh"
...@@ -18,8 +19,9 @@ const Page = ({ children }: Props) => { ...@@ -18,8 +19,9 @@ const Page = ({ children }: Props) => {
alignItems="stretch" alignItems="stretch"
> >
<AccountNav/> <AccountNav/>
<Box borderRadius="10px" w="100%" overflow="hidden">{ children }</Box> <Box borderRadius="10px" w="100%" overflow="hidden" bgColor="white">{ children }</Box>
</HStack> </HStack>
</LightMode>
); );
}; };
......
...@@ -6,7 +6,7 @@ import Page from '../components/Page/Page'; ...@@ -6,7 +6,7 @@ import Page from '../components/Page/Page';
const Home: NextPage = () => { const Home: NextPage = () => {
return ( return (
<Page> <Page>
<Center h="100%" bgColor="white" color="black"> <Center h="100%">
Home Page Home Page
</Center> </Center>
</Page> </Page>
......
...@@ -6,7 +6,7 @@ import Page from '../components/Page/Page'; ...@@ -6,7 +6,7 @@ import Page from '../components/Page/Page';
const WatchList: NextPage = () => { const WatchList: NextPage = () => {
return ( return (
<Page> <Page>
<Center h="100%" bgColor="white" color="black"> <Center h="100%">
Watch List Page Watch List Page
</Center> </Center>
</Page> </Page>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment