Skip to content

Commit a46a048

Browse files
committed
docs(playground): add links to repo and docs
1 parent aba15be commit a46a048

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

playground/app/pages/index.vue

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,31 @@ const parsedRecipe = computed(() => {
5959
<div class="h-screen w-full p-4">
6060
<div class="mb-2 flex justify-between">
6161
<div class="flex flex-col gap-1">
62-
<h1 class="text-2xl font-bold md:text-3xl">
62+
<h1 class="text-xl font-bold md:text-3xl">
6363
<b>@tmlmt/cooklang-parser</b>
6464
</h1>
6565
<div class="text-lg font-semibold">Playground</div>
6666
</div>
6767
<div class="flex flex-col items-end justify-around gap-1">
68-
<UColorModeButton />
68+
<div class="flex items-center">
69+
<UButton
70+
to="https://github.com/tmlmt/cooklang-parser"
71+
target="_blank"
72+
class="hover:bg-elevated active:bg-accented h-8 w-6 bg-transparent md:w-7 dark:bg-neutral-900"
73+
><UIcon
74+
name="mdi:github"
75+
class="dark:focus:bg-royal-800 size-5 shrink-0 bg-gray-700 dark:bg-white"
76+
/></UButton>
77+
<UButton
78+
to="https://cooklang-parser.tmlmt.com/v3"
79+
target="_blank"
80+
class="hover:bg-elevated active:bg-accented h-8 w-7 bg-transparent md:w-8 dark:bg-neutral-900"
81+
><UIcon
82+
name="material-symbols:docs"
83+
class="size-5 shrink-0 bg-gray-700 dark:bg-white"
84+
/></UButton>
85+
<UColorModeButton />
86+
</div>
6987
<div class="mb-1 text-xs md:text-sm">{{ fullVersion }}</div>
7088
</div>
7189
</div>

0 commit comments

Comments
 (0)