feat: add keyboard shortcut helper link or button (#2365)
parent
1ac3164d0c
commit
5ef2996b40
|
@ -28,6 +28,9 @@ function toggleDark() {
|
|||
@click="togglePreferences('zenMode')"
|
||||
/>
|
||||
</CommonTooltip>
|
||||
<CommonTooltip :content="$t('magic_keys.dialog_header')">
|
||||
<button flex i-ri:keyboard-box-line dark-i-ri:keyboard-box-line text-lg :aria-label="$t('magic_keys.dialog_header')" @click="toggleKeyboardShortcuts" />
|
||||
</CommonTooltip>
|
||||
<CommonTooltip :content="$t('settings.about.sponsor_action')">
|
||||
<NuxtLink
|
||||
flex
|
||||
|
@ -92,5 +95,10 @@ function toggleDark() {
|
|||
GitHub
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<div>
|
||||
<button hover:underline @click="toggleKeyboardShortcuts">
|
||||
{{ $t('magic_keys.dialog_header') }}
|
||||
</button>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue