docs/.vitepress/theme/components/SidebarCard.vue

77a1b5549bd97065a99a06fb3d01b98058d62a46
wotaku/docs/.vitepress/theme/components/SidebarCard.vue

40 lines · 1817 bytes

 1<!--
 2  Copyright (c) 2024 taskylizard
 3
 4  Licensed under the Apache License, Version 2.0 (the "License");
 5  you may not use this file except in compliance with the License.
 6  You may obtain a copy of the License at
 7
 8  http://www.apache.org/licenses/LICENSE-2.0
 9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15-->
16<script setup lang="ts">
17import Field from './CardField.vue'
18</script>
19
20<template>
21  <div
22    class="bg-$vp-c-bg hover:bg-$vp-c-bg/40 border-$vp-c-default-soft hover:border-primary transition-border relative z-0 rounded-lg border-2 border-solid p-5 duration-500 mt-2"
23  >
24    <div class="align-center mb-4 flex justify-between">
25      <div class="text-$vp-c-text-1 lh-relaxed text-sm font-bold">Legend</div>
26    </div>
27    <Field icon="i-twemoji-glowing-star">Favorite</Field>
28    <Field icon="i-material-symbols-lock-outline">Closed Source</Field>
29    <Field icon="i-material-symbols-credit-card-outline">Paid</Field>
30    <Field icon="i-material-symbols-add-shopping-cart-rounded">Freemium</Field>
31    <Field icon="i-material-symbols-cloud-download-outline-rounded">Online / DDL</Field>
32    <Field icon="i-lucide-magnet">Torrent / p2p</Field>
33    <Field icon="i-iconoir-floppy-disk">Local</Field>
34    <Field icon="i-material-symbols-science">Nightly build</Field>
35    <Field icon="i-lucide-mail">Feedback</Field>
36    <Field icon="i-material-symbols-directions-alt">Proxies</Field>
37    <Field icon="i-material-symbols-info-outline-rounded">More Info</Field>
38    <Field icon="i-mdi-arrow-right-bold">Related</Field>
39  </div>
40</template>
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form