Skip to content
Merged
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
12 changes: 10 additions & 2 deletions frontend/src/app/(pages)/AboutTheEventPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ import { cabinetExtraBold } from "@/fonts";
import Laptop from "@/app/assets/icons/Laptop";
import CoffeCup from "@/app/assets/icons/CoffeeCup";
import DarinCup from "@/app/assets/icons/DarinCup";
import DarinRedBull from "../assets/icons/DarinRedBull";
import Guitar from "@/app/assets/icons/Guitar";

import gsap from "gsap";
import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
import { useGSAP } from "@gsap/react";
import DarinCupPhone from "../assets/icons/DarinCupPhone";
import AboutVine from "../assets/icons/AboutVine";
import DarinRedBullPhone from "../assets/icons/DarinRedBullPhone";

if (typeof window !== "undefined") {
gsap.registerPlugin(ScrollTrigger);
Expand Down Expand Up @@ -107,13 +109,19 @@ export default function Home() {
/>

{/* For Large Screens */}
<DarinCup
{/* <DarinCup
height={843}
width={424}
className="darin-anim absolute z-30 -bottom-[100px] right-[-150px] hidden lg:block"
/> */}
<DarinRedBull
height={858}
width={334}
className="darin-anim absolute z-30 -bottom-[100px] right-[-40px] hidden lg:block"
/>
{/* For Phone Screens */}
<DarinCupPhone className="darin-anim-ph absolute z-30 right-0 bottom-[50px] block lg:hidden" />
{/* <DarinCupPhone className="darin-anim-ph absolute z-30 right-0 bottom-[50px] block lg:hidden" /> */}
<DarinRedBullPhone className="darin-anim-ph absolute z-30 right-0 bottom-[50px] block lg:hidden" />

<div className="pb-[280px] pt-[100px]">
<h1
Expand Down
144 changes: 144 additions & 0 deletions frontend/src/app/assets/icons/DarinRedBull.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
507 changes: 507 additions & 0 deletions frontend/src/app/assets/icons/DarinRedBull.tsx

Large diffs are not rendered by default.

155 changes: 155 additions & 0 deletions frontend/src/app/assets/icons/DarinRedBullPhone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
544 changes: 544 additions & 0 deletions frontend/src/app/assets/icons/DarinRedBullPhone.tsx

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions frontend/src/app/assets/images/sponsors/PrabhuBank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions frontend/src/app/components/Sponsors/Sponsor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ export default function Sponsor({
image,
alt,
url,
className = "",
}: {
image: StaticImageData;
alt: string;
url: string;
className: string;
}) {
return (
<div className="flex flex-row justify-center items-center w-[15rem] h-[11rem] rounded-full mb-10">
<div className={`flex flex-row justify-center items-center w-[15rem] h-[11rem] rounded-full mb-10`}>
<Link href={url} target="_blank">
<Image
src={image}
alt={alt}
width={150}
height={150}
loading="lazy"
className="object-cover w-full h-full"
className={`object-cover w-full h-full ${className}`}
/>
</Link>
</div>
Expand Down
10 changes: 10 additions & 0 deletions frontend/src/app/components/Sponsors/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import SnowBerryLogo from "@/app/assets/images/sponsors/SnowBerry_Logo.png";
import ThirdFactorLogo from "@/app/assets/images/sponsors/TF Logo - White.png";
import EcoSathiLogo from "@/app/assets/images/sponsors/EcoSathi_Logo.svg";
import KTMONELOGO from "@/app/assets/images/sponsors/Ktmone_Logo.svg";
import PRABHUBANKLOGO from "@/app/assets/images/sponsors/PrabhuBank.svg"

const sponsors: SponsorType[] = [
// {
Expand Down Expand Up @@ -260,6 +261,7 @@ const sponsors: SponsorType[] = [
url: "https://www.dailokrishi.com/",
image: DailoKrishiLogo,
imageAlt: "DailoKrishiLogo",
// className: "bg-white rounded-lg"
},
{
name: "KathmanduKoKatha",
Expand All @@ -281,12 +283,20 @@ const sponsors: SponsorType[] = [
image: KTMONELOGO,
imageAlt: "KTMONELOGO",
},

{
name: "KTMONE",
url: "https://www.prabhubank.com",
image: PRABHUBANKLOGO,
imageAlt: "PRABHUBANKLOGO",
},

{
name: "SandukAi",
url: "https://sanduk.ai/",
image: SandukAILogo,
imageAlt: "SandukAILogo",
className: "bg-white rounded-lg"
},

],
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/sections/Sponsors/SponsorsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function SponsorsSection() {
image={sponsor.image}
alt={sponsor.imageAlt}
url={sponsor.url}
className={sponsor.className ?? ""}
/>
</div>
))}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/types/sponsors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type Sponsor = {
url: string;
image: StaticImageData;
imageAlt: string;
className?: string;
};

export default Sponsor;
Loading