Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 9 additions & 0 deletions apps/live/public/sponsor-logos/amazon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions apps/live/public/sponsor-logos/maven.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions apps/live/src/app/(landing)/Sock.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
"use client";

import React from "react";
import Section from "@repo/ui/Section";
import FrontRollercoaster from "../lib/Assets/SVG/LandingSock/FrontRollercoaster.tsx";
import BackRollercoaster from "../lib/Assets/SVG/LandingSock/BackRollercoaster.tsx";
import BackGrass from "../lib/Assets/SVG/LandingSock/BackGrass.tsx";
import FrontGrass from "../lib/Assets/SVG/LandingSock/FrontGrass.tsx";
import useIsMobile from "@repo/util/hooks/useIsMobile";

export default function Sock(): JSX.Element {
const isMobile = useIsMobile();

const background = (
<div className='w-full h-full bg-mossGreen ${isMobile ? "w-[200vw]" : "w-[170vw]"}'></div>
);

const content = (
<div className="relative w-full h-full overflow-hidden">
<div
className={`relative w-full overflow-hidden ${
isMobile ? "aspect-[1]" : "aspect-[1.5/1]"
}`}
>
<div
className="absolute top-40 left-1/2 -translate-x-1/2 font-NeulisNeue-Bold text-white flex flex-col items-center"
style={{
fontSize: isMobile ? "4vw" : "2vw",
top: isMobile ? "30%" : "15%",
}}
>
Happy Hacking!
</div>

<div
className="absolute right-0 bottom-0 w-[80vw] h-auto z-0"
style={{
transformOrigin: "top",
transform: "translateY(-15%)",
}}
>
<BackRollercoaster />
</div>

<div
className="absolute left-0 bottom-0 w-[80vw] h-auto z-10"
style={{
transformOrigin: "top",
transform: "translateY(-10%)",
}}
>
<FrontRollercoaster />
</div>

<div
className="absolute left-0 top-0 w-full h-auto overflow-hidden"
style={{
transformOrigin: "top",
transform: "translateY(50%)",
}}
>
<BackGrass />
</div>

<div
className="absolute left-0 top-0 w-full h-auto overflow-hidden z-20"
style={{
transformOrigin: "top",
transform: "translateY(90%)",
}}
>
<FrontGrass />
</div>
</div>
</div>
);

return (
<Section
name={"sock"}
background={background}
content={content}
height={120}
/>
);
}
55 changes: 55 additions & 0 deletions apps/live/src/app/(landing)/SponsorFeature.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
"use client";

import React from "react";
import { SponsorTicketComp } from "../../../../main/src/app/lib/Components/index.ts";
import Section from "@repo/ui/Section";
// import useIsMobile from "@repo/util/hooks/useIsMobile";

export default function SponsorFeature(): JSX.Element {
// const isMobile = useIsMobile();

const background = (
<div className='w-full h-full bg-mossGreen ${isMobile ? "w-[100vw]" : "w-[80vw]"}'></div>
);

const content = (
<div className="relative w-full h-full overflow-hidden">
<div className="flex items-center justify-center h-full w-full">
<div className="flex items-center gap-x-8">
<div className="flex flex-col text-left text-cream">
<div className="font-NeulisNeue-Bold text-[40px]">
HackBeanpot 2026
</div>
<div className="font-NeulisNeue text-[20px]">
is proudly brought to you by
</div>
</div>

<div className="flex flex-col justify-center gap-y-4">
<SponsorTicketComp
isSponsorUs={false}
logoPath="/sponsor-logos/amazon.svg"
ticketWidthVW={10}
logoWidth={90}
/>
<SponsorTicketComp
isSponsorUs={false}
logoPath="/sponsor-logos/maven.svg"
ticketWidthVW={10}
logoWidth={90}
/>
</div>
</div>
</div>
</div>
);

return (
<Section
name={"sponsorfeature"}
background={background}
content={content}
height={40}
/>
);
}
Loading