diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 0ec361c..3de588c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,10 +6,11 @@ import { type Metadata } from "next"; import { TRPCReactProvider } from "@/trpc/react"; import { Toaster } from "@/components/ui/sonner"; import { ThemeProvider } from "@/components/theme-provider"; +import { appConfig } from "@/config"; export const metadata: Metadata = { - title: "Create T3 App", - description: "Generated by create-t3-app", + title: appConfig.name, + description: appConfig.description, icons: [{ rel: "icon", url: "/favicon.ico" }], }; diff --git a/src/config/app.config.ts b/src/config/app.config.ts index 4e7baa2..b3e50cc 100644 --- a/src/config/app.config.ts +++ b/src/config/app.config.ts @@ -1,5 +1,6 @@ export type AppConfig = { name: string; + description: string; socials: { discord: string; }; @@ -7,6 +8,7 @@ export type AppConfig = { export const appConfig: AppConfig = { name: "Logipedia", + description: "Logipedia ist Wissen", socials: { discord: "https://discord.com",