diff --git a/package-lock.json b/package-lock.json
index c5e7035..8e588e8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -47,7 +47,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"crypto": "^1.0.1",
- "framer-motion": "^11.11.1",
+ "framer-motion": "^11.13.5",
"gsap": "^3.12.5",
"ioredis": "^5.4.1",
"jest": "^29.7.0",
@@ -68,7 +68,7 @@
"react-icons": "^5.3.0",
"resend": "^4.0.0",
"sonner": "^1.5.0",
- "tailwind-merge": "^2.5.3",
+ "tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7",
"three": "^0.169.0",
"uploadthing": "^7.0.2",
@@ -8766,17 +8766,19 @@
}
},
"node_modules/framer-motion": {
- "version": "11.11.1",
- "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.11.1.tgz",
- "integrity": "sha512-Ucr9eHSrk0d+l6vyl9fvq6omh/PAWHjS+PlczpsoUdhJo1TuF3ULWJNuAMnpWQ1dGyPOyoUVuYlUKjE/s8dyCA==",
+ "version": "11.13.5",
+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.13.5.tgz",
+ "integrity": "sha512-rArI0zPU9VkpS3Wt0J7dmRxAFUWtzPWoSofNQAP0UO276CmJ+Xlf5xN19GMw3w2QsdrS2sU+0+Q2vtuz4IEZaw==",
"license": "MIT",
"dependencies": {
+ "motion-dom": "^11.13.0",
+ "motion-utils": "^11.13.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@emotion/is-prop-valid": "*",
- "react": "^18.0.0",
- "react-dom": "^18.0.0"
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/is-prop-valid": {
@@ -11337,6 +11339,16 @@
"node": ">=16 || 14 >=14.17"
}
},
+ "node_modules/motion-dom": {
+ "version": "11.13.0",
+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-11.13.0.tgz",
+ "integrity": "sha512-Oc1MLGJQ6nrvXccXA89lXtOqFyBmvHtaDcTRGT66o8Czl7nuA8BeHAd9MQV1pQKX0d2RHFBFaw5g3k23hQJt0w=="
+ },
+ "node_modules/motion-utils": {
+ "version": "11.13.0",
+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-11.13.0.tgz",
+ "integrity": "sha512-lq6TzXkH5c/ysJQBxgLXgM01qwBH1b4goTPh57VvZWJbVJZF/0SB31UWEn4EIqbVPf3au88n2rvK17SpDTja1A=="
+ },
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -13997,9 +14009,9 @@
}
},
"node_modules/tailwind-merge": {
- "version": "2.5.3",
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.3.tgz",
- "integrity": "sha512-d9ZolCAIzom1nf/5p4LdD5zvjmgSxY0BGgdSvmXIoMYAiPdAW/dSpP7joCDYFY7r/HkEa2qmPtkgsu0xjQeQtw==",
+ "version": "2.5.5",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.5.tgz",
+ "integrity": "sha512-0LXunzzAZzo0tEPxV3I297ffKZPlKDrjj7NXphC8V5ak9yHC5zRmxnOe2m/Rd/7ivsOMJe3JZ2JVocoDdQTRBA==",
"license": "MIT",
"funding": {
"type": "github",
diff --git a/package.json b/package.json
index b820441..c4c0842 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"crypto": "^1.0.1",
- "framer-motion": "^11.11.1",
+ "framer-motion": "^11.13.5",
"gsap": "^3.12.5",
"ioredis": "^5.4.1",
"jest": "^29.7.0",
@@ -73,7 +73,7 @@
"react-icons": "^5.3.0",
"resend": "^4.0.0",
"sonner": "^1.5.0",
- "tailwind-merge": "^2.5.3",
+ "tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7",
"three": "^0.169.0",
"uploadthing": "^7.0.2",
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 249e778..c99d739 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -10,6 +10,7 @@ import HeroHighlight from "@/components/widget/hero";
import Footer from "@/components/common/contact-page";
import CTA from "@/components/common/cta-section-2";
import Nav from "@/components/widget/header";
+import { SponsorSection } from "@/components/common/sponsor-section";
export default function Home() {
// const [loading, setLoading] = useState(true);
@@ -52,6 +53,7 @@ export default function Home() {
+
diff --git a/src/components/common/sponsor-card.tsx b/src/components/common/sponsor-card.tsx
new file mode 100644
index 0000000..aae1c03
--- /dev/null
+++ b/src/components/common/sponsor-card.tsx
@@ -0,0 +1,25 @@
+import Image from "next/image";
+import { Card } from "@/components/ui/card";
+
+interface SponsorCardProps {
+ name: string;
+ logoUrl: string;
+}
+
+export function SponsorCard({ name, logoUrl }: SponsorCardProps) {
+ return (
+
+
+
+
+
+ );
+}
diff --git a/src/components/common/sponsor-section.tsx b/src/components/common/sponsor-section.tsx
new file mode 100644
index 0000000..b5a774e
--- /dev/null
+++ b/src/components/common/sponsor-section.tsx
@@ -0,0 +1,51 @@
+import { SponsorCard } from "./sponsor-card";
+import { tedxsjecAssetsPrefix } from "@/lib/utils";
+import { bronzeSponsors, goldSponsors, platinumSponsors } from "@/constants";
+
+export function SponsorSection() {
+ return (
+
+
+
+ Our Sponsors
+
+
+ Platinum Sponsors
+
+
+ {platinumSponsors.map((sponsor) => (
+
+ ))}
+
+
+ Gold Sponsors
+
+
+ {goldSponsors.map((sponsor) => (
+
+ ))}
+
+
+ Bronze Sponsors
+
+
+ {bronzeSponsors.map((sponsor) => (
+
+ ))}
+
+
+
+ );
+}
diff --git a/src/constants/index.ts b/src/constants/index.ts
index e438240..d599133 100644
--- a/src/constants/index.ts
+++ b/src/constants/index.ts
@@ -1,5 +1,5 @@
import { tedxsjecAssetsPrefix } from "@/lib/utils";
-import { PerformerSection, PreviousEdition, Speaker } from "@/types";
+import { PerformerSection, PreviousEdition, Speaker, Sponsors } from "@/types";
export const basePrice = 980.39;
export const initialdiscount = 0;
@@ -182,3 +182,96 @@ export const prevEdition20: PreviousEdition[] = [
img: `${tedxsjecAssetsPrefix}/prev/2020/image7.jpg`,
},
];
+
+export const platinumSponsors: Sponsors[] = [
+ {
+ name: "Karnataka Bank",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/KBL-removebg-preview.avif`,
+ },
+ {
+ name: "KarMic Design",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/KarMic Design.avif`,
+ },
+ {
+ name: "YES Bank",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/yes_bank.avif`,
+ },
+ {
+ name: "Marian Projects Pvt. Ltd.",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Marian.avif`,
+ },
+ {
+ name: "Emdees",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Emdees.avif`,
+ },
+];
+
+export const goldSponsors: Sponsors[] = [
+ {
+ name: "Impelsys",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Impelsys2.avif`,
+ },
+ {
+ name: "Sri Sweets",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Sri_Sweets-removebg-preview(1).avif`,
+ },
+ {
+ name: "iSKEW Learning",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/iSKEW Learning.avif`,
+ },
+];
+export const silverSponsors: Sponsors[] = [
+ {
+ name: "StraeCon",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Straecon.avif`,
+ },
+ {
+ name: "Motilal Oswal",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Motilal.avif`,
+ },
+
+ {
+ name: "S L Shet",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/S L Shet logo .avif`,
+ },
+ {
+ name: "River Roost Resort",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/River-Roost-Resort-Logo.avif`,
+ },
+ {
+ name: "JV Global",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/JV Global.avif`,
+ },
+ {
+ name: "CASHCADE",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/CASHCADE.avif`,
+ },
+];
+
+export const bronzeSponsors: Sponsors[] = [
+ {
+ name: "Priya Agencies",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Priya Agencies.avif`,
+ },
+
+ {
+ name: "Shubha Mangala Oil Mills",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Shubha_Mangala_Oil_Mills-removebg-preview.avif`,
+ },
+ {
+ name: "Accolade Tech Solutions",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Accolade.avif`,
+ },
+ {
+ name: "St. Francis Xavier Church, Bejai",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/St. Francis Xavier Church, Bejai.avif`,
+ },
+ {
+ name: "Brevera Technologies",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/Brevera Technologies.avif`,
+ },
+ {
+ name: "RÊVE Nails and Beauty Lounge",
+ logoUrl: `${tedxsjecAssetsPrefix}/sponsors/WhatsApp Image 2024-12-11 at 14.51.02.avif`,
+ },
+];
diff --git a/src/types/index.ts b/src/types/index.ts
index ecd13bf..6df112f 100644
--- a/src/types/index.ts
+++ b/src/types/index.ts
@@ -21,6 +21,10 @@ export interface PreviousEdition {
id: number;
img: string;
}
+export interface Sponsors {
+ name: string;
+ logoUrl: string;
+}
export interface EmailOptions {
from: string;