docs/index.md

43e4f83ac2ffad58d3b28e01ce839610cc9de396
wotaku/docs/index.md rendered · source · history · blame · raw

124 lines · 6163 bytes

  1---
  2title: Home
  3layout: page
  4sidebar: false
  5aside: false
  6
  7customDescription: A wiki that covers everything weeb-related!
  8
  9features:
 10  - title: Websites
 11    details: Websites for anime, manga, novels & tokusatsu
 12    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3v0a2 2 0 0 1 2 2v0c0 1.1.9 2 2 2v0a2 2 0 0 0 2-2v0c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2v0a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"/><circle cx="12" cy="12" r="10"/></g></svg>
 13    link: /websites.md
 14  - title: Software
 15    details: Software for every Operating System
 16    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/><path d="m3.3 7l8.7 5l8.7-5M12 22V12"/></g></svg>
 17    link: /software.md
 18  - title: Misc-sites
 19    details: Various sites for database, info, tracking news & tools
 20    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/></svg>
 21    link: /misc.md
 22  - title: NSFW
 23    details: hen...
 24    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="m4.9 4.9l14.2 14.2"/></g></svg>
 25    link: /nsfw.md
 26  - title: Extension Repos
 27    details: Extensions for everything
 28    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.39 4.39a1 1 0 0 0 1.68-.474a2.5 2.5 0 1 1 3.014 3.015a1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474a2.5 2.5 0 1 0-3.014 3.015a1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474a2.5 2.5 0 1 1-3.014-3.015a1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474a2.5 2.5 0 1 0 3.014-3.015a1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"/></svg>
 29    link: /ext
 30  - title: Guides
 31    details: Various technical guides and tutorials
 32    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m19 3l1 1m0-2l-4.5 4.5M20 7.898V21a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2h7.844"/><circle cx="14" cy="8" r="2"/></g></svg>
 33    link: /guides
 34  - title: Glossary
 35    details: Learn the most frequently used otaku terms
 36    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 7v14m-9-3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4a4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3a3 3 0 0 0-3-3z"/></svg>
 37    link: /glossary
 38  - title: Torrenting
 39    details: All the basic how-tos about torrenting
 40    icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m12 15l4 4M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282zM5 8l4 4"/></svg>
 41    link: /torrenting
 42---
 43
 44<script setup>
 45import { useData } from 'vitepress'
 46import { VPFeatures } from 'vitepress/theme'
 47import DevOnly from './.vitepress/theme/components/DevOnly.vue'
 48
 49const { frontmatter } = useData()
 50</script>
 51
 52<main class="wotaku-home">
 53  <section class="wotaku-hero" aria-labelledby="wotaku-hero-title">
 54    <img class="wotaku-hero-logo" src="/asset/hero.svg" alt="Wotaku" />
 55  </section>
 56
 57  <VPFeatures :features="frontmatter.features" />
 58</main>
 59
 60<DevOnly>
 61  <div class="vp-doc vp-doc-content">
 62    Sandbox: <a href="/sandbox">/sandbox</a>
 63  </div>
 64</DevOnly>
 65
 66<style scoped>
 67.wotaku-home {
 68  padding: 48px 0 72px;
 69}
 70
 71.wotaku-hero {
 72  display: flex;
 73  flex-direction: column;
 74  align-items: center;
 75  margin: 0 auto 56px;
 76  padding: 0 24px;
 77  max-width: 960px;
 78  text-align: center;
 79}
 80
 81.wotaku-hero-logo {
 82  margin-bottom: 24px;
 83  width: min(280px, 72vw);
 84  height: auto;
 85}
 86
 87@media (min-width: 640px) {
 88  .wotaku-hero-logo {
 89    width: 420px;
 90  }
 91}
 92
 93.wotaku-hero h1 {
 94  margin: 0;
 95  max-width: 760px;
 96  border-top: 0;
 97  padding-top: 0;
 98  line-height: 1.05;
 99  font-size: clamp(48px, 8vw, 76px);
100  font-weight: 800;
101  letter-spacing: -0.04em;
102  color: var(--vp-c-text-1);
103}
104
105.wotaku-hero-description {
106  margin: 20px 0 0;
107  max-width: 620px;
108  line-height: 1.6;
109  font-size: 20px;
110  font-weight: 500;
111  color: var(--vp-c-text-2);
112}
113
114@media (min-width: 640px) {
115  .wotaku-home {
116    padding-top: 72px;
117  }
118
119  .wotaku-hero {
120    margin-bottom: 72px;
121    padding: 0 48px;
122  }
123}
124</style>