Created the Terms.jsx page
This commit is contained in:
parent
37ab121979
commit
179eb32470
26
src/pages/Terms/Terms.jsx
Normal file
26
src/pages/Terms/Terms.jsx
Normal file
@ -0,0 +1,26 @@
|
||||
import {Stack, Typography, useMediaQuery, useTheme} from "@mui/material";
|
||||
import TermsImage from "@/common/assets/images/legal/terms.svg";
|
||||
|
||||
export const Terms = () => {
|
||||
const theme = useTheme();
|
||||
const isMobile = useMediaQuery(theme.breakpoints.down("lg"));
|
||||
|
||||
return (
|
||||
<Stack direction="column" justifyContent="center"
|
||||
sx={{mt: 15, ml: {lg: "auto", xs: "0"}, mr: {lg: "auto", xs: "0"}, width: {lg: "80%", xs: "100%"}}}>
|
||||
<Stack direction="row" justifyContent="space-between">
|
||||
<Stack direction="column" justifyContent="center" sx={{width: "40rem", overflow: "hidden",
|
||||
textOverflow: "ellipsis"}}>
|
||||
<Typography fontWeight={700} noWrap variant={isMobile ? "h5" : "h3"}>Nutzungsbedingungen</Typography>
|
||||
<Typography fontWeight={400} sx={{mt: 2}} variant={isMobile ? "h7" : "h5"}>
|
||||
Die Nutzung dieser Website ist nur unter Einhaltung der folgenden Nutzungsbedingungen zulässig.
|
||||
Durch die Nutzung dieser Website erklären Sie sich mit diesen Nutzungsbedingungen einverstanden.
|
||||
</Typography>
|
||||
</Stack>
|
||||
|
||||
{!isMobile && <img src={TermsImage} alt="Terms" height={400}/>}
|
||||
</Stack>
|
||||
|
||||
</Stack>
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user