mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 15:41:59 +01:00
Adds download page (#266)
Co-authored-by: Ken Swenson <flat@esoteric.moe>
This commit is contained in:
parent
9af22f6930
commit
4bcf3c1145
5
package-lock.json
generated
5
package-lock.json
generated
@ -9022,6 +9022,11 @@
|
||||
"integrity": "sha512-TAIHTHPwa9+ltKvKPWulm/beozQU41Ab+FIefRaQV1NRnpzwcV9QOe6wXQS5WLivm5Q/nlo0rl6laGkMDZE7Gw==",
|
||||
"dev": true
|
||||
},
|
||||
"marked": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/marked/-/marked-1.1.1.tgz",
|
||||
"integrity": "sha512-mJzT8D2yPxoPh7h0UXkB+dBj4FykPJ2OIfxAWeIHrvoHDkFxukV/29QxoFQoPM6RLEwhIFdJpmKBlqVM3s2ZIw=="
|
||||
},
|
||||
"material-design-icons": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/material-design-icons/-/material-design-icons-3.0.1.tgz",
|
||||
|
@ -36,6 +36,7 @@
|
||||
"iso-639-1": "^2.1.3",
|
||||
"lodash.groupby": "^4.6.0",
|
||||
"lodash.sortby": "^4.7.0",
|
||||
"marked": "^1.1.1",
|
||||
"material-design-icons": "^3.0.1",
|
||||
"vue-agile": "^1.1.3",
|
||||
"vue-material-design-icons": "^4.7.1",
|
||||
|
31
src/.vuepress/components/ReleaseNotes.vue
Normal file
31
src/.vuepress/components/ReleaseNotes.vue
Normal file
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div v-html="releaseNotes" class="releaseNotes"></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import axios from "axios";
|
||||
import marked from "marked";
|
||||
|
||||
const RELEASE_URL =
|
||||
"https://api.github.com/repos/inorichi/tachiyomi/releases/latest";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
releaseNotes: "",
|
||||
};
|
||||
},
|
||||
|
||||
async mounted() {
|
||||
const { data } = await axios.get(RELEASE_URL);
|
||||
this.$data.releaseNotes = marked(data.body);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="stylus">
|
||||
.releaseNotes
|
||||
white-space
|
||||
h3
|
||||
font-size 1.1rem
|
||||
</style>
|
@ -1,5 +1,6 @@
|
||||
module.exports = [
|
||||
{ text: "Home", link: "/" },
|
||||
{ text: "Help Center", link: "/help/" },
|
||||
{ text: "Download", link: "/download/" },
|
||||
{ text: "Extensions", link: "/extensions/" },
|
||||
];
|
||||
|
@ -27,6 +27,10 @@ module.exports = {
|
||||
title: "Contribution",
|
||||
path: "/help/contribution",
|
||||
},
|
||||
{
|
||||
title: "Download",
|
||||
path: "/download/",
|
||||
},
|
||||
{
|
||||
title: "Extensions",
|
||||
path: "/extensions/",
|
||||
@ -50,6 +54,10 @@ module.exports = {
|
||||
title: "Contribution",
|
||||
path: "/help/contribution",
|
||||
},
|
||||
{
|
||||
title: "Download",
|
||||
path: "/download/",
|
||||
},
|
||||
{
|
||||
title: "Extensions",
|
||||
path: "/extensions/",
|
||||
@ -75,6 +83,10 @@ module.exports = {
|
||||
sidebarDepth: 1,
|
||||
children: ["/help/contribution"],
|
||||
},
|
||||
{
|
||||
title: "Download",
|
||||
path: "/download/",
|
||||
},
|
||||
{
|
||||
title: "Extensions",
|
||||
path: "/extensions/",
|
||||
@ -98,6 +110,10 @@ module.exports = {
|
||||
title: "Contribution",
|
||||
path: "/help/contribution",
|
||||
},
|
||||
{
|
||||
title: "Download",
|
||||
path: "/download/",
|
||||
},
|
||||
{
|
||||
title: "Extensions",
|
||||
path: "/extensions/",
|
||||
@ -121,6 +137,10 @@ module.exports = {
|
||||
title: "Contribution",
|
||||
path: "/help/contribution",
|
||||
},
|
||||
{
|
||||
title: "Download",
|
||||
path: "/download/",
|
||||
},
|
||||
{
|
||||
title: "Extensions",
|
||||
path: "/extensions/",
|
||||
|
@ -1,5 +1,8 @@
|
||||
---
|
||||
home: true
|
||||
meta:
|
||||
- name: keywords
|
||||
content: Download, Official, Android app, Manga
|
||||
lang: en-US
|
||||
heroImage: /icons/logo.svg
|
||||
buttonDownload: Download
|
||||
|
22
src/download/README.md
Normal file
22
src/download/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Download
|
||||
description: Download links for the latest versions of Tachiyomi.
|
||||
meta:
|
||||
- name: keywords
|
||||
content: Download, Official, Android app, Manga
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
# Download
|
||||
|
||||
Download the latest version of **Tachiyomi** for your Android device.
|
||||
|
||||
::: aside-guide
|
||||
Latest release: **<VersionTag/>**
|
||||
:::
|
||||
|
||||
<DownloadButtons downloadStableTag="Tachiyomi" downloadPreviewTag="Tachiyomi Preview"/>
|
||||
|
||||
::: guide Release notes
|
||||
<ReleaseNotes/>
|
||||
:::
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Available extensions
|
||||
title: Extensions
|
||||
description: Here is a list of all available extensions to download inside the app.
|
||||
lang: en-US
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user