Skip to content

Commit

Permalink
🔥 responded to spacing and slide direction criticisms from ops
Browse files Browse the repository at this point in the history
  • Loading branch information
parchinski committed Oct 15, 2024
1 parent d4ee0f5 commit f79d6dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export function Footer() {

return (
<footer
className="bg-background text-white px-4 sm:px-6 lg:px-8 mb-16"
className="bg-background text-white px-4 sm:px-6 lg:px-8 mb-16 pt-16"
id="connect"
>
<div className="max-w-7xl mx-auto flex-col items-center justify-center h-full">
<div className="mb-12">
<h2 className="text-4xl font-bold text-center mb-6 text-white">
<h2 className="text-4xl font-bold text-center mb-8 text-white">
Stay Connected
</h2>
<p className="text-center max-w-2xl mx-auto mb-8 text-white">
Expand Down
4 changes: 3 additions & 1 deletion app/components/image-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export default function ImageCarousel({ imagePaths, alt }: ImageCarouselProps) {
if (imagePaths.length === 0) return;

const timer = setInterval(() => {
setCurrentImageIndex(prevIndex => (prevIndex + 1) % imagePaths.length);
setCurrentImageIndex(prevIndex =>
prevIndex === imagePaths.length - 1 ? 0 : prevIndex + 1,
);
}, 5000);

return () => clearInterval(timer);
Expand Down
6 changes: 3 additions & 3 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function ScrollArrow({ onClick }: { onClick: () => void }) {
className="absolute bottom-8 left-3/6 transform -translate-x-1/2 animate-bounce transition-colors duration-600 ease-in-out hover:text-brandGoldHover focus:outline-none focus:ring-2 focus:ring-brandGold focus:ring-opacity-50 rounded-full p-2"
aria-label="Scroll to next section"
>
<ChevronDown className="w-12 h-12 text-brandGold opacity-70" />
<ChevronDown className="sm:w-8 sm:h-8 md:w-12 md:h-12 text-brandGold opacity-70" />
</button>
);
}
Expand Down Expand Up @@ -66,11 +66,11 @@ export default function Index() {
{/* Meetings and Membership Section */}
<section
ref={clubActivitiesRef}
className="min-h-screen w-full flex flex-col justify-center bg-background px-4 sm:px-8 pt-16 relative overflow-hidden"
className="min-h-screen w-full flex flex-col justify-center bg-background px-4 sm:px-8 relative overflow-hidden pt-8 md:mt-0"
aria-label="Club Activities section"
>
<BackgroundGrid className="absolute inset-0 w-full h-full" />
<h2 className="text-3xl sm:text-4xl font-bold text-center mb-16 md:mb-8 text-white relative z-10">
<h2 className="text-3xl sm:text-4xl font-bold text-center mb-8 text-white relative z-10">
Club Activities
</h2>

Expand Down

0 comments on commit f79d6dc

Please sign in to comment.