Skip to content

Commit

Permalink
Merge pull request #193 from HackRU/dev
Browse files Browse the repository at this point in the history
sponsor links to images, new tracks
  • Loading branch information
avsomers25 authored Oct 2, 2024
2 parents 70644cf + e294150 commit 290825c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/(pre-dashboard)/(landing)/sections/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,10 @@ export default function About() {
</p>

<div className="pt-6">
<p className="inline text-pink-100">Health:</p>
<p className="inline text-pink-100">NeuroTech presented by NTICe:</p>
<p className="inline pb-4">
{' '}
Hacks that improve the mind or body, aiding with health,
wellness, and fitness.
Hacks that advance technology for treating brain dysfunction.
</p>
</div>

Expand Down
11 changes: 11 additions & 0 deletions app/(pre-dashboard)/(landing)/sections/Sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import React from 'react';
import Image from 'next/image';
import Link from 'next/link'
export default async function Sponsors() {
const sponsors = [
'/sponsors/NJTRANSIT.png',
'/sponsors/RHNIC_RED_WHITE_RBG.png',
'/sponsors/CAIT2.png'
];

const sponsorsLinks = [
'https://www.njtransit.com/innovation',
'https://www.canva.com/design/DAGSRyhN4jE/q65xcClKrYfxJka-VgXBwA/watch?utm_content=DAGSRyhN4jE&utm_campaign=share_your_design&utm_medium=link&utm_source=shareyourdesignpanel',
'https://cait.rutgers.edu/about/'
];

return (
<div
className="relative z-10 mb-20 flex w-[100vw] justify-center"
Expand All @@ -23,12 +30,14 @@ export default async function Sponsors() {
key={index}
className="relative mb-4 h-[30vh] md:w-[40vw] w-[80vw]"
>
<Link href={sponsorsLinks[(index*2)+1]}>
<Image
src={sponsorURL}
alt="Sponsor Logo"
layout="fill"
objectFit="contain"
/>
</Link>
</div>
);
})}
Expand All @@ -42,12 +51,14 @@ export default async function Sponsors() {
key={index}
className="relative mb-4 h-[30vh] md:w-[30vw] w-[70vw]"
>
<Link href={sponsorsLinks[index*2]}>
<Image
src={sponsorURL}
alt="Sponsor Logo"
layout="fill"
objectFit="contain"
/>
</Link>
</div>
);
})}
Expand Down

0 comments on commit 290825c

Please sign in to comment.