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

e5cdd56276a5b927893ee235ac2c8de7c2bc6085
wotaku/docs/.vitepress/theme/components/SidebarCard.vue history · blame · raw

42 lines · 1949 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-help">Help / Docs</Field>
38    <Field icon="i-material-symbols-person-add">Needs account</Field>
39    <Field icon="i-material-symbols-info-outline-rounded">More Info</Field>
40    <Field icon="i-mdi-arrow-right-bold">Related</Field>
41  </div>
42</template>