VUE_GabenParadise/src/App.vue

55 lines
984 B
Vue
Raw Normal View History

2020-08-10 12:35:19 +00:00
<template>
<div id="app">
<div class="header-top">
2020-08-10 14:33:28 +00:00
<div class>
2020-08-10 12:35:19 +00:00
<h1 class="display-4">{{ title }}</h1>
<p class="lead">{{ content }}</p>
</div>
2020-08-10 14:33:28 +00:00
<div class>
2020-08-10 12:35:19 +00:00
<i id="sub-identifi" class="fa fa-bell-o bell" aria-hidden="true"></i>
</div>
</div>
2020-08-26 08:22:05 +00:00
<Notification />
2020-09-06 10:38:26 +00:00
<UpdateBar />
2020-08-26 08:22:05 +00:00
<GamesList />
2020-08-10 12:35:19 +00:00
</template>
<style>
body {
background: #151515;
color: white;
}
.header-top {
display: flex;
align-items: space-between;
}
2020-08-10 14:33:28 +00:00
.bell {
2020-08-10 12:35:19 +00:00
font-size: 2.5rem;
font-weight: 300;
line-height: 2;
}
</style>
<script>
import GamesList from "./components/GamesList.vue";
2020-08-26 08:22:05 +00:00
import Notification from "./components/Notification.vue";
2020-09-06 10:38:26 +00:00
import UpdateBar from "./components/UpdateBar.vue";
2020-08-10 12:35:19 +00:00
export default {
name: "App",
data() {
return {
title: "Gaben Paradise",
2020-09-06 10:38:26 +00:00
content: "get information about free games in one place",
2020-08-10 12:35:19 +00:00
};
},
components: {
2020-08-26 08:22:05 +00:00
GamesList,
2020-09-06 10:38:26 +00:00
Notification,
UpdateBar
},
2020-08-10 12:35:19 +00:00
};
</script>