diff --git a/components/congressional-app-challenge/carousel-cards.js b/components/congressional-app-challenge/carousel-cards.js index 901ab8796..b33e86f3b 100644 --- a/components/congressional-app-challenge/carousel-cards.js +++ b/components/congressional-app-challenge/carousel-cards.js @@ -8,8 +8,8 @@ export default function Carousel({ img }){ return ( - - + + {title} diff --git a/components/congressional-app-challenge/carousel.js b/components/congressional-app-challenge/carousel.js index 0a734ca2e..150b0494e 100644 --- a/components/congressional-app-challenge/carousel.js +++ b/components/congressional-app-challenge/carousel.js @@ -3,7 +3,7 @@ import CarouselCards from './carousel-cards'; const Carousel = ({ cards }) => { const scrollContainerRef = useRef(null); - const cardsPerView = 3; // Number of cards visible at once + const cardsPerView = 1; // Number of cards visible at once const cardWidth = 400; // Width of each card in pixels const scrollAmount = cardsPerView * cardWidth; // Total scroll width for each move @@ -48,6 +48,7 @@ const Carousel = ({ cards }) => { ref={scrollContainerRef} style={{ display: 'flex', + margin: '0', width: '70%', overflowX: 'hidden', // Hide overflow content }} diff --git a/lib/congressional-carousel.json b/lib/congressional-carousel.json index 787d67f54..ce3303c4d 100644 --- a/lib/congressional-carousel.json +++ b/lib/congressional-carousel.json @@ -16,7 +16,7 @@ { "title": "DriveSmart (Sahiti, 17)", "user": "Sahiti", - "description": "Drivesmart helps teen drivers be safe on the roads through machine learning, and moderation.", + "description": "Drivesmart helps teen drivers be safe on the roads through ML and moderation.", "link": "https://www.congressionalappchallenge.us/23-GA06/", "img": "https://cloud-dcu6dxu0h-hack-club-bot.vercel.app/1drivesmart.png" }, diff --git a/pages/congressional-app-challenge.js b/pages/congressional-app-challenge.js index 9cba03189..45b490958 100644 --- a/pages/congressional-app-challenge.js +++ b/pages/congressional-app-challenge.js @@ -250,6 +250,52 @@ function Page({ }}> STEP 2 Join Zoom calls with past Hack Club winners to learn about their projects and to get advice on where to start. + + + + + Name, Age + + + + + Name, Age + + + + + Name, Age + + + + + Name, Age + + - - + - FIRSTNAME LASTNAME - Call description - September 10th, 7 PM EST + September 10th, 7 PM EST + + + - - - + - - + - FIRSTNAME LASTNAME - Call description - September 19th, 8 PM EST + September 19th, 8 PM EST + + + - - - + - - + - FIRSTNAME LASTNAME - Call description - October 2nd, 7 PM EST + October 2nd, 7 PM EST + + + - - - +