diff --git a/components/communityImages.jsx b/components/communityImages.jsx index 7cb0f2c..00165fc 100644 --- a/components/communityImages.jsx +++ b/components/communityImages.jsx @@ -1,4 +1,3 @@ -import Image from "next/image"; import { useState } from "react"; export default function CommunityImages({ images, basePath }) { @@ -15,18 +14,21 @@ export default function CommunityImages({ images, basePath }) { }; return ( -
-
+
+
+

+ {images[currentIndex].name} +

@@ -46,12 +48,11 @@ export default function CommunityImages({ images, basePath }) {
-

{images[currentIndex].name}

); } diff --git a/config/communityImages.json b/config/communityImages.json index d652446..d361aae 100644 --- a/config/communityImages.json +++ b/config/communityImages.json @@ -1,18 +1,18 @@ [ { - "name": "", + "name": "Winter 2024 Project Expo", "image": "WN24_EXPO.JPG" }, { - "name": "", + "name": "Winter 2024 Data Science Night", "image": "WN24_DSN.JPG" }, { - "name": "", + "name": "Fall 2024 Mass Meeting 1", "image": "mass_meeting1.JPG" }, { - "name": "", + "name": "Fall 2024 Mass Meeting 2", "image": "mass_meeting2.JPG" } ] diff --git a/pages/index.jsx b/pages/index.jsx index b114721..755b6f9 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -141,6 +141,7 @@ export default function Home({ ); } + function ProjectCard({ json, basePath }) { return ( - -
+

Recent Projects

-
); } diff --git a/styles/globals.css b/styles/globals.css index cd5abf2..ad15874 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -22,8 +22,8 @@ .gradient-text { background: linear-gradient( 90deg, - #896ae4, - #feb47b + #c0abfe, + #90f7df ); /* Adjust the gradient colors as needed */ -webkit-background-clip: text; -webkit-text-fill-color: transparent; @@ -48,6 +48,9 @@ } } +.project-card-home { + background: linear-gradient(90deg, #c0abfe, #90f7df); +} .markdown h1 { @apply text-4xl; @apply mb-4; @@ -206,6 +209,36 @@ font-weight: bold; } +.community-image-headline { + font-size: 2rem; + text-align: center; +} + +.community-image-container { + background-color: rgb(21, 21, 21); + margin-bottom: 7%; + padding-top: 3%; + padding-bottom: 10%; + width: 100%; +} +.community-image-container::before, +.community-image-container::after { + content: ""; + position: absolute; + left: 0; + width: 100%; + height: 3px; + background: linear-gradient(to right, #896ae4, #34c5a2); /* Gradient colors */ +} + +.community-image-container::before { + top: 0; /* Position at the top */ +} + +.community-image-container::after { + bottom: 0; /* Position at the bottom */ +} + /* Hover effect */ .scroll-up-button:hover { background-color: #896ae4; @@ -220,6 +253,11 @@ html { scroll-behavior: smooth; } +footer { + border-top: 0.5px solid; + border-top-color: #cabbf6; + background-color: rgb(21, 21, 21); +} /* Scroll to top when button is clicked */ .scroll-up-button:target { scroll-behavior: auto;