feat: custom branding (#112)
* add first concept * remove setup status * split config page in multiple components * add custom branding docs * add test email button * fix invalid email from header * add migration * mount images to host * update docs * remove unused endpoint * run formatter
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Head from "next/head";
|
||||
import useConfig from "../hooks/config.hook";
|
||||
|
||||
const Meta = ({
|
||||
title,
|
||||
@@ -7,7 +8,9 @@ const Meta = ({
|
||||
title: string;
|
||||
description?: string;
|
||||
}) => {
|
||||
const metaTitle = `${title} - Pingvin Share`;
|
||||
const config = useConfig();
|
||||
|
||||
const metaTitle = `${title} - ${config.get("general.appName")}`;
|
||||
|
||||
return (
|
||||
<Head>
|
||||
@@ -19,7 +22,6 @@ const Meta = ({
|
||||
description ?? "An open-source and self-hosted sharing platform."
|
||||
}
|
||||
/>
|
||||
<meta property="og:image" content="/img/opengraph-default.png" />
|
||||
<meta name="twitter:title" content={metaTitle} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
</Head>
|
||||
|
||||
Reference in New Issue
Block a user