import type { ReactNode } from "react"; import { Links, Meta, Outlet, Scripts } from "react-router"; import type { LinksFunction } from "react-router"; import appleTouchIcon from "@/app/assets/favicon/apple-touch-icon.png?url"; import favicon16 from "@/app/assets/favicon/favicon-16x16.png?url"; import favicon32 from "@/app/assets/favicon/favicon-32x32.png?url"; import faviconIco from "@/app/assets/favicon/favicon.ico?url"; import globalStyles from "@/styles/globals.css?url"; import type { Route } from "./+types/root"; import { AppProviders } from "./providers"; const APP_TITLE = "Plane | Simple, extensible, open-source project management tool."; const APP_DESCRIPTION = "Open-source project management tool to manage work items, sprints, and product roadmaps with peace of mind."; export const links: LinksFunction = () => [ { rel: "apple-touch-icon", sizes: "180x180", href: appleTouchIcon }, { rel: "icon", type: "image/png", sizes: "32x32", href: favicon32 }, { rel: "icon", type: "image/png", sizes: "16x16", href: favicon16 }, { rel: "shortcut icon", href: faviconIco }, { rel: "manifest", href: `/site.webmanifest.json` }, { rel: "stylesheet", href: globalStyles }, ]; export function Layout({ children }: { children: ReactNode }) { return ( {children} ); } export const meta: Route.MetaFunction = () => [ { title: APP_TITLE }, { name: "description", content: APP_DESCRIPTION }, { property: "og:title", content: APP_TITLE }, { property: "og:description", content: APP_DESCRIPTION }, { property: "og:url", content: "https://plane.so/" }, { name: "keywords", content: "software development, customer feedback, software, accelerate, code management, release management, project management, work items tracking, agile, scrum, kanban, collaboration", }, { name: "twitter:site", content: "@planepowers" }, ]; export default function Root() { return ; } export function HydrateFallback() { return null; } export function ErrorBoundary() { return (

Something went wrong.

); }