Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:202306-NEA-DZ-FEW/StudentStore i…
Browse files Browse the repository at this point in the history
…nto 182-fix-event-styling-responsiveness
  • Loading branch information
Ben-Tewfik committed Nov 28, 2023
2 parents 4d59e4a + 677c032 commit 4a3a016
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useAuth } from "@/context/AuthContext";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
Expand All @@ -13,6 +12,8 @@ import {
} from "react-icons/fa";
import { IoIosArrowUp } from "react-icons/io";

import { useAuth } from "@/context/AuthContext";

function Footer({ t }) {
const route = useRouter();
const { currentUser } = useAuth();
Expand Down Expand Up @@ -171,7 +172,7 @@ function Footer({ t }) {
background: "none",
border: "none",
cursor: "pointer",
zIndex: 999,
zIndex: 50,
margin: "8px",
}}
className='absolute scroll-arrow animate-bounce bottom-8 right-4 sm:bottom-4 text-[#FF8A57]'
Expand Down
4 changes: 2 additions & 2 deletions src/components/Loader/Loader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { GridLoader } from "react-spinners";

export default function Loader() {
return (
<div className='min-h-[80vh] flex items-center justify-center'>
<GridLoader size={22} color={"#FF8A57"} />
<div className='fixed top-0 left-0 h-screen w-screen flex items-center bg-[#e5e7eb] justify-center z-[999] '>
<GridLoader size={22} color='#FF8A57' />
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`renders correctly 1`] = `
<div
className="min-h-[80vh] flex items-center justify-center"
className="fixed top-0 left-0 h-screen w-screen flex items-center bg-[#e5e7eb] justify-center z-[999] "
>
<div
className="mocked-grid-loader"
Expand Down

0 comments on commit 4a3a016

Please sign in to comment.