mirror of
https://github.com/evroon/bracket.git
synced 2026-04-26 02:07:13 -04:00
Improve head tags (#1250)
This commit is contained in:
@@ -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 />
|
||||
|
||||
BIN
docs/public/bracket-social-image.png
Normal file
BIN
docs/public/bracket-social-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
Reference in New Issue
Block a user