diff --git a/app/events/page.tsx b/app/(main)/events/page.tsx similarity index 100% rename from app/events/page.tsx rename to app/(main)/events/page.tsx diff --git a/app/layout.tsx b/app/(main)/layout.tsx similarity index 76% rename from app/layout.tsx rename to app/(main)/layout.tsx index 8960723..1f7d1a0 100644 --- a/app/layout.tsx +++ b/app/(main)/layout.tsx @@ -1,10 +1,10 @@ import { ReactNode } from "react" import type { Metadata } from "next" -import "./globals.css" -import { Header } from "./components/Header" -import { Footer } from "./components/Footer" -import { siteConfig } from "./siteConfig" -import StyledComponentsRegistry from "./StyledComponentsRegistry" +import "../globals.css" +import { Header } from "../components/Header" +import { Footer } from "../components/Footer" +import { siteConfig } from "../siteConfig" +import StyledComponentsRegistry from "../StyledComponentsRegistry" export const metadata: Metadata = { title: siteConfig.title, diff --git a/app/page.tsx b/app/(main)/page.tsx similarity index 98% rename from app/page.tsx rename to app/(main)/page.tsx index 9306325..2c90697 100644 --- a/app/page.tsx +++ b/app/(main)/page.tsx @@ -2,9 +2,9 @@ import { useRef } from "react" import styled from "styled-components" import { motion, useInView } from "framer-motion" -import { PotionBackground } from "./components/PotionBackground" -import { organizers } from "./info/organizers" -import { links } from "./siteConfig" +import { PotionBackground } from "../components/PotionBackground" +import { organizers } from "../info/organizers" +import { links } from "../siteConfig" export default function Home() { // Add refs for each animated section diff --git a/app/(talk)/layout.tsx b/app/(talk)/layout.tsx new file mode 100644 index 0000000..78cb1b3 --- /dev/null +++ b/app/(talk)/layout.tsx @@ -0,0 +1,40 @@ +import { ReactNode } from "react" +import type { Metadata } from "next" +import "../globals.css" +import { Header } from "../components/Header" +import { siteConfig } from "../siteConfig" +import StyledComponentsRegistry from "../StyledComponentsRegistry" + +export const metadata: Metadata = { + title: siteConfig.title, + description: siteConfig.description, + openGraph: { + type: "website", + url: siteConfig.url, + title: siteConfig.title, + description: siteConfig.description, + images: siteConfig.ogImage + } +} + +export default function TalkRootLayout({ + children +}: Readonly<{ + children: ReactNode +}>) { + return ( + +
+ + + + ++ Share your expertise with our community! Your presentation will be recorded and + broadcasted to reach developers worldwide. +
+