feat: add hub additional html

This commit is contained in:
kwaroran
2024-06-10 16:11:49 +09:00
parent 110241465c
commit ccb3d94ef7
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { downloadRisuHub, getRisuHub, type hubType } from "src/ts/characterCards";
import { downloadRisuHub, getRisuHub, hubAdditionalHTML, type hubType } from "src/ts/characterCards";
import { ArrowLeft, ArrowRight, MenuIcon, SearchIcon, XIcon } from "lucide-svelte";
import { alertInput } from "src/ts/alert";
import { language } from "src/lang";
@@ -91,6 +91,7 @@
{language.random}
</button>
</div>
{@html hubAdditionalHTML}
<div class="w-full flex gap-4 p-2 flex-wrap justify-center">
{#key charas}
{#each charas as chara}