From 9a9bf8ede6bbcb247dd94af956c95e019a706a0e Mon Sep 17 00:00:00 2001 From: M-Farmaha <115003821+M-Farmaha@users.noreply.github.com> Date: Tue, 23 Jan 2024 05:19:48 +0200 Subject: [PATCH] lots of changes --- src/Layout/Layout-styled.jsx | 5 --- src/Layout/Layout.jsx | 13 +++--- src/components/AppBar/AppBar-styled.jsx | 2 +- .../HeroSection/HeroSection-styled.jsx | 9 +++- .../ImageGallery/ImageGallery-styled.jsx | 2 +- src/components/ImageGallery/ImageGallery.jsx | 6 +++ src/components/Loaders/Loaders-styled.jsx | 24 ++++------- src/components/Loaders/Loaders.jsx | 14 +++--- src/components/Modal/Modal-styled.jsx | 43 +++++++++++++++---- src/components/Modal/Modal.jsx | 21 +++++++-- .../ScrollToTopButton-styled.jsx | 4 +- .../ScrollToTopButton/ScrollToTopButton.jsx | 1 - src/index.css | 15 +++++-- src/sprite.svg | 5 +++ 14 files changed, 107 insertions(+), 57 deletions(-) diff --git a/src/Layout/Layout-styled.jsx b/src/Layout/Layout-styled.jsx index 6ec07a0..8b13789 100644 --- a/src/Layout/Layout-styled.jsx +++ b/src/Layout/Layout-styled.jsx @@ -1,6 +1 @@ -import styled from "styled-components"; -export const ScrollWrap = styled.div` - height: 100vh; - overflow-y: scroll; -`; diff --git a/src/Layout/Layout.jsx b/src/Layout/Layout.jsx index 54bc635..53a3ed1 100644 --- a/src/Layout/Layout.jsx +++ b/src/Layout/Layout.jsx @@ -2,21 +2,18 @@ import { Outlet } from "react-router-dom"; import { AppBar } from "../components/AppBar/AppBar"; import { Footer } from "../components/Footer/Footer"; import { ScrollToTopButton } from "../components/ScrollToTopButton/ScrollToTopButton"; -import { ScrollWrap } from "./Layout-styled"; export const Layout = () => { return ( <> - -
- -
+
+ +
-