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,17 +9,19 @@ interface Props { ...@@ -9,17 +9,19 @@ interface Props {
const Page = ({ children }: Props) => { const Page = ({ children }: Props) => {
return ( return (
<HStack <LightMode>
w="100%" <HStack
minH="100vh" w="100%"
padding="140px 48px 48px 48px" minH="100vh"
bgColor="gray.200" padding="140px 48px 48px 48px"
spacing="12" bgColor="gray.200"
alignItems="stretch" spacing="12"
> alignItems="stretch"
<AccountNav/> >
<Box borderRadius="10px" w="100%" overflow="hidden">{ children }</Box> <AccountNav/>
</HStack> <Box borderRadius="10px" w="100%" overflow="hidden" bgColor="white">{ children }</Box>
</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