Skip to content

Commit

Permalink
feat: add changelog view component
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Sep 28, 2022
1 parent 5c389c6 commit 518efdc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-vue/src/App.vue
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -7,6 +8,7 @@ import { store } from './plugins/store';
export default {
components: {
ChangelogView,
DeveloperView,
PlayView,
SettingsView
Expand All @@ -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">
Expand Down
23 changes: 23 additions & 0 deletions src-vue/src/views/ChangelogView.vue
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 518efdc

Please sign in to comment.