Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sponsors section #141

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/acm.webp
Binary file not shown.
Binary file added public/am.webp
Binary file not shown.
Binary file added public/am2.webp
Binary file not shown.
Binary file added public/bmes.webp
Binary file not shown.
Binary file added public/bmes2.webp
Binary file not shown.
Binary file added public/gcap.webp
Binary file not shown.
Binary file added public/numi.webp
Binary file not shown.
16 changes: 15 additions & 1 deletion src/components/Sponsors.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
import Image from "next/image";
import { SPONSORS } from "@/data/Sponsors";

const Sponsors = () => {
return <div>Sponsors</div>;
return (
<div className="w-full justify-center items-center h-full flex flex-col bg-bear-dark mt-20">
<div className="font-header text-4xl md:text-5xl text-white flex mb-4 md:mb-20">
Sponsors
</div>
<div className="w-2/3 grid grid-cols-2 grid-rows-2 md:grid-rows-none md:grid-cols-3 gap-12 place-items-center">
{SPONSORS.map((item, index) => (
<Image key={index} src={item} />
))}
</div>
</div>
);
};

export default Sponsors;
4 changes: 2 additions & 2 deletions src/components/live/Live.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Tracks from "../Tracks";
import GetInvolved from "../GetInvolved";
import Team from "../Team";
import FAQ from "../FAQ";
// import Sponsors from "../Sponsors";
import Sponsors from "../Sponsors";
import Footer from "../Footer";

const Live = () => {
Expand All @@ -19,7 +19,7 @@ const Live = () => {
<GetInvolved />
<Team />
<FAQ />
{/* <Sponsors /> */}
<Sponsors />
<Footer />
</div>
);
Expand Down
9 changes: 9 additions & 0 deletions src/data/Sponsors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import acm from "@/public/acm.webp";
// import bmes from "@/public/bmes.webp";
import bmes from "@/public/bmes2.webp";
// import am from "@/public/am.webp";
import am from "@/public/am2.webp";
import numi from "@/public/numi.webp";
import gcap from "@/public/gcap.webp";

export const SPONSORS = [am, gcap, numi, acm, bmes];
Loading