Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ import { SidebarNav } from "../components/sidebar-nav.tsx";
import { getAccess } from "../lib/access.ts";
import { signOut } from "./sign-in/actions.ts";

const title = "RawTree Web Analytics";
const description = "Dashboard and replay for the events collected by @rawtree/analytics.";

// app/opengraph-image.png supplies og:image; on Vercel, Next resolves it against the production domain.
export const metadata: Metadata = {
title: "RawTree Web Analytics",
description: "Dashboard and replay for the events collected by @rawtree/analytics.",
title,
description,
openGraph: { title, description, siteName: "RawTree", type: "website" },
twitter: { card: "summary_large_image", title, description },
};

export default async function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
Binary file added app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading