diff --git a/src/components/layout/Footer/Footer.module.css b/src/components/layout/Footer/Footer.module.css new file mode 100644 index 0000000..563b540 --- /dev/null +++ b/src/components/layout/Footer/Footer.module.css @@ -0,0 +1,6 @@ +.footer { + padding: var(--mantine-spacing-md); + @media (max-width: 48em) { + padding: 0 + } +} diff --git a/src/components/layout/Footer/Footer.tsx b/src/components/layout/Footer/Footer.tsx index 0be38c7..a8e58c5 100644 --- a/src/components/layout/Footer/Footer.tsx +++ b/src/components/layout/Footer/Footer.tsx @@ -1,5 +1,6 @@ import Link from "next/link"; import { Group, Text } from "@mantine/core"; +import styles from "@/components/layout/Footer/Footer.module.css"; const Footer = () => { return ( @@ -7,7 +8,7 @@ const Footer = () => { justify={"flex-end"} align={"flex-end"} h={"7vh"} - p={"md"}> + className={styles.footer}> = ({ fullScreenMobile && styles["container-full-screen-mobile"] )}> {children} + {fullScreenMobile && ( +
+
+ )} );