diff --git a/public/assets/OpenBC-logo.svg b/public/assets/OpenBC-logo.svg new file mode 100644 index 0000000..a470ade --- /dev/null +++ b/public/assets/OpenBC-logo.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/components/footer/footer.scss b/src/components/footer/footer.scss index 20bdda8..e2a1c2e 100644 --- a/src/components/footer/footer.scss +++ b/src/components/footer/footer.scss @@ -1,3 +1,5 @@ +@use '../../app/globals' as *; + .footer-container { background-color: #FAFAFA; margin-top: 2rem; @@ -19,6 +21,7 @@ &__wrapper { display: flex; justify-content: space-between; + align-items: center; gap: 1.5rem; align-items: center; @@ -36,10 +39,10 @@ &__menu { display: flex; - flex-direction: column; - justify-content: space-between; - align-items: flex-start; - align-self: stretch; + justify-content: flex-start; + align-items: center; + gap: 24px; + @media only screen and (max-width:640px) { gap: 16px; @@ -47,10 +50,7 @@ } &__logo { - color: #424242; - text-decoration: none; - font-size: 18px; - font-weight: 700; + width: 48px; cursor: pointer; } @@ -62,19 +62,16 @@ } &__button { - font-size: 16px; + font-size: 18px; text-decoration: none; color: #424242; - transition: all .2s; - - &:hover { - text-decoration: underline; - } + font-family: inherit; &--highlight { border-radius: 20px; padding: 0.25rem 1.25rem; - background-color: #E1E1E1; + background-color: #B9DDFF; + color: #1566B5; } } @@ -102,15 +99,15 @@ } &__label { - font-weight: 500; + font-size: 18px; color: #424242; + font-family: inherit; } &__input { - display: flex; + font-family: inherit; padding: 0.5rem 0.75rem; align-items: center; - gap: 0.75rem; flex: 1 0 0; align-self: stretch; border-radius: 6px; @@ -135,6 +132,7 @@ border: 1.8px solid #424242; text-transform: none; color: #575757; + font-size: 18px; @media only screen and (max-width:640px) { width: 100%; @@ -153,10 +151,11 @@ &__link { color: #737373; - font-size: 14px; - font-weight: 500; - text-decoration: none; + font-size: 16px; transition: all .2s; + cursor: pointer; + border: none; + background-color: transparent; &:hover { color: #424242; @@ -164,3 +163,36 @@ } } + +.modal { + + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 400px; + background-color: #FFF; + padding: 24px 16px; + display: flex; + flex-direction: column; + gap: 16px; + border-radius: 4px; + box-shadow: 0px 1px 2px -1px rgba(16, 24, 40, 0.10), 0px 1px 3px 0px rgba(16, 24, 40, 0.10); + + + &__close { + position: absolute; + right: 8px; + top: 8px; + } + + + &__title { + text-align: center; + font-family: inherit; + } + + &__text { + text-align: center; + } +} diff --git a/src/components/footer/footer.tsx b/src/components/footer/footer.tsx index d34c334..cccdc9c 100644 --- a/src/components/footer/footer.tsx +++ b/src/components/footer/footer.tsx @@ -1,32 +1,67 @@ 'use client'; -import { Box, Button, Container, IconButton, Link } from '@mui/material'; +import CloseIcon from '@mui/icons-material/Close'; +import { + Box, + Button, + Container, + IconButton, + Link, + Modal, + Typography, +} from '@mui/material'; import Image from 'next/image'; +import { useState } from 'react'; import './footer.scss'; function Footer() { + const [open, setOpen] = useState(false); + const handleOpen = () => setOpen(true); + const handleClose = () => setOpen(false); return ( - + - - OpenBC + + OpenBC logo - - + + About + + Join Us! - + + + + Contact Us - +
@@ -52,8 +93,8 @@ function Footer() { GitHub
- + + + + + + + + + + OOPS + + + We're actively building this feature to make your + experience even better. + + +