From af689a00f7848ce1a61c6a19eaa0e76a8e417d5c Mon Sep 17 00:00:00 2001 From: enes Date: Mon, 29 Jul 2024 14:12:01 +0200 Subject: [PATCH] fix: update footer design --- src/components/Footer/Footer.tsx | 48 ++++++++++++++++++++----- src/components/Footer/style.module.scss | 28 ++++++--------- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index 857520d..38298c2 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -1,13 +1,13 @@ -import { Box, Button, Container, Link as LinkMui } from '@mui/material' +import { Box, Button, Link as LinkMui } from '@mui/material' import { Link } from 'react-router-dom' import styles from './style.module.scss' +import { Container } from '../Container' export const Footer = () => ( diff --git a/src/components/Footer/style.module.scss b/src/components/Footer/style.module.scss index ccc39fd..79ed1c0 100644 --- a/src/components/Footer/style.module.scss +++ b/src/components/Footer/style.module.scss @@ -1,3 +1,5 @@ +@import '../../styles/colors.scss'; + .borderTop { border-top: solid 1px rgba(0, 0, 0, 0.075); } @@ -7,16 +9,12 @@ flex-direction: column; align-items: center; - letter-spacing: 1px; font-size: 14px; - line-height: 25px; - word-break: break-word; - text-shadow: 0 0 1px rgba(0, 0, 0, 0.15); - font-weight: 500; } .links { font-weight: 500; + color: rgba(0, 0, 0, 0.5); > a + a { margin-left: 25px; @@ -24,9 +22,10 @@ } .nav { - button { + color: rgba(0, 0, 0, 0.5); + + a { width: 100%; - justify-content: start; } } @@ -40,29 +39,22 @@ > a { transition: ease 0.4s; - color: rgba(1, 170, 173, 0.75); + + color: $primary-main; text-decoration-color: inherit; &:hover { - color: #01aaad; + text-decoration: underline; } } } .logo { width: 100%; - max-width: 150px; - height: auto; + max-width: 300px; > img { width: 100%; - max-width: 150px; height: auto; } } - -@media (max-width: 992px) { - .logo { - max-width: 200px; - } -}