diff --git a/src/components/Footer/index.jsx b/src/components/Footer/index.jsx index 376f311..a8cc435 100644 --- a/src/components/Footer/index.jsx +++ b/src/components/Footer/index.jsx @@ -1,9 +1,8 @@ -import React from "react"; import { Link, useLocation } from "react-router-dom"; import Logo from "@/assets/images/logo.svg"; import SitLogo from "@/assets/images/Teams/sitlogo.svg"; -const Footer = () => { +function Footer() { const location = useLocation(); const handleLinkClick = () => { @@ -38,7 +37,7 @@ const Footer = () => { alt="Symbiosis Logo" className="h-10 md:h-12" /> -
+
CodeX Logo
@@ -48,7 +47,7 @@ const Footer = () => {

QUICK LINKS - +

-
- +
+ Contact Us - + Contact Us - + Contact Us
-
+
-
+
Drop us a message @@ -87,7 +87,7 @@ function Contact() { className="bg-background-elevation py-2 my-3 border-b-2 border-secondary-light text-text-light outline-none" required /> -
+
- - +
+ +
+ {images.map((image, index) => ( +
openModal(index)} + onKeyDown={(e) => { + if (e.key === "Enter" || e.key === " ") { + openModal(index); + } + }} + tabIndex={0} // Makes the div focusable + key={image.src} + className="cursor-pointer" + > {`Selected -
-

- {images[selectedImageIndex].caption} -

-

- Date: {images[selectedImageIndex].date} -

+
+ ))} + + {modalOpen ? ( +
+
+ + + + {`Selected +
+

+ {images[selectedImageIndex].caption} +

+

+ Date: {images[selectedImageIndex].date} +

+
-
- ) : null} + ) : null} +
); diff --git a/src/pages/Teams/index.jsx b/src/pages/Teams/index.jsx index 2ddf3a0..8dc1848 100644 --- a/src/pages/Teams/index.jsx +++ b/src/pages/Teams/index.jsx @@ -13,12 +13,12 @@ function Teams() {
-
+
-
+
{teamMembers}
{/* */}