diff --git a/src/Footer/Ender.js b/src/Footer/Ender.js index b0054f2..e0a9cc8 100644 --- a/src/Footer/Ender.js +++ b/src/Footer/Ender.js @@ -14,7 +14,7 @@ const Ender = () => {
window.open("https://www.morphgenix.com/", "_blank")} id="pointerCursor"> - Powered by: Morphgenix + Partnered with Morphgenix
Loading...
+ ) : ( + <> + {
+ ScrolltoSubteamSection(0);
+ }}>
+ |
+ {/* row 2 */}
+ {
+ ScrolltoSubteamSection(1);
+ }}>
+ |
+ {/* row 3 */}
+ {
+ ScrolltoSubteamSection(2);
+ }}>
+ |
+ {/* row 4 */}
+ {
+ ScrolltoSubteamSection(3);
+ }}>
+ |
+ {/* row 5 */}
+ {
+ ScrolltoSubteamSection(4);
+ }}>
+ |
+ {/* row 6 */}
+ {
+ ScrolltoSubteamSection(5);
+ }}>
+ |
+ {/* row 7 */}
+ {
+ ScrolltoSubteamSection(6);
+ }}>
+ |
+
{
+ ScrolltoSubteamSection(0);
+ }}>
+ {subteamsArray[0].shortDescription} + |
+ {/* row 2 */}
+ {
+ ScrolltoSubteamSection(1);
+ }}>
+ {subteamsArray[1].shortDescription} + |
+ {/* row 3 */}
+ {
+ ScrolltoSubteamSection(2);
+ }}>
+ {subteamsArray[2].shortDescription} + |
+ {/* row 4 */}
+ {
+ ScrolltoSubteamSection(3);
+ }}>
+ {subteamsArray[3].shortDescription} + |
+ {/* row 5 */}
+ {
+ ScrolltoSubteamSection(4);
+ }}>
+ {subteamsArray[4].shortDescription} + |
+ {/* row 6 */}
+ {
+ ScrolltoSubteamSection(5);
+ }}>
+ {subteamsArray[5].shortDescription} + |
+ {/* row 7 */}
+ {
+ ScrolltoSubteamSection(6);
+ }}>
+ {subteamsArray[6].shortDescription} + |
+
{subteam.longDescription}
+{subteam.longDescription}
+Teams
- ); -}; \ No newline at end of file diff --git a/src/index.css b/src/index.css index ec2585e..f47231e 100644 --- a/src/index.css +++ b/src/index.css @@ -1,13 +1,20 @@ body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", + monospace; +} + +/* for dark mode */ +#root.darkmode img, +#root.darkmode video, +#root.darkmode iframe { + filter: invert(95%) hue-rotate(180deg); } diff --git a/src/index.js b/src/index.js index 8153a13..f3835dd 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ import reportWebVitals from "./reportWebVitals"; import { BrowserRouter, Routes, Route } from "react-router-dom"; import Header from "./Header/Header"; import AboutUs from "./AboutUs/AboutUs"; -import Teams from "./Teams/Teams"; +import SubTeams from "./Teams/SubTeams"; import OurSponsors from "./OurSponsors/OurSponsors"; import JoinTheClub from "./Club Membership & Upcoming Events/JoinTheClub/JoinTheClub"; import UpcomingEvents from "./Club Membership & Upcoming Events/UpcominEvents/UpcomingEvents"; @@ -22,7 +22,7 @@ root.render( element={