From 0b27f90fb76a2492c17a958b6dd807e6fbbf8030 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Thu, 7 Dec 2023 16:44:01 -0500 Subject: Titles and navigation --- src/app/layout.tsx | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'src/app/layout.tsx') diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7c5afbe..894e2d0 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,10 +1,36 @@ import { ProgressBar } from '@/components/progress-bar' +import { Button } from '@/components/ui/button' +import { env } from '@/lib/env' import type { Metadata } from 'next' +import Image from 'next/image' +import Link from 'next/link' import './globals.css' export const metadata: Metadata = { - title: 'Create Next App', - description: 'Generated by create next app', + metadataBase: new URL(env.NEXT_PUBLIC_BASE_URL), + title: { + default: 'Spliit · Share expenses with friends and family', + template: '%s · Spliit', + }, + description: + 'Spliit is a minimalist web application to share expenses with friends and family. No ads, no account, no problem.', + openGraph: { + title: 'Spliit · Share expenses with friends and family', + description: + 'Spliit is a minimalist web application to share expenses with friends and family. No ads, no account, no problem.', + images: `/banner.png`, + type: 'website', + url: '/', + }, + twitter: { + card: 'summary_large_image', + creator: '@scastiel', + site: '@scastiel', + images: `/banner.png`, + title: 'Spliit · Share expenses with friends and family', + description: + 'Spliit is a minimalist web application to share expenses with friends and family. No ads, no account, no problem.', + }, } export default function RootLayout({ @@ -16,7 +42,20 @@ export default function RootLayout({ -
{children}
+
+ + +

Spliit

+ +
    +
  • + +
  • +
+
+
{children}
) -- cgit v1.3