diff --git a/src/pages/index.tsx b/src/pages/index.tsx index c8f3fd7..7cb1cf9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,4 +1,10 @@ -import { Stack, Container, Typography, Box } from "@mui/material"; +import { + Stack, + Container, + Typography, + Box, + useMediaQuery, +} from "@mui/material"; import { useAtom } from "jotai"; import type { NextPage } from "next"; import Image from "next/image"; @@ -10,6 +16,7 @@ import AppLink from "src/components/ui/Buttons/AppLink"; import ObjectiveCard from "src/components/ui/Cards/ObjectiveCard/ObjectiveCard"; import PageTextTemplate from "src/components/ui/PageTextTemplate/PageTextTemplate"; import { cartAtom } from "src/store/cart"; +import theme from "src/theming/theme"; import { StaticProps } from "./_app"; @@ -22,6 +29,7 @@ const Home: NextPage = () => { }, [setCart]); const emphasisStyle = { color: "primary.main", fontWeight: "bold" }; + const isMobile = useMediaQuery(theme.breakpoints.down("sm")); const presentationText = ( @@ -53,13 +61,15 @@ const Home: NextPage = () => { A11Y INYERFACE - {presentationText} + + {presentationText} + - +