diff --git a/client/src/components/CarsFilter/style.css b/client/src/components/CarsFilter/style.css index 51c48aac..905408a7 100644 --- a/client/src/components/CarsFilter/style.css +++ b/client/src/components/CarsFilter/style.css @@ -14,7 +14,7 @@ height: 620px; border-radius: 0.9rem; box-shadow: 4px 6px 9px 1px rgb(112, 112, 112); - position: fixed; + position: absolute; } .title { diff --git a/client/src/components/footer/footer.tsx b/client/src/components/footer/footer.tsx new file mode 100644 index 00000000..cc662312 --- /dev/null +++ b/client/src/components/footer/footer.tsx @@ -0,0 +1,66 @@ +import { Typography } from '@mui/material'; +import { Link } from 'react-router-dom'; +import './style.css'; + +function Footer() { + return ( +
+ + GoodCar + +
+
+
+
    +

    Used cars by brand

    +
  1. Toyota Cars
  2. +
  3. Nissan Cars
  4. +
  5. Ford Cars
  6. +
  7. BMW Cors
  8. + {' '} +
+
    +

    Used cars by Type

    +
  1. Toyota Cars
  2. +
  3. Nissan Cars
  4. +
  5. Ford Cars
  6. +
  7. BMW Cors
  8. +
+
    +

    Used Cars by Year

    +
  1. 2020
  2. +
  3. 2021
  4. +
  5. 2023
  6. +
  7. 2019
  8. +
+
+
+
+
+ ); +} +export default Footer; diff --git a/client/src/components/footer/style.css b/client/src/components/footer/style.css new file mode 100644 index 00000000..76549830 --- /dev/null +++ b/client/src/components/footer/style.css @@ -0,0 +1,67 @@ +.footer{ + background-color: rgba(147, 147, 147, 0.763); + min-height: 250px; + display: flex; + align-items: center; + justify-content: center; +} +.footerCont{ + display: flex; + justify-content: flex-end; +} +.table{ + min-height: 105px; + width: 70%; + display: flex; + justify-content: space-around; +} +.table ol h1{ + font-size: 16px !important; + font-weight: bold !important; +} +.table ol li{ + font-size: 14px; +} +.table ol { + display: flex; + flex-direction: column; + justify-content: space-around; +} +.flex{ + width: 250px; + height: 200px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-evenly; +} +.Contact{ + font-size: 40px; + font-weight: bold; + color: #fff; +} +.label{ + font-size: 35px; + font-weight: bold; + color: #fff; +} +.number{ + font-size: 23px; + font-weight: bold; + color: #fff; +} +@media only screen and (max-width: 450px) { + .footer{ + display: flex; + align-items: center; + } + .table{ + display: flex; + height: 705px; + flex-direction: column-reverse; + } + .footerCont{ + display: flex; + justify-content: center; + } +} diff --git a/client/src/pages/Cars/index.tsx b/client/src/pages/Cars/index.tsx index 50e6135f..36f3d101 100644 --- a/client/src/pages/Cars/index.tsx +++ b/client/src/pages/Cars/index.tsx @@ -4,6 +4,7 @@ import { useState } from 'react'; import CarCard from '../../components/CarCard'; import CarsFilter from '../../components/CarsFilter'; import DrawerAppBar from '../../components/FilterSideInMobile'; +import Footer from '../../components/footer/footer'; import { CarSkeleton } from '../../components/skeletons'; import { CarsCount, CarsWithImagesRow } from '../../interfaces'; import './style.css'; @@ -106,6 +107,7 @@ function Cars() { variant="outlined" /> +