Skip to content

Commit

Permalink
feat: add new predicts table
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Jun 29, 2022
1 parent 50fdccf commit 5295ec6
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 90 deletions.
24 changes: 3 additions & 21 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
</button>
</div>
<router-view />
<Footer></Footer>
</div>
</template>

<script>
import themeChanger from "./switch.js";
import axios from "axios";
import Footer from "./components/Footer";
export default {
name: "app",
Expand All @@ -44,6 +45,7 @@ export default {
},
components: {
//PageLoader,
Footer,
},
async mounted() {
try {
Expand All @@ -63,26 +65,6 @@ export default {
created() {
this.themeChanger = new themeChanger();
},
/*
mounted () {
this.loading = true;
axios
.get('https://reqres.in/api/users?page=1')
.then(response => (this.all_users = response.data.data))
.catch(error => console.log(error))
.finally(() => this.loading = false)
axios({
method: 'get',
url: 'https://nekos.life/api/v2/img/pussy',
timeout: 5000
})
.then(response => (this.title = response.data.msg))
.catch(error => console.log(error))
.finally(() => this.loading = false)
},
*/
};
</script>

Expand Down
26 changes: 26 additions & 0 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<template>
<div class="container-fluid text-center bg-light p-5 fixed-bottom">
<p>
Sinkaroid &copy; 2022. Created with <a href="http://vuejs.org">Vue</a>,
<a href="http://vue-chartjs.org">Vue-chartjs</a> and
<a href="https://github.com/sinkaroid/disgrow">disgrow</a>
</p>
<p>
Create your own web-app statistics by using this
<a
href="https://github.com/sinkaroid/disgrow-visualization"
target="_blank"
>template</a
><br /><br />
<iframe
src="https://github.com/sponsors/sinkaroid/button"
title="Sponsor sinkaroid"
height="35"
width="116"
style="border: 0"
></iframe>
<br /><br />
</p>
</div>
</template>

4 changes: 3 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<h1>Hello world</h1>
<img
src="https://i.pinimg.com/originals/b7/fb/80/b7fb80122cf46d0e584f3a0768aef282.gif"
/>
</template>

<script>
Expand Down
Loading

0 comments on commit 5295ec6

Please sign in to comment.