Add Oh The Trees You'll Grow partner generator

This commit is contained in:
Misode
2024-01-18 07:53:05 +01:00
parent f855c7d938
commit f3b852025d
7 changed files with 201 additions and 50 deletions

View File

@@ -317,7 +317,7 @@ export function SchemaGenerator({ gen, allowedVersions }: Props) {
<main class={`generator${previewShown ? ' has-preview' : ''}${projectShown ? ' has-project' : ''}`}>
{!gen.tags?.includes('partners') && <Ad id="data-pack-generator" type="text" />}
<div class="controls generator-controls">
{gen.wiki && <a class="btn btn-link tooltipped tip-se" aria-label={locale('learn_on_the_wiki')} href={`https://minecraft.wiki/w/${gen.wiki}`} target="_blank">
{gen.wiki && <a class="btn btn-link tooltipped tip-se" aria-label={locale('learn_on_the_wiki')} href={gen.wiki} target="_blank">
{Octicon.mortar_board}
<span>{locale('wiki')}</span>
</a>}