Skip to content

Commit

Permalink
Merge pull request #69 from hack-rpi/feature/sponsor-us-update
Browse files Browse the repository at this point in the history
Updates to the Design of Sponsor Page
  • Loading branch information
CooperW824 committed Jun 5, 2024
2 parents e505277 + 59271d8 commit 59ec434
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 54 deletions.
72 changes: 30 additions & 42 deletions app/sponsor-us/page.tsx
Original file line number Diff line number Diff line change
@@ -1,68 +1,56 @@
"use client";

import React from "react";
import Link from "next/link";
import "@/app/globals.css";
import Footer from "../../components/footer/footer";
import NavBar from "@/components/nav-bar/nav-bar";
import Head from "next/head";
import HackRPILink from "@/components/themed-components/hackrpi-link";

function SponsorUsPage() {
return (
<>
<Head>
<title>Sponsor HackRPI</title>
<meta
name="description"
content="HackRPI is RPI's annual intercollegiate hackathon hosted by students for students. Get swag and free food as you compete for exciting prizes! With a broad range of workshops and mentors on-site, there’s no experience necessary to attend."
/>
</Head>
<div className="w-full min-h-screen h-fit flex flex-col items-center">
<NavBar showOnScroll={false} />
<div className="flex flex-col items-center justify-center min-h-screen text-center w-5/6 mx-auto pt-36">
<div className="text-left w-full">
<h3 className="text-4xl font-bold mb-4">Last Year...</h3>
</div>
<div className="flex flex-col items-center w-full sm:w-1/2 p-2 sm:mr-4 mb-4 sm:mb-0">
<iframe
className="w-full aspect-[8.5/11] mx-auto"
src="https://drive.google.com/file/d/1K4YpXPlna2iuA-qaCtlRENl0_e4c7oM8/preview"
allow="autoplay"
sandbox="allow-scripts allow-same-origin allow-popups"
></iframe>
</div>

<div className="text-left w-full pt-20">
<h3 className="text-4xl font-bold mb-4">This year... we need your help!</h3>
</div>
<Link
href="https://tinyurl.com/hackrpi-donation"
className="btn btn-primary rounded-full bg-hackrpi-primary-blue border-none hover:bg-hackrpi-primary-blue-dark px-6 h-[50px] text-black text-[1.575rem]"
>
Donate Now!
</Link>
<div className="flex flex-col sm:flex-row justify-center w-full">
<div className="flex flex-col items-center w-full sm:w-1/2 p-2 sm:mr-4 mb-4 sm:mb-0">
<h1 className="text-2xl font-bold mb-4">Individual Donations</h1>
<div className="w-11/12 flex-grow flex-shrink basis-auto flex flex-col items-start justify-center pt-24 desktop:pt-16 mb-4">
<div className="flex w-full flex-wrap mb-2 items-center justify-center">
<div className="flex flex-col items-center justify-start w-5/6 md:w-1/2 min-w-[350px] mb-2">
<h1 className="text-3xl font-bold text-center mb-2">Last Year:</h1>
<iframe
className="w-full aspect-[8.5/11]"
src="https://drive.google.com/file/d/1n0A94WUZPzI5g1w46pR1VZ4bSXKOiFsy/preview"
className="w-5/6 md:w-4/6 aspect-[8.5/11] mx-auto"
src="https://drive.google.com/file/d/1K4YpXPlna2iuA-qaCtlRENl0_e4c7oM8/preview"
allow="autoplay"
sandbox="allow-scripts allow-same-origin allow-popups"
></iframe>
</div>
<div className="flex flex-col items-center w-full sm:w-1/2 p-2 sm:ml-4">
<h3 className="text-2xl font-bold mb-4">Company Sponsorships</h3>
<div className="flex flex-col items-center justify-center w-5/6 md:w-1/2 min-w-[350px] mb-2">
<h1 className="text-3xl font-bold text-center mb-2">This Year We Need Your help: </h1>
<iframe
className="w-full aspect-[8.5/11]"
src="https://drive.google.com/file/d/17GguOFdq5aU5NuFXnHyLxxsXSzxryHQc/preview"
className="w-5/6 md:w-4/6 aspect-[8.5/11]"
src="https://drive.google.com/file/d/1n0A94WUZPzI5g1w46pR1VZ4bSXKOiFsy/preview"
allow="autoplay"
sandbox="allow-scripts allow-same-origin allow-popups"
></iframe>
</div>
</div>
<div className="w-full flex flex-wrap items-center justify-center">
<div className="flex flex-col items-center justify-start w-1/2 min-w-[350px]">
<h1 className="text-2xl font-bold text-center">Alumni Interested in Supporting HackRPI: </h1>
<HackRPILink
className="w-5/6 md:w-1/2 text-nowrap text-center text-2xl my-4"
href="https://tinyurl.com/hackrpi-donation"
>
Donate Here!
</HackRPILink>
</div>
<div className="flex flex-col items-center justify-start w-1/2 min-w-[350px]">
<h1 className="text-2xl font-bold text-center">Companies Interested in Sponsoring HackRPI: </h1>
<HackRPILink className="w-5/6 md:w-1/2 text-nowrap text-center text-2xl my-4" href="mailto:[email protected]">
Email Us! 📧
</HackRPILink>
</div>
</div>
</div>
<Footer />
</>
</div>
);
}

Expand Down
19 changes: 7 additions & 12 deletions components/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,22 @@ export default function Footer() {
<p>Darrin Communications Center @ Rensselaer Polytechnic Institute</p>
<p>110 8th St, Troy, NY 12180</p>
</div>
{/* <p>
HackRPI invites you to tackle the challenges of tomorrow&apos;s cities! Whether you&apos;re passionate
about sustainability, technology, or community development, come build the next big urban upgrade with us.
Secure your spot today!
</p> */}
</div>
</div>
<div className="w-3/4 md:w-1/3 md:border-l-2 border-l-white h-full">
<div className="w-full ml-2 h-full flex flex-col items-start justify-around">
<div className="w-full h-full flex flex-col items-start justify-around">
<HackRPILink className="w-full mb-4" href="https://hackrpi.com">
Register Today and Join Us!
</HackRPILink>
<SocialLinks />
</div>
</div>
</div>
<div className="flex flex-col items-center justify-center w-fit pb-4">
<p>
Made with <span className="text-red-600">❤️</span> by HackRPI.
</p>
<p>&copy; 2024 HackRPI</p>
<div className="flex flex-col items-start justify-center w-fit pb-4 mb">
<p>
Made with <span className="text-red-600">❤️</span> by HackRPI.
</p>
<p>&copy; 2024 HackRPI</p>
</div>
</div>
</div>
);
Expand Down

0 comments on commit 59ec434

Please sign in to comment.