Skip to content

Commit

Permalink
Merge pull request #11 from Bostonhacks/sponsor/who-are-we
Browse files Browse the repository at this point in the history
[sponsor] pink btn + why us
  • Loading branch information
danielyu12 committed Aug 28, 2023
2 parents 1e3017d + d9d7aaa commit f9e3c9c
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 0 deletions.
Binary file added src/assets/images/SponsorPage/sparkle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions src/assets/images/SponsorPage/sponsor_pink_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions src/components/SponsorPageComponents/SponsorButtons/PinkButton.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import React from 'react';
import sparkle from '../../../assets/images/SponsorPage/sparkle.png';
import btnBackground from '../../../assets/images/SponsorPage/sponsor_pink_btn.svg';

const PinkButton = ({ buttonText, extraStyling }) => {

const pinkBtnBackgroundStyle = {
backgroundImage: `url(${btnBackground})`,
backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
padding: '16px',
display: 'flex',
justifyContent: 'center'
};

return (
<div className={`relative w-full justify-center items-center ${extraStyling}`}>
<div className="relative w-1/3 mx-auto">
<img src={sparkle} alt="Image" className="w-50 absolute -top-10 left-0" />
<div style={pinkBtnBackgroundStyle}>
<h1 className='font-misterpixel text-white text-[3vw] leading-[4.2vw]'>
{buttonText}
</h1>
</div>
<img src={sparkle} alt="Image" className="w-50 absolute right-0 -bottom-10" />
</div>
</div>
)
}

export default PinkButton;
56 changes: 56 additions & 0 deletions src/components/SponsorPageComponents/WhyUs.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import treasureChest from '../../assets/images/BigTreasureChest_Open.png'

const WhyUs = () => {
return (
<div className='flex items-center mt-[100px] flex-col mb-[100px]'>
<div className="flex space-x-3 w-[930px] flex-col">
<div className="flex items-center space-x-8 pb-4 border-b-4 border-[#3D3C6A] w-[550px]">
<img src={treasureChest} alt="Image" className="ml-4 w-15 h-12" />
<h1 className="text-[28px] font-minecraft font-bold text-white">
Connect
</h1>
</div>

<div className="mt-8 w-full">
<h1 className="text-[24px] leading-[1] font-minecraft text-white">
Give your API or product a test run before send ing it out into the world. Show off a great framework or platform before it hits the market. Students are the ideal target for new tech. They will eagerly push your product to its limits, as well as offer suggestions on it and look to you for support.
</h1>
</div>
</div>

<div>
<div className="flex space-x-3 w-[930px] mt-[100px] justify-end">
<div className="flex items-center space-x-8 pb-4 border-b-4 border-[#3D3C6A] w-[550px] justify-end">
<h1 className="text-[28px] font-minecraft font-bold text-white">
Recruit
</h1>
<img src={treasureChest} alt="Image" className="pr-4 w-15 h-12" />
</div>
</div>

<div className="mt-8 text-right flex space-x-3 w-[930px] ">
<h1 className="text-[24px] leading-[1] font-minecraft text-white pr-[10px] pl-[50px]">
Resumes are two-dimensional (literally). Interviews give only a small snapshot of an individual’s abilities. By watching a project evolve over a hackathon, you can get a much better picture of a candidate. Plus, you’ll have access to a group of students that are extraordinarily passionate about what they do, and a friendly environment to interact with them in.
</h1>
</div>
</div>

<div className="flex space-x-3 w-[930px] flex-col mt-[100px]">
<div className="flex items-center space-x-8 pb-4 border-b-4 border-[#3D3C6A] w-[550px]">
<img src={treasureChest} alt="Image" className="ml-4 w-15 h-12" />
<h1 className="text-[28px] font-minecraft font-bold text-white">
Get Live Feedback
</h1>
</div>

<div className="mt-8 w-full">
<h1 className="text-[24px] leading-[1] font-minecraft text-white">
Reach out to future customers, leaders and innovators. Test waters and get a sense of emergent technologies. Collaborate with students on a more intimate level at our comfortably mid-sized hackathon. Offer students advice and/or tech to help them through their projects. Whether you’re looking for brand awareness, technical expertise or personal development, you’ll find it here—with 100 motivated hackers and dozens of skilled mentors.
</h1>
</div>
</div>
</div>
);
};

export default WhyUs;
5 changes: 5 additions & 0 deletions src/pages/SponsorPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import SectionTitle from '../components/SponsorPageComponents/SectionTitle';
import Stats from '../components/SponsorPageComponents/Stats';
import Footer from '../components/common/Footer';
import SponsorNav from '../components/SponsorPageComponents/SponsorNav';
import PinkButton from '../components/SponsorPageComponents/SponsorButtons/PinkButton';
import WhyUs from '../components/SponsorPageComponents/WhyUs';

const SponsorPage = () => {
return (
Expand Down Expand Up @@ -47,7 +49,10 @@ const SponsorPage = () => {
</h2>
</div>
</div>
<PinkButton buttonText="WHO ARE WE" extraStyling="mt-[-180px]"/>
<WhoWeAreScroll />
<PinkButton buttonText="WHY US?" extraStyling="mt-[200px]" />
<WhyUs />
<SectionTitle extraStyling={'mb-16'} text={'SPONSOR'} />
<Perks />
<div className="flex justify-center items-center space-x-12 mx-72 mt-24">
Expand Down

0 comments on commit f9e3c9c

Please sign in to comment.