forked from acmutsa/HackKit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate from clerk user metadata * adds hackkit credits * Added text saying only accepted files are PDF. Might want to make it dynamic later (acmutsa#121) * Upgrade Next Safe Action (acmutsa#118) * fix registration default * Added "Presented by SWIVEL" * Update README.md * Fixed text overflow on user dashboard (#25) * Fixed text sizing in user dashboard * Formatted Project with Prettier * Revert "Fixed text overflow on user dashboard (#25)" (#26) This reverts commit ae09168. * fixes overflow * adds guilds * fixes schedule default * Add event location (acmutsa#124) * add event location * Prettier format * fixed xs screen size overriding all other sizes (#28) * updates bot name * updates user profile * updates media query size * Adding Team Section (#29) * meet the team page * color change to show cards * adjustments to card flip and mobile * Testing on build if rotating cards is laggy * Created team.json according to form/pictures as of 10/17 * Added all pictures * RowdyHacks X Team Section added * Prettier write * Updated organizer list as of 10/21 Improved responsive design * Added pictures for organizer list as of 10/21 * Prettier write * Prettier write * Updated pictures * Prettier write --------- Co-authored-by: Carter LaVigne <[email protected]> * Merging in new schedule enhancements (acmutsa#128) * schedule timeline initial styling * Timeline days added * add live pulsing effect * add little line * Bigger day headers * run prettier --------- Co-authored-by: joshuasilva414 <[email protected]> * updates from prod * Fix Hackathon Check-In Scanner (acmutsa#130) * fix admin link check * Satisfies User Settings w/ New Schema (acmutsa#112) * test update image * mobile optimize pass * I made cool schedule (#33) * Schedule timeline * Mobile optimizations * Prettier formatted * fix current event logic * fix current event display * adds survival guide * small event layout change * updates theming * updates settings * updates build command * Added sponsors section to the website (#37) * Improved hacker dashboard color palette and fixed font issues (#38) --------- Co-authored-by: joshuasilva414 <[email protected]> Co-authored-by: Jacob Ellerbrock <[email protected]> Co-authored-by: Joshua Silva <[email protected]> Co-authored-by: Jacob <[email protected]> Co-authored-by: Liam Murray <[email protected]> Co-authored-by: Matthew Anderson <[email protected]> Co-authored-by: Carter LaVigne <[email protected]>
- Loading branch information
1 parent
bf53933
commit 32a0c1f
Showing
18 changed files
with
201 additions
and
122 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
import { Partner } from "@/lib/utils/shared/types"; | ||
|
||
const capitalize = (input: string) => | ||
input.charAt(0).toUpperCase() + input.slice(1); | ||
|
||
const tierColorMap = { | ||
title: "text-[#E817C6]", | ||
gold: "text-yellow-600", | ||
silver: "text-gray-400", | ||
bronze: "text-[#a97142]", | ||
partner: "text-[#17C6E8]", | ||
} as const; | ||
|
||
export function SponsorItem({ name, logo, tier, url }: Partner) { | ||
const textColor = tierColorMap[tier]; | ||
const isTitle = tier === "title"; | ||
|
||
return ( | ||
<Link | ||
href={url} | ||
className={`group flex flex-col justify-center text-center ${ | ||
isTitle ? "w-full max-w-2xl" : "w-full" | ||
}`} | ||
> | ||
<div> | ||
<div className="relative z-50 rounded-xl border-2 border-[#ea580c] bg-white transition-transform lg:group-hover:-translate-y-6"> | ||
<div | ||
className={`flex items-center justify-center p-4 ${ | ||
isTitle ? "h-96" : "h-60" | ||
}`} | ||
> | ||
<Image | ||
src={logo} | ||
height={isTitle ? 300 : 200} | ||
width={isTitle ? 300 : 200} | ||
alt={`${name}'s Logo`} | ||
className="object-contain" | ||
/> | ||
</div> | ||
</div> | ||
<div | ||
className={`invisible ${textColor} relative ${ | ||
isTitle ? "bottom-32" : "bottom-20" | ||
} z-10 transition-all duration-200 ease-linear lg:group-hover:visible lg:group-hover:bottom-0`} | ||
> | ||
<h1 | ||
className={`mb-2 font-semibold ${ | ||
isTitle ? "text-6xl" : "text-2xl" | ||
}`} | ||
> | ||
{name} | ||
</h1> | ||
<h1 className={isTitle ? "text-4xl" : "text-xl"}> | ||
{capitalize(tier)} Sponsor | ||
</h1> | ||
</div> | ||
</div> | ||
</Link> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { SponsorItem } from "./SponsorItem"; | ||
import { Partner } from "@/lib/utils/shared/types"; | ||
import partners from "./partners.json"; | ||
|
||
export async function Sponsors() { | ||
const partnerList: Partner[] = partners.partners as Partner[]; | ||
|
||
const titleSponsors = partnerList.filter((p) => p.tier === "title"); | ||
const otherSponsors = partnerList.filter((p) => p.tier !== "title"); | ||
|
||
return ( | ||
<section className="mt-20 font-oswald"> | ||
<div className="rounded-xl px-8 py-10"> | ||
<div className="mb-28 py-10"> | ||
<h1 className="flex justify-center bg-gradient-to-b from-orange-600 via-yellow-300 to-orange-600 bg-clip-text text-center font-bttf text-4xl text-transparent sm:text-5xl md:text-6xl"> | ||
a huge thanks to our rowdyhacks partners | ||
</h1> | ||
</div> | ||
|
||
{titleSponsors.length > 0 && ( | ||
<div className="mb-16 flex flex-wrap justify-center gap-8"> | ||
{titleSponsors.map(({ name, url, logo, tier }) => ( | ||
<SponsorItem | ||
key={name} | ||
name={name} | ||
url={url} | ||
logo={logo} | ||
tier={tier} | ||
/> | ||
))} | ||
</div> | ||
)} | ||
|
||
<div className="grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"> | ||
{otherSponsors.map(({ name, url, logo, tier }) => ( | ||
<SponsorItem | ||
key={name} | ||
name={name} | ||
url={url} | ||
logo={logo} | ||
tier={tier} | ||
/> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,142 +1,64 @@ | ||
{ | ||
"partners": [ | ||
{ | ||
"name": "Cymanii", | ||
"logo": "CyManII_Logo.svg", | ||
"url": "https://cymanii.org/", | ||
"tier": "Gold Sponsor" | ||
}, | ||
{ | ||
"name": "UTSA DS Dept.", | ||
"logo": "UTSADS.svg", | ||
"url": "https://sds.utsa.edu/", | ||
"tier": "Gold Sponsor" | ||
}, | ||
{ | ||
"name": "Swivel", | ||
"logo": "swivel_logo.svg", | ||
"url": "https://www.getswivel.io/", | ||
"tier": "Silver Sponsor" | ||
}, | ||
{ | ||
"name": "UTSA CS Dept.", | ||
"logo": "UTSA_CS.svg", | ||
"url": "https://sciences.utsa.edu/computer-science/", | ||
"tier": "Silver Sponsor" | ||
}, | ||
{ | ||
"name": "Frost Bank", | ||
"logo": "FrostBank.svg", | ||
"url": "https://www.frostbank.com/", | ||
"tier": "Silver Sponsor" | ||
}, | ||
{ | ||
"name": "Valero", | ||
"logo": "ValeroLogo.svg", | ||
"url": "https://www.valero.com/", | ||
"tier": "Silver Sponsor" | ||
}, | ||
{ | ||
"name": "Google", | ||
"logo": "Google_Icon.svg", | ||
"url": "https://about.google/", | ||
"tier": "Bronze Sponsor" | ||
}, | ||
{ | ||
"name": "Paycom", | ||
"logo": "PaycomLogo.svg", | ||
"url": "https://www.paycom.com/", | ||
"tier": "Bronze Sponsor" | ||
"logo": "/img/sponsors/SWIVEL Knockout-b.svg", | ||
"tier": "title", | ||
"url": "https://www.getswivel.io/" | ||
}, | ||
{ | ||
"name": "Dell", | ||
"logo": "Dell_Tech_Logo.svg", | ||
"url": "https://www.dell.com/", | ||
"tier": "Bronze Sponsor" | ||
}, | ||
{ | ||
"name": "S + S", | ||
"logo": "Students_and_Startups.svg", | ||
"url": "https://studentsstartups.com/", | ||
"tier": "Bronze Sponsor" | ||
}, | ||
{ | ||
"name": "AFCS", | ||
"logo": "AFCSLogo.svg", | ||
"url": "https://afciviliancareers.com/", | ||
"tier": "Bronze Sponsor" | ||
}, | ||
{ | ||
"name": "Accenture", | ||
"logo": "Accenture-logo.svg", | ||
"url": "https://www.accenture.com/", | ||
"tier": "Rowdy Partner" | ||
"name": "Schroeder", | ||
"logo": "/img/sponsors/SCHROEDER.png", | ||
"tier": "bronze", | ||
"url": "/" | ||
}, | ||
{ | ||
"name": "UTSA COE", | ||
"logo": "UTSA_COE.svg", | ||
"url": "https://klesse.utsa.edu/", | ||
"tier": "Rowdy Partner" | ||
"name": "Groq", | ||
"logo": "/img/sponsors/GROQ.png", | ||
"tier": "silver", | ||
"url": "https://groq.com/" | ||
}, | ||
{ | ||
"name": "UTSA Tech Store", | ||
"logo": "rowdy_tech_logo.svg", | ||
"url": "https://campustechnologystore.com/campustechnologystore/", | ||
"tier": "Rowdy Partner" | ||
"name": "Matrix AI", | ||
"logo": "/img/sponsors/MATRIX.png", | ||
"tier": "partner", | ||
"url": "https://ai.utsa.edu/" | ||
}, | ||
{ | ||
"name": "TD Synnex", | ||
"logo": "TD_Synnex_logo.svg", | ||
"url": "https://www.tdsynnex.com/", | ||
"tier": "Rowdy Partner" | ||
"name": "CyManii", | ||
"logo": "/img/sponsors/CYMANII.svg", | ||
"tier": "silver", | ||
"url": "https://cymanii.org/" | ||
}, | ||
{ | ||
"name": "Wolfram Alpha", | ||
"logo": "wolfram_logo.svg", | ||
"url": "https://www.wolframalpha.com/", | ||
"tier": "Rowdy Partner" | ||
"name": "Klesse Engineering", | ||
"logo": "/img/sponsors/KLESSE.svg", | ||
"tier": "partner", | ||
"url": "https://klesse.utsa.edu/" | ||
}, | ||
{ | ||
"name": "CodePath", | ||
"logo": "Codepath_logo.svg", | ||
"url": "https://www.codepath.org/", | ||
"tier": "Rowdy Partner" | ||
"name": "UTSA Data Science", | ||
"logo": "/img/sponsors/UTSA_DATA_SCIENCE.svg", | ||
"tier": "gold", | ||
"url": "https://sds.utsa.edu/" | ||
}, | ||
{ | ||
"name": "ACM", | ||
"logo": "ACM_logo.svg", | ||
"url": "https://www.acm.org/", | ||
"tier": "Rowdy Partner" | ||
"name": "UTSA Computer Science", | ||
"logo": "/img/sponsors/UTSA_CS.svg", | ||
"tier": "silver", | ||
"url": "https://sciences.utsa.edu/computer-science/" | ||
}, | ||
{ | ||
"name": "Artea", | ||
"logo": "Artea_logo.svg", | ||
"url": "https://www.drinkartea.com/", | ||
"tier": "Rowdy In-Kind" | ||
"name": "HEB", | ||
"logo": "/img/sponsors/HEB.svg", | ||
"tier": "silver", | ||
"url": "https://www.heb.com/" | ||
}, | ||
{ | ||
"name": "Pho Thien An", | ||
"logo": "Pho_logo.svg", | ||
"url": "https://www.phothienan.com/", | ||
"tier": "Rowdy In-Kind" | ||
}, | ||
{ | ||
"name": "Bunz Burgers", | ||
"logo": "Bunz_logo.svg", | ||
"url": "https://www.tastybunz.com/", | ||
"tier": "Rowdy In-Kind" | ||
}, | ||
{ | ||
"name": "H-E-B", | ||
"logo": "HEB.svg", | ||
"url": "https://www.heb.com/", | ||
"tier": "Rowdy In-Kind" | ||
}, | ||
{ | ||
"name": "Six Flags", | ||
"logo": "Six_Flags_logo.svg", | ||
"url": "https://www.sixflags.com/fiestatexas", | ||
"tier": "Rowdy In-Kind" | ||
"name": "Dell", | ||
"logo": "/img/sponsors/DELL.svg", | ||
"tier": "silver", | ||
"url": "https://www.dell.com/en-us" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
export type DeArray<T> = T extends (infer R)[] ? R : T; | ||
|
||
type PartnerType = "gold" | "silver" | "bronze" | "title" | "partner"; | ||
|
||
export interface Partner { | ||
name: string; | ||
logo: string; | ||
tier: PartnerType; | ||
url: string; | ||
} |