mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 14:28:10 +09:00
feat: add keyboard shortcut helper link or button (#2365)
This commit is contained in:
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
Block a user