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

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

41 lines · 1762 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">
32      Online / DDL
33    </Field>
34    <Field icon="i-lucide-magnet">Torrent / p2p</Field>
35    <Field icon="i-iconoir-floppy-disk">Local</Field>
36    <Field icon="i-lucide-mail">Feedback</Field>
37    <Field icon="i-material-symbols-directions-alt">Proxies</Field>
38    <Field icon="i-material-symbols-info-outline-rounded">More Info</Field>
39    <Field icon="i-mdi-arrow-right-bold">Related</Field>
40  </div>
41</template>