aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-09-28 21:30:46 +0200
committerAlystrasz <contact@remyraes.com>2022-09-28 21:30:46 +0200
commit518efdc3526cb8f4ced764beb85bfac145a1b459 (patch)
tree0dc432b6c85c640548dc6d8682b0b9bc4f0ead0a /src-vue/src
parent5c389c65d00accfb75277e4c91b40899e6f3c79f (diff)
downloadFlightCore-518efdc3526cb8f4ced764beb85bfac145a1b459.tar.gz
FlightCore-518efdc3526cb8f4ced764beb85bfac145a1b459.zip
feat: add changelog view component
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/App.vue4
-rw-r--r--src-vue/src/views/ChangelogView.vue23
2 files changed, 26 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index 7fbe4045..219862bd 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -1,4 +1,5 @@
<script lang="ts">
+import ChangelogView from './views/ChangelogView.vue';
import DeveloperView from './views/DeveloperView.vue';
import PlayView from './views/PlayView.vue';
import SettingsView from './views/SettingsView.vue';
@@ -7,6 +8,7 @@ import { store } from './plugins/store';
export default {
components: {
+ ChangelogView,
DeveloperView,
PlayView,
SettingsView
@@ -32,7 +34,7 @@ export default {
<div id="fc_bg__container" data-tauri-drag-region />
<el-tabs v-model="$store.state.current_tab" class="fc_menu__tabs" type="card">
<el-tab-pane name="Play" label="Play"><PlayView /></el-tab-pane>
- <el-tab-pane name="Changelog" label="Changelog">Changelog</el-tab-pane>
+ <el-tab-pane name="Changelog" label="Changelog"><ChangelogView /></el-tab-pane>
<!-- <el-tab-pane label="Mods">Mods</el-tab-pane> -->
<el-tab-pane name="Settings" label="Settings"><SettingsView/></el-tab-pane>
<el-tab-pane v-if="$store.state.developer_mode" name="Dev" label="Dev">
diff --git a/src-vue/src/views/ChangelogView.vue b/src-vue/src/views/ChangelogView.vue
new file mode 100644
index 00000000..9fca5e5b
--- /dev/null
+++ b/src-vue/src/views/ChangelogView.vue
@@ -0,0 +1,23 @@
+<template>
+ <div class="fc__changelog__container">
+ <el-link :underline="false" icon="DocumentCopy" target="_blank" href="https://github.com/R2Northstar/Northstar/releases">
+ Open release notes
+ </el-link>
+ </div>
+</template>
+
+<script lang="ts">
+export default {
+ name: "ChangelogView"
+}
+</script>
+
+<style scoped>
+.fc__changelog__container {
+ padding: 20px 30px;
+}
+
+.el-link {
+ color: white;
+}
+</style>