mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
* initial work * new client: working navigation and tasks showing up * finish header menu and add avatar component * fix sprites in new client * initial header version * initial styling for top menu * more progress on the header menu * almost complete menu and avatar * correctly apply active class for /social and /help * fix header colors and simplify css * switch from Roboto to native fonts * remove small avatar and add viewport * fixes * fix user menu with and progress bars * fix avatar rendeting * move bars colors to theme * add site overrides * fix tests * shrinkwrap * fix sprites path * another try at fixing the sprites path * another try at fixing the sprites path
36 lines
618 B
Vue
36 lines
618 B
Vue
<!-- Entry point component for the entire app -->
|
|
|
|
<template lang="pug">
|
|
#app
|
|
app-menu
|
|
.ui.grid.fluid
|
|
app-header
|
|
router-view
|
|
</template>
|
|
|
|
<script>
|
|
import AppMenu from './components/appMenu';
|
|
import AppHeader from './components/appHeader';
|
|
|
|
export default {
|
|
name: 'app',
|
|
components: {
|
|
AppMenu,
|
|
AppHeader,
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<!-- Load CSS that doesn't belong to any specific component -->
|
|
<style src="assets/css/index.css"></style>
|
|
<style src="assets/less/index.less" lang="less"></style>
|
|
|
|
<style scoped>
|
|
.ui.fixed.menu + .ui.grid {
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.ui.grid {
|
|
margin-top: 0px;
|
|
}
|
|
</style> |