Skip to content

Commit dc54523

Browse files
committed
docs: improve last section
1 parent f1593a9 commit dc54523

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/components/UInputCopy.vue

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ const { copy, copied } = useClipboard()
1818
<div class="absolute inset-0" :class="[copied ? 'cursor-default' : 'cursor-copy']" @click="copy(value)" />
1919
<template #trailing>
2020
<UButton
21-
color="gray" variant="link"
21+
:icon="copied ? 'i-ph-check' : 'i-ph-copy'"
22+
color="gray"
23+
variant="link"
24+
:padded="false"
2225
:class="{ 'text-green-500 hover:text-green-500 dark:text-green-400 hover:dark:text-green-400': copied }"
23-
aria-label="copy button" @click="copy(value)"
26+
aria-label="copy button"
27+
@click="copy(value)"
2428
/>
2529
</template>
2630
</UInput>

docs/content/0.index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ journey:
302302
- name: 'Start from NuxtHub template'
303303
description: 'Choose one of our open source templates and start from it.'
304304
img: '/images/landing/journey-console.svg'
305-
to: https://github.com/topics/nuxthub
305+
to: /templates
306306
- name: 'Create an empty project'
307307
description: 'Create a NuxtHub project from scratch and deploy it with NuxtHub CLI.'
308308
img: '/images/landing/journey-brackets.svg'

0 commit comments

Comments
 (0)