Skip to content

Commit

Permalink
docs: improve last section
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Aug 23, 2024
1 parent f1593a9 commit dc54523
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docs/components/UInputCopy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ const { copy, copied } = useClipboard()
<div class="absolute inset-0" :class="[copied ? 'cursor-default' : 'cursor-copy']" @click="copy(value)" />
<template #trailing>
<UButton
color="gray" variant="link"
:icon="copied ? 'i-ph-check' : 'i-ph-copy'"
color="gray"
variant="link"
:padded="false"
:class="{ 'text-green-500 hover:text-green-500 dark:text-green-400 hover:dark:text-green-400': copied }"
aria-label="copy button" @click="copy(value)"
aria-label="copy button"
@click="copy(value)"
/>
</template>
</UInput>
Expand Down
2 changes: 1 addition & 1 deletion docs/content/0.index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ journey:
- name: 'Start from NuxtHub template'
description: 'Choose one of our open source templates and start from it.'
img: '/images/landing/journey-console.svg'
to: https://github.com/topics/nuxthub
to: /templates
- name: 'Create an empty project'
description: 'Create a NuxtHub project from scratch and deploy it with NuxtHub CLI.'
img: '/images/landing/journey-brackets.svg'
Expand Down

0 comments on commit dc54523

Please sign in to comment.