Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

feat: revamp the introductory screens and allow choosing language #1074

Merged
merged 13 commits into from Feb 15, 2019
Merged
17 changes: 11 additions & 6 deletions src/renderer/App.vue
Expand Up @@ -12,10 +12,15 @@
}"
class="App bg-theme-page text-theme-page-text font-sans"
>
<AppWelcome
<div
v-if="!hasSeenIntroduction"
@done="setIntroDone"
/>
:style="`backgroundImage: url('${assets_loadImage(background)}')`"
class="px-20 py-16 w-screen h-screen relative"
>
<AppIntro
@done="setIntroDone"
/>
</div>

<div
v-else
Expand Down Expand Up @@ -82,7 +87,7 @@
<script>
import '@/styles/style.css'
import { isEmpty } from 'lodash'
import { AppSidemenu, AppFooter, AppWelcome } from '@/components/App'
import { AppFooter, AppIntro, AppSidemenu } from '@/components/App'
import AlertMessage from '@/components/AlertMessage'
import { TransactionModal } from '@/components/Transaction'
import config from '@config'
Expand All @@ -96,8 +101,8 @@ export default {

components: {
AppFooter,
AppIntro,
AppSidemenu,
AppWelcome,
AlertMessage,
TransactionModal
},
Expand All @@ -111,7 +116,7 @@ export default {

computed: {
background () {
return this.$store.getters['session/background'] || 'wallpapers/1Default.png'
return this.$store.getters['session/background'] || `wallpapers/${this.hasSeenIntroduction ? 1 : 2}Default.png`
},
hasAnyProfile () {
return !!this.$store.getters['profile/all'].length
Expand Down
1 change: 1 addition & 0 deletions src/renderer/assets/images/flags/README.md
@@ -0,0 +1 @@
These icons were downloaded from https://www.flaticon.com/packs/international-flags
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/renderer/assets/images/pages/intro/duty.png
Binary file not shown.
215 changes: 215 additions & 0 deletions src/renderer/assets/images/pages/intro/duty.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/renderer/assets/images/pages/intro/power.png
Binary file not shown.