Skip to content

Commit

Permalink
chore: create app-footer component #10
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Apr 18, 2024
1 parent e55822f commit 09253b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 1 addition & 8 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ catch (err: any) {
<nuxt-layout>
<app-menu />
<nuxt-page />
<footer>
<p>
{{ $t('app.attribution.data') }}
<a href="https://www.openstreetmap.org/copyright" target="_blank">{{
$t('app.attribution.osm')
}}</a>
</p>
</footer>
<app-footer />
</nuxt-layout>
</template>
10 changes: 10 additions & 0 deletions components/AppFooter.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<footer>
<p>
{{ $t('app.attribution.data') }}
<a href="https://www.openstreetmap.org/copyright" target="_blank">{{
$t('app.attribution.osm')
}}</a>
</p>
</footer>
</template>

0 comments on commit 09253b0

Please sign in to comment.