diff --git a/package-lock.json b/package-lock.json index 3d352aa..51766a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,7 @@ "class-variance-authority": "^0.7.1", "cloudinary": "^2.8.0", "clsx": "^2.1.1", + "embla-carousel": "^8.6.0", "embla-carousel-react": "^8.6.0", "framer-motion": "^12.23.6", "lucide-react": "^0.539.0", @@ -165,7 +166,6 @@ "version": "1.7.1", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.1.tgz", "integrity": "sha512-PVtJr5CmLwYAU9PZDMITZoR5iAOShYREoR45EyyLrbntV50mdePTgUn4AmOw90Ifcj+x2kRjdzr1HP3RrNiHGA==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -466,7 +466,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -489,7 +488,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -512,7 +510,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -529,7 +526,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -546,7 +542,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -563,7 +558,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -580,7 +574,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -597,7 +590,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -614,7 +606,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -631,7 +622,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -648,7 +638,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -665,7 +654,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -682,7 +670,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -705,7 +692,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -728,7 +714,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -751,7 +736,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -774,7 +758,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -797,7 +780,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -820,7 +802,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -843,7 +824,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -866,7 +846,6 @@ "cpu": [ "wasm32" ], - "dev": true, "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", "optional": true, "dependencies": { @@ -886,7 +865,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "Apache-2.0 AND LGPL-3.0-or-later", "optional": true, "os": [ @@ -906,7 +884,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "Apache-2.0 AND LGPL-3.0-or-later", "optional": true, "os": [ @@ -926,7 +903,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "Apache-2.0 AND LGPL-3.0-or-later", "optional": true, "os": [ diff --git a/package.json b/package.json index 3d1965b..6244a52 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "class-variance-authority": "^0.7.1", "cloudinary": "^2.8.0", "clsx": "^2.1.1", + "embla-carousel": "^8.6.0", "embla-carousel-react": "^8.6.0", "framer-motion": "^12.23.6", "lucide-react": "^0.539.0", diff --git a/src/app/globals.css b/src/app/globals.css index 341b48e..110beb1 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -18,6 +18,7 @@ --font-jost: var(--font-jost); --font-space-grotesk: var(--font-space-grotesk); + --font-bebas-neue: var(--font-bebas-neue); --text-body: rgba(250, 250, 250, 0.562); --detail-medium-contrast: rgba(89, 83, 172, 0.452); @@ -283,6 +284,10 @@ html { animation: pulse-subtle 5s ease-in-out infinite; } +.cta-border-spin { + background: conic-gradient(from 90deg at 50% 50%, #04000f 0%, #dadadaa9 35%, #905aee 40%, #04000f 100%); +} + .animate-sparkle-1 { animation: sparkle-1 8s ease-in-out infinite; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 967eb0e..ad36b5c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,7 @@ import type { Metadata } from "next"; import "./globals.css"; import connectMongoDB from "@/lib/mongodb"; -import { Jost, Space_Grotesk } from "next/font/google"; +import { Jost, Space_Grotesk, Bebas_Neue } from "next/font/google"; import { Analytics } from "@vercel/analytics/next"; import { SpeedInsights } from "@vercel/speed-insights/next"; @@ -19,6 +19,13 @@ const spaceGrotesk = Space_Grotesk({ display: "swap", }); +const bebasNeue = Bebas_Neue({ + subsets: ["latin"], + weight: "400", + variable: "--font-bebas-neue", + display: "swap", +}); + import { config } from "@fortawesome/fontawesome-svg-core"; import "@fortawesome/fontawesome-svg-core/styles.css"; config.autoAddCss = false; @@ -108,7 +115,7 @@ export default function RootLayout({ diff --git a/src/app/page.tsx b/src/app/page.tsx index 4787f3d..1d835f3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,7 +4,6 @@ import { Hero, OceanSurface, Particles, - LoadingScreen, SmoothFollower, Navbar, About, @@ -19,7 +18,6 @@ const Home = () => { return (
-
diff --git a/src/components/general/LoadingScreen.tsx b/src/components/general/LoadingScreen.tsx index b10d75b..01aa20f 100644 --- a/src/components/general/LoadingScreen.tsx +++ b/src/components/general/LoadingScreen.tsx @@ -54,8 +54,7 @@ export default function LoadingScreen() { // checks if we need to show splashpage (only shows on intial load) if (typeof window !== "undefined") { - const splashShown = sessionStorage.getItem("splashShown"); - if (!splashShown) { + if (false) { // if (!sessionStorage.getItem("splashShown")) setShowSplash(true); sessionStorage.setItem("splashShown", "true"); lockScroll(); diff --git a/src/components/general/Navbar.tsx b/src/components/general/Navbar.tsx index 6b48c73..a1f9e77 100644 --- a/src/components/general/Navbar.tsx +++ b/src/components/general/Navbar.tsx @@ -14,12 +14,12 @@ const Navbar: React.FC = () => { // Filter nav items based on enabled features const navItems: Record = { - Home: "/#Hero", + // Home: "/#Hero", About: "/#About", - Gallery: "/#Gallery", + // Gallery: "/#Gallery", Sponsors: "/#Sponsors", - Pricing: "/#Pricing", - Faq: "/#Faq", + // Pricing: "/#Pricing", + // Faq: "/#Faq", Speakers: "/speakers", "The Team": "/team", }; diff --git a/src/components/home/Hero.tsx b/src/components/home/Hero.tsx index 6e367a3..a8144a0 100644 --- a/src/components/home/Hero.tsx +++ b/src/components/home/Hero.tsx @@ -2,11 +2,6 @@ import React from "react"; import Image from "next/image"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faMicrophone } from "@fortawesome/free-solid-svg-icons"; -import { faUserPlus } from "@fortawesome/free-solid-svg-icons"; -import { faArrowUpRightFromSquare } from "@fortawesome/free-solid-svg-icons"; -import Link from "next/link"; const Hero: React.FC = () => { return ( @@ -60,7 +55,7 @@ const Hero: React.FC = () => {
-
+ {/*
); diff --git a/src/components/home/gallery/Gallery.tsx b/src/components/home/gallery/Gallery.tsx index 270fbec..5250d8f 100644 --- a/src/components/home/gallery/Gallery.tsx +++ b/src/components/home/gallery/Gallery.tsx @@ -1,7 +1,8 @@ "use server"; -import EmblaCarousel from "./embla/EmblaCarousel"; +import React from "react"; import { EmblaOptionsType } from "embla-carousel"; +import EmblaCarousel from "./embla/EmblaCarousel"; import "../../../app/embla.css"; const slideImages: string[] = [ diff --git a/src/components/home/gallery/embla/EmblaCarousel.tsx b/src/components/home/gallery/embla/EmblaCarousel.tsx index f9e91c3..37bc2dd 100644 --- a/src/components/home/gallery/embla/EmblaCarousel.tsx +++ b/src/components/home/gallery/embla/EmblaCarousel.tsx @@ -101,7 +101,7 @@ const EmblaCarousel: React.FC = (props) => { .on("reInit", tweenParallax) .on("scroll", tweenParallax) .on("slideFocus", tweenParallax); - }, [emblaApi, tweenParallax]); + }, [emblaApi, tweenParallax, setTweenFactor, setTweenNodes]); return (
@@ -111,6 +111,7 @@ const EmblaCarousel: React.FC = (props) => {
+ {/* eslint-disable-next-line @next/next/no-img-element */}