-
Notifications
You must be signed in to change notification settings - Fork 26
/
index.html
51 lines (46 loc) · 1.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XIV Resources</title>
<meta property="og:title" content="XIV Resources">
<meta name="description" content="A list of websites and tools for FFXIV">
<meta property="og:description" content="A list of websites and tools for FFXIV">
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/petite-vue.iife.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div class="container" id="app" v-scope @mounted="created()">
<div class="text-center">
<h1>XIV Resources</h1>
<p>
A list of websites, APIs, and tools for FFXIV.
<a href="https://github.com/karashiiro/xiv-resources/blob/main/CONTRIBUTING.md">Contributions</a> are welcome.
</p>
</div>
<div class="text-center">
<a :href="`#${nameToId(category)}`" v-for="category in resources" class="btn btn-secondary m-1">
{{ category.name }}
</a>
</div>
<div v-for="category in resources">
<hr>
<h3 :id="nameToId(category)">{{ category.name }}</h3>
<div v-if="category.description.length > 0" class="card">
<div class="card-body">
<p class="card-text" v-html="formatDescription(category.description)"></p>
</div>
</div>
<ul>
<li v-for="resource in category.resources">
<b><a :href="resource.url">{{ resource.name }}</a>:</b> {{ resource.description }}
</li>
</ul>
</div>
</div>
</body>
</html>
<script src="app.js"></script>