diff --git a/src/app/conf/2025/components/hero/index.tsx b/src/app/conf/2025/components/hero/index.tsx index adab4cdc89..b7d3eee414 100644 --- a/src/app/conf/2025/components/hero/index.tsx +++ b/src/app/conf/2025/components/hero/index.tsx @@ -56,18 +56,16 @@ export function Hero() { function DateAndLocation() { return ( -
+
- + -
- -
- Amsterdam, Netherlands -
+ +
Amsterdam, Netherlands
) @@ -95,7 +93,7 @@ function Stripes() { }} >
{ + setMobileDrawerOpen(prev => !prev) + }, []) + + useEffect(() => { + setMobileDrawerOpen(false) + }, [pathname]) + + const navbarHeight = "70px" + + return ( + <> +
+
+ +
+
+ + + + / GraphQLConf {year} +
+ + {mobileDrawerOpen && ( +
+ )} + + + + +
+
+ + ) +} + +function GraphQLLogo(props: React.SVGProps) { + return ( + + + + + + + + + + ) +} + +function BackdropBlur() { + const mask = "linear-gradient(to bottom, #000 0% 50%, transparent 50% 100%)" + const edgeMask = + "linear-gradient(to bottom, black 0, black 1.1px, transparent 1.1px)" + return ( + <> +
+
+ + ) +} diff --git a/src/app/conf/2025/layout.tsx b/src/app/conf/2025/layout.tsx index 5cc02638a8..271ae1807c 100644 --- a/src/app/conf/2025/layout.tsx +++ b/src/app/conf/2025/layout.tsx @@ -1,11 +1,11 @@ import { ReactElement, ReactNode } from "react" import { Metadata } from "next" -import { Header } from "../_components/header" import { Footer } from "../_components/footer" import { GraphQLConf, HostedByGraphQLFoundation } from "@/icons" import NextLink from "next/link" import { NewFontsStyleTag } from "../../fonts" import "../../colors.css" +import { Navbar } from "./components/navbar" // @ts-expect-error: we want to import the same version as Nextra for the main page import { ThemeProvider } from "next-themes" @@ -36,16 +36,8 @@ export default function Layout({ return ( <> -
- - 2025 - - } + -
{children}
+
{children}