Create Compatibility Page

This commit is contained in:
Isaac Marovitz 2023-05-30 17:59:30 -04:00
parent 7d77a27691
commit 40aba60f29
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
5 changed files with 18 additions and 3 deletions

View File

@ -2,7 +2,7 @@ NODE_ENV=development
VITE_BLOG_URL=https://blog.ryujinx.org
VITE_FAQ_URL=https://ryujinx.org/faq
VITE_COMPATIBILITY_URL=https://github.com/Ryujinx/Ryujinx-Games-List/issues
VITE_COMPATIBILITY_URL=https://api.github.com/repos/Ryujinx/Ryujinx-Games-List/issues
VITE_GUIDE_URL=https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Configuration-Guide
VITE_DISCORD_URL=https://discord.gg/VkQYXAZ
VITE_RELEASE_URL=https://api.github.com/repos/Ryujinx/release-channel-master/releases/latest

View File

@ -2,7 +2,7 @@ NODE_ENV=production
VITE_BLOG_URL=https://blog.ryujinx.org
VITE_FAQ_URL=https://ryujinx.org/faq
VITE_COMPATIBILITY_URL=https://github.com/Ryujinx/Ryujinx-Games-List/issues
VITE_COMPATIBILITY_URL=https://api.github.com/repos/Ryujinx/Ryujinx-Games-List/issues
VITE_GUIDE_URL=https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Configuration-Guide
VITE_DISCORD_URL=https://discord.gg/VkQYXAZ
VITE_RELEASE_URL=https://api.github.com/repos/Ryujinx/release-channel-master/releases/latest

View File

@ -22,6 +22,6 @@ export const navigations: NavigationNode[] = [
},
{
name : i18n.global.t("navigations.compatibility"),
href: import.meta.env.VITE_COMPATIBILITY_URL
to: "compatibility"
}
];

View File

@ -1,6 +1,7 @@
const HomePage = () => import("@/views/HomePage.vue");
const DownloadPage = () => import("@/views/DownloadPage.vue");
const ContributePage = () => import("@/views/ContributePage.vue");
const CompatibilityPage = () => import("@/views/CompatibilityPage.vue");
export default [
{
@ -13,4 +14,9 @@ export default [
name: "contribute",
component: ContributePage,
},
{
path: "compatibility",
name: "compatibility",
component: CompatibilityPage,
},
];

View File

@ -0,0 +1,9 @@
<script lang="ts" setup>
import { useI18n } from "vue-i18n";
const COMPATIBILITY_URL = import.meta.env.VITE_COMPATIBILITY_URL;
const { t } = useI18n();
</script>
<template>
</template>