From 89de6f27d44fe651d621d49157616adcc9f78566 Mon Sep 17 00:00:00 2001 From: Ahmad Rashid Akhtar Date: Mon, 12 Feb 2024 20:36:36 -0800 Subject: [PATCH 1/2] working toward footer --- public/assets/OpenBC-logo.svg | 16 ++++++++ src/components/footer/footer.scss | 36 +++++++---------- src/components/footer/footer.tsx | 67 ++++++++++++++++++++++--------- 3 files changed, 80 insertions(+), 39 deletions(-) create mode 100644 public/assets/OpenBC-logo.svg 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..d920d4a 100644 --- a/src/components/footer/footer.scss +++ b/src/components/footer/footer.scss @@ -19,6 +19,7 @@ &__wrapper { display: flex; justify-content: space-between; + align-items: center; gap: 1.5rem; align-items: center; @@ -36,10 +37,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 +48,7 @@ } &__logo { - color: #424242; - text-decoration: none; - font-size: 18px; - font-weight: 700; + width: 48px; cursor: pointer; } @@ -62,19 +60,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 +97,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 +130,7 @@ border: 1.8px solid #424242; text-transform: none; color: #575757; + font-size: 18px; @media only screen and (max-width:640px) { width: 100%; @@ -153,9 +149,7 @@ &__link { color: #737373; - font-size: 14px; - font-weight: 500; - text-decoration: none; + font-size: 16px; transition: all .2s; &:hover { diff --git a/src/components/footer/footer.tsx b/src/components/footer/footer.tsx index d34c334..c03408d 100644 --- a/src/components/footer/footer.tsx +++ b/src/components/footer/footer.tsx @@ -1,6 +1,13 @@ 'use client'; -import { Box, Button, Container, IconButton, Link } from '@mui/material'; +import { + Box, + Button, + Container, + IconButton, + Link, + Typography, +} from '@mui/material'; import Image from 'next/image'; import './footer.scss'; @@ -10,23 +17,43 @@ function Footer() { - - OpenBC - - - + OpenBC logo + + About + + Join Us! - + + + + Contact Us - +