Improve head tags (#1250)

This commit is contained in:
Erik Vroon
2025-05-28 12:03:15 +02:00
committed by GitHub
parent d3f7018b1a
commit c93fd992cd
2 changed files with 26 additions and 2 deletions

View File

@@ -6,15 +6,39 @@ import { Cta } from "../components/Cta";
import "./page.css";
import { PreviewImage } from "../components/PreviewImage";
import { Metadata } from "next";
import { Head } from "nextra/components";
export const metadata: Metadata = {
title: "Bracket",
title: "Bracket | Open-source tournament system",
description:
"Bracket (documentation) - free and open-source tournament system",
"Bracket is a free and open source tournament system. Set up a tournament, add teams, schedule matches, track scores and present live rankings.",
openGraph: {
title: "Bracket | Open-source tournament system",
description:
"Bracket is a free and open source tournament system. Set up a tournament, add teams, schedule matches, track scores and present live rankings.",
locale: "en_US",
url: "https://docs.bracketapp.nl",
siteName: "Bracket",
images: [{ url: "https://docs.bracketapp.nl/bracket-social-image.png" }],
},
};
export default function Page() {
return (
<>
<Head>
{
// https://developers.google.com/search/docs/appearance/site-names#json-ld_1
}
<script type="application/ld+json">
{"{" +
'"@context": "https://schema.org",' +
'"@type": "WebSite",' +
'"name": "Bracket",' +
'"alternativeName": ["Bracket | Open-source tournament system", "Bracket documentation", "docs.bracketapp.nl"],' +
'"url": "https://docs.bracketapp.nl"' +
"}"}
</script>
</Head>
<Hero />
<PreviewImage />
<About />

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB