Skip to content

Commit

Permalink
Update Footer.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AnushkaChouhan25 committed Nov 9, 2024
1 parent d8a6d9c commit 8d97442
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import Footer from '../src/components/Shared/Footer';
import { Outlet } from 'react-router-dom';
import BackToTopButton from './components/Shared/BackToTopButton';
import Preloader from './components/Preloader';
import Metadata from './components/Metadata';
// import Metadata from './components/Metadata';


function App() {
return (
<>
<Metadata />
{/* <Metadata /> */}
<Preloader />
<BackToTopButton />
<Navbar />
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/Shared/footer/Content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Section2 = () => {
>
BoardGame Cafe{!isWide && <br />}
</h1>
<p className={`flex ${isWide ? `text-[center] mt-3 ml-[620px]` : `text-base mt-1`}`}>
<p className={`flex ${isWide ? `text-[center] mt-3 ml-[620px]` : `text-base mt-1`}`}>
©2024 by Sip & Play
</p>
</div>
Expand Down Expand Up @@ -167,8 +167,8 @@ const Nav = () => {
const emailAddress = '[email protected]';

return (
<div className="flex md:flex-row flex-col shrink-0 gap-4 sm:gap-20 mx-[40px] md:ml-[30px] md:mr-0">
<div className="flex justify-between md:gap-20">
<div className="flex md:flex-row flex-col shrink-0 gap-4 sm:gap-20 mx-[40px] mb-10 md:ml-[50px] md:mr-0">
<div className="flex justify-between md:gap-28 ">
<div className="flex flex-col gap-2 text-black dark:text-white">
<h3 className="mb-2 uppercase text-black dark:text-white cursor-pointer">About</h3>
{navLinks.map((item, index) => (
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Shared/footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import Content from './Content';
const Footer = () => {
return (
<footer
className="relative h-[800px]"
className="h-[800px]"
style={{ clipPath: 'polygon(0% 0, 100% 0%, 100% 100%, 0 100%)' }}
>
<div className="relative h-[calc(100vh+800px)] -top-[100vh] bg-amber-100 dark:bg-black mb-4 pb-10 sm:pb-16">
<div className="h-[700px] md:h-[650px] sticky top-[calc(100vh-600px)]">
<div className="h-[60px] md:h-[1px] sticky top-[calc(130vh-600px)]">
<Content />
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/router/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import AdminLogin from '../components/Pages/Admin/AdminLogin';
import AdminSignup from '../components/Pages/Admin/AdminSignup';
import ProtectedRoute from './ProtectedRoute';
import Profile from '../components/Pages/Dashboard';
import HelpAndSupport from '../components/Pages/HelpAndSupport';
// import HelpAndSupport from '../components/Pages/HelpAndSupport';
import Contributors from '../components/Contributors';

const router = createBrowserRouter(
Expand Down Expand Up @@ -59,7 +59,7 @@ const router = createBrowserRouter(
<Route path="/membership" element={<Membership />} />
<Route path="/dashboard" element={<Profile />} />

<Route path="/help" element={<HelpAndSupport />} />
{/* <Route path="/help" element={<HelpAndSupport />} /> */}
<Route path="/contributors" element={<Contributors />} />
</Route>
)
Expand Down

0 comments on commit 8d97442

Please sign in to comment.