Merge pull request #2 from levchak0910/levchak0910-add-footer

chore: add app footer
This commit is contained in:
mutoe 2020-10-06 19:21:41 +08:00 committed by GitHub
commit 1ca5de0174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -1,11 +1,16 @@
<template>
<RouterView></RouterView>
<AppFooter />
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import AppFooter from './components/layout/Footer/index.vue'
export default defineComponent({
name: 'App',
components: {
AppFooter,
},
})
</script>

View File

@ -0,0 +1,32 @@
<template>
<footer>
<div class="container">
<RouterLink
to="/"
class="logo-font"
>
conduit
</RouterLink>
<span class="attribution">
An interactive learning project from <a href="https://thinkster.io">Thinkster</a>. Code &amp; design licensed under MIT.
</span>
</div>
<div class="container">
<span
class="attribution"
style="margin: 0"
>
<a href="https://github.com/mutoe/vue3-realworld-example-app">Real world app</a> implementation using Vue v3 with Typescript and Composition Api
</span>
</div>
</footer>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
name: 'AppFooter',
})
</script>