diff --git a/apps/web/public/img/sponsors/CYMANII.svg b/apps/web/public/img/sponsors/CYMANII.svg new file mode 100644 index 00000000..1f24551a --- /dev/null +++ b/apps/web/public/img/sponsors/CYMANII.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/DELL.svg b/apps/web/public/img/sponsors/DELL.svg new file mode 100644 index 00000000..8f88bb30 --- /dev/null +++ b/apps/web/public/img/sponsors/DELL.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/GROQ.png b/apps/web/public/img/sponsors/GROQ.png new file mode 100644 index 00000000..506227ed Binary files /dev/null and b/apps/web/public/img/sponsors/GROQ.png differ diff --git a/apps/web/public/img/sponsors/HEB.svg b/apps/web/public/img/sponsors/HEB.svg new file mode 100644 index 00000000..0a43d02b --- /dev/null +++ b/apps/web/public/img/sponsors/HEB.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/KLESSE.svg b/apps/web/public/img/sponsors/KLESSE.svg new file mode 100644 index 00000000..10b5ec9d --- /dev/null +++ b/apps/web/public/img/sponsors/KLESSE.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/MATRIX.png b/apps/web/public/img/sponsors/MATRIX.png new file mode 100644 index 00000000..ebd8fb5e Binary files /dev/null and b/apps/web/public/img/sponsors/MATRIX.png differ diff --git a/apps/web/public/img/sponsors/SCHROEDER.png b/apps/web/public/img/sponsors/SCHROEDER.png new file mode 100644 index 00000000..8b308207 Binary files /dev/null and b/apps/web/public/img/sponsors/SCHROEDER.png differ diff --git a/apps/web/public/img/sponsors/SWIVEL Knockout-b.svg b/apps/web/public/img/sponsors/SWIVEL Knockout-b.svg new file mode 100644 index 00000000..9fa59080 --- /dev/null +++ b/apps/web/public/img/sponsors/SWIVEL Knockout-b.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/apps/web/public/img/sponsors/SWIVEL.svg b/apps/web/public/img/sponsors/SWIVEL.svg new file mode 100644 index 00000000..f003f366 --- /dev/null +++ b/apps/web/public/img/sponsors/SWIVEL.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/UTSA_CS.svg b/apps/web/public/img/sponsors/UTSA_CS.svg new file mode 100644 index 00000000..9733fe6f --- /dev/null +++ b/apps/web/public/img/sponsors/UTSA_CS.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/web/public/img/sponsors/UTSA_DATA_SCIENCE.svg b/apps/web/public/img/sponsors/UTSA_DATA_SCIENCE.svg new file mode 100644 index 00000000..531e83f5 --- /dev/null +++ b/apps/web/public/img/sponsors/UTSA_DATA_SCIENCE.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index 6ee90e40..58759f96 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -38,10 +38,10 @@ --radius: 0.5rem; - --gradient-color-1: #f7f5f5; - --gradient-color-2: #f7f5f5; - --gradient-color-3: #dcdcdc; - --gradient-color-4: #dcdcdc; + --gradient-color-1: #3f63c8; + --gradient-color-2: #1a46b3; + --gradient-color-3: #001773; + --gradient-color-4: #11377d; } .dark { diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 414c1019..f5908247 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -5,6 +5,7 @@ import About from "@/components/landing/About"; import Partners from "@/components/landing/Partners"; import Footer from "@/components/landing/Footer"; +import { Sponsors } from "@/components/landing/Sponsors"; import MLHBadge from "@/components/landing/MLHBadge"; import Team from "@/components/landing/Team"; import { Oswald } from "next/font/google"; @@ -52,6 +53,7 @@ export default function Home() { + {/* */} diff --git a/apps/web/src/components/dash/overview/ServerBubbles.tsx b/apps/web/src/components/dash/overview/ServerBubbles.tsx index 2e282b4a..66847c37 100644 --- a/apps/web/src/components/dash/overview/ServerBubbles.tsx +++ b/apps/web/src/components/dash/overview/ServerBubbles.tsx @@ -36,7 +36,7 @@ export function TitleBubble() { {c.hackathonName} */}

- {"RowdyHacks"} + {"rowdyhacks"}

{`${format(c.startDate, "h:mma, MMM d, yyyy")}`} @{" "} diff --git a/apps/web/src/components/landing/SponsorItem.tsx b/apps/web/src/components/landing/SponsorItem.tsx new file mode 100644 index 00000000..84fbc517 --- /dev/null +++ b/apps/web/src/components/landing/SponsorItem.tsx @@ -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 ( + +
+
+
+ {`${name}'s +
+
+
+

+ {name} +

+

+ {capitalize(tier)} Sponsor +

+
+
+ + ); +} diff --git a/apps/web/src/components/landing/Sponsors.tsx b/apps/web/src/components/landing/Sponsors.tsx new file mode 100644 index 00000000..d0a65545 --- /dev/null +++ b/apps/web/src/components/landing/Sponsors.tsx @@ -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 ( +
+
+
+

+ a huge thanks to our rowdyhacks partners +

+
+ + {titleSponsors.length > 0 && ( +
+ {titleSponsors.map(({ name, url, logo, tier }) => ( + + ))} +
+ )} + +
+ {otherSponsors.map(({ name, url, logo, tier }) => ( + + ))} +
+
+
+ ); +} diff --git a/apps/web/src/components/landing/partners.json b/apps/web/src/components/landing/partners.json index fc654015..6eaa66f4 100644 --- a/apps/web/src/components/landing/partners.json +++ b/apps/web/src/components/landing/partners.json @@ -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" } ] } diff --git a/apps/web/src/lib/utils/shared/types.ts b/apps/web/src/lib/utils/shared/types.ts index c029cd54..907f25b9 100644 --- a/apps/web/src/lib/utils/shared/types.ts +++ b/apps/web/src/lib/utils/shared/types.ts @@ -1 +1,10 @@ export type DeArray = T extends (infer R)[] ? R : T; + +type PartnerType = "gold" | "silver" | "bronze" | "title" | "partner"; + +export interface Partner { + name: string; + logo: string; + tier: PartnerType; + url: string; +}