mirror of
https://github.com/emuplace/folium.emuplace.app.git
synced 2024-11-25 03:43:30 +01:00
Added remaining automatic light and dark mode
This commit is contained in:
parent
483952c1b4
commit
9b1f24fc18
@ -122,8 +122,10 @@ export default function NewHome() {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const date = new Date();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MantineProvider theme={theme}>
|
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? "light" : "dark"}>
|
||||||
<Flex align={'center'} justify={'center'} h={'100vh'} px={'md'} w={'100vw'}>
|
<Flex align={'center'} justify={'center'} h={'100vh'} px={'md'} w={'100vw'}>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Anchor href='https://twitter.com/antique_codes' ta={'center'} target='_blank'>
|
<Anchor href='https://twitter.com/antique_codes' ta={'center'} target='_blank'>
|
||||||
|
@ -1,24 +1,29 @@
|
|||||||
import { Container, Space, Text, Title } from "@mantine/core";
|
import { Container, MantineProvider, Space, Text, Title } from "@mantine/core";
|
||||||
import classes from './PrivacyPolicyMarkdown.module.css';
|
import classes from './PrivacyPolicyMarkdown.module.css';
|
||||||
|
import { theme } from "../../theme";
|
||||||
|
|
||||||
export function PrivacyPolicyMarkdown() {
|
export function PrivacyPolicyMarkdown() {
|
||||||
|
const date = new Date();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container className={classes.wrapper}>
|
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? "light" : "dark"}>
|
||||||
<Title order={1}>
|
<Container className={classes.wrapper}>
|
||||||
Privacy Policy
|
<Title order={1}>
|
||||||
</Title>
|
Privacy Policy
|
||||||
<Space h={'xl'} />
|
</Title>
|
||||||
<Text>
|
<Space h={'xl'} />
|
||||||
Folium and its developer take your privacy very seriously. Beyond the information Apple provides to developers that you can decide to provide, it uses no third-party analytics or advertising frameworks.
|
<Text>
|
||||||
</Text>
|
Folium and its developer take your privacy very seriously. Beyond the information Apple provides to developers that you can decide to provide, it uses no third-party analytics or advertising frameworks.
|
||||||
<Space h={'md'} />
|
</Text>
|
||||||
<Text>
|
<Space h={'md'} />
|
||||||
Folium does have cores that save logs on-device and these can optionally be provided for better assistance in Discord, Reddit, etc. Information within these logs can be but is not limited to device specifications.
|
<Text>
|
||||||
</Text>
|
Folium does have cores that save logs on-device and these can optionally be provided for better assistance in Discord, Reddit, etc. Information within these logs can be but is not limited to device specifications.
|
||||||
<Space h={'xl'} />
|
</Text>
|
||||||
<Text c={'dimmed'}>
|
<Space h={'xl'} />
|
||||||
© 2024 Jarrod Norwell. All Right Reserved.
|
<Text c={'dimmed'}>
|
||||||
</Text>
|
© 2024 Jarrod Norwell. All Right Reserved.
|
||||||
</Container>
|
</Text>
|
||||||
|
</Container>
|
||||||
|
</MantineProvider>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user