4
2
mirror of https://github.com/getbible/app.git synced 2024-06-16 09:12:20 +00:00
app/src/App.vue
2020-10-27 22:39:08 +02:00

57 lines
1008 B
Vue

<template>
<div>
<navbar/>
<div class="uk-container">
<options/>
</div>
</div>
</template>
<script>
// import _ from 'lodash';
import UIkit from 'uikit';
import Icons from 'uikit/dist/js/uikit-icons';
import navbar from './components/NavBar.vue';
import options from './components/Options.vue';
UIkit.use(Icons);
export default {
name: 'App',
components: {
navbar,
options
},
created(){
const userSettings = localStorage.getItem('settings');
if (userSettings) {
const settings = JSON.parse(userSettings);
this.$store.commit('set_settings', settings);
}
}
}
</script>
<style lang="less">
@import "../node_modules/uikit/src/less/uikit.less";
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
// text-align: center;
color: #2c3e50;
// margin-top: 60px;
}
.disabled {
cursor: not-allowed;
color: gray
}
.disabled:hover {
color:gray
}
</style>