import { Container, Flex, Link } from "@chakra-ui/react"; import { featureEnabled } from "../lib/features"; import NextLink from "next/link"; import Image from "next/image"; import UserInfo from "../(auth)/userInfo"; import AuthWrapper from "./AuthWrapper"; import { RECORD_A_MEETING_URL } from "../api/urls"; export default async function AppLayout({ children, }: { children: React.ReactNode; }) { return ( {/* Logo on the left */} Reflector

Reflector

Capture the signal, not the noise

{/* Text link on the right */} Create {featureEnabled("browse") ? ( <>  ·  Browse ) : ( <> )} {featureEnabled("rooms") ? ( <>  ·  Rooms ) : ( <> )} {featureEnabled("requireLogin") ? ( <>  ·  ) : ( <> )}
{children}
); }