Explorar o código

Add notifiation button

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
51298ebb07
Modificáronse 2 ficheiros con 22 adicións e 1 borrados
  1. 4 1
      src/App.vue
  2. 18 0
      src/components/NotificationButton.vue

+ 4 - 1
src/App.vue

@@ -77,6 +77,7 @@
 			</div>
 			<div class='header__group'>
 				<template v-if='$store.state.username'>
+					<notification-button></notification-button>
 					<button @click='$router.push("/settings")' class='button' >
 						Settings
 					</button>
@@ -107,6 +108,7 @@
 	import TabView from './components/TabView'
 	import FancyInput from './components/FancyInput'
 	import LoadingButton from './components/LoadingButton'
+	import NotificationButton from './components/NotificationButton'
 
 	import mapGetters from 'vuex'
 
@@ -119,7 +121,8 @@
 			ModalWindow,
 			TabView,
 			FancyInput,
-			LoadingButton
+			LoadingButton,
+			NotificationButton
 		},
 		data () {
 			return {

+ 18 - 0
src/components/NotificationButton.vue

@@ -0,0 +1,18 @@
+<template>
+	<div class='notification_button'>
+	</div>
+</template>
+
+<script>
+	export default {
+		name: 'NotificationButton'
+	}
+</script>
+
+<style lang='scss' scoped>
+	@import '../assets/scss/variables.scss';
+
+	.notifcation_button {
+
+	}
+</style>