From 94bcf88d0e107643b26723b7436e8f3866a8b420 Mon Sep 17 00:00:00 2001 From: Philipp Mandler Date: Sat, 7 Oct 2023 19:55:28 +0200 Subject: [PATCH] Add favicon and title --- src/app/icon.svg | 40 ++++++++++++++++++++++++++++++++++++++++ src/app/layout.tsx | 10 ++++++++++ src/app/pricing/page.tsx | 10 +++++++++- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 src/app/icon.svg diff --git a/src/app/icon.svg b/src/app/icon.svg new file mode 100644 index 0000000..6f19364 --- /dev/null +++ b/src/app/icon.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0e080b1..558a114 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,15 @@ +import { Metadata } from 'next'; import './globals.css'; +export const metadata: Metadata = { + title: { absolute: "transcribee — The open source automatic transcription tool", template: "%s — transcribee" }, + openGraph: { + title: { absolute: "transcribee — The open source automatic transcription tool", template: "%s — transcribee" }, + description: 'The open source automatic transcription tool', + siteName: "transcribee", + }, +} + export default function RootLayout({ children }: { children: React.ReactNode }) { return ( diff --git a/src/app/pricing/page.tsx b/src/app/pricing/page.tsx index f21c0d5..3cdd190 100644 --- a/src/app/pricing/page.tsx +++ b/src/app/pricing/page.tsx @@ -1,6 +1,14 @@ +import { Metadata } from 'next'; import { Page } from '../../components/Page'; -export default function HomePage() { +export const metadata: Metadata = { + title: 'Pricing', + openGraph: { + title: 'Pricing' + } +} + +export default function PricingPage() { return (

Pricing