merakiui/pages/index.vue

28 lines
1.1 KiB
Vue
Raw Normal View History

2021-02-15 07:39:16 +00:00
<template>
2021-05-27 18:09:57 +00:00
<div class="bg-white dark:bg-gray-900 font-roboto">
<header-component />
<main-component />
<footer-component />
2021-02-15 08:22:20 +00:00
2021-05-27 18:09:57 +00:00
<back-to-top visibleoffset="800">
<app-button class="fixed bottom-0 right-0 p-2 mx-10 my-10 text-white bg-gray-800 rounded-md hover:bg-gray-900 dark:hover:bg-gray-700 focus:outline-none" aria-label="Back to top">
<svg class="w-6 h-6" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" clip-rule="evenodd"/>
2021-02-15 08:22:20 +00:00
</svg>
</app-button>
2021-05-27 18:09:57 +00:00
</back-to-top>
2021-02-15 08:22:20 +00:00
</div>
2021-02-15 07:39:16 +00:00
</template>
<script>
2021-02-15 08:22:20 +00:00
import AppButton from "~/components/utilities/AppButton.vue";
import HeaderComponent from "~/components/Header";
import MainComponent from "~/components/Main";
import FooterComponent from "~/components/Footer";
2021-02-15 08:22:20 +00:00
import BackToTop from "vue-backtotop";
export default {
2021-05-27 18:09:57 +00:00
components: { AppButton, HeaderComponent, MainComponent, FooterComponent, BackToTop }
2021-02-15 08:22:20 +00:00
};
2021-02-15 07:39:16 +00:00
</script>