Create Footer component with styles

This commit is contained in:
2020-12-17 18:15:40 +01:00
parent eac90cffd6
commit 7935ae750f
3 changed files with 21 additions and 6 deletions

18
components/Footer.vue Normal file
View File

@@ -0,0 +1,18 @@
<template>
<footer
class="bg-gray-900 text-gray-300 flex items-center justify-center h-16"
>
<p>
©2020 Made with <span style="color: red;">&#9829;</span> by
<a href="https://wazo-lab.io" target="_blank">Wazo Lab</a>
</p>
</footer>
</template>
<script>
export default {
name: "Footer"
};
</script>
<style></style>

View File

@@ -4,15 +4,12 @@
<main class="mt-16 px-4"> <main class="mt-16 px-4">
<Nuxt /> <Nuxt />
</main> </main>
<Footer />
</div> </div>
</template> </template>
<script> <script>
import Header from "@/components/Header"; export default {};
export default {
components: { Header }
};
</script> </script>
<style> <style>

View File

@@ -1,6 +1,6 @@
import { mount } from "@vue/test-utils"; import { mount } from "@vue/test-utils";
import axios from "axios"; import axios from "axios";
import FilmsView from "@/pages/index"; import FilmsView from "@/pages";
import mockFilms from "./fake-films.json"; import mockFilms from "./fake-films.json";
jest.mock("axios", () => ({ jest.mock("axios", () => ({