Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component MainFooter #32

Merged
merged 1 commit into from
Aug 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions src/components/MainFooter.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<template>
<footer class="page-footer font-small bg-dark text-white pb-4">
<div class="container text-center text-md-left mt-5 pt-4">
<div class="row mt-3">
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4">
<h6 class="text-uppercase font-weight-bold border-bottom pb-3">Agregador FC</h6>
<p>
Confira estatísticas de todos os times a cada rodada do
<a href="https://cartolafc.globo.com/#!/home" target="_blank" rel="noopener noreferrer" class="text-warning">Cartola FC</a>.
</p>
</div>
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mb-4">
<h6 class="text-uppercase font-weight-bold border-bottom pb-3">Temporadas</h6>
<p>
<a href="https://agregador-fc-2019.netlify.app/"
target="_blank" rel="noopener noreferrer" class="text-white">2019</a>
</p>
</div>

<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
<h6 class="text-uppercase font-weight-bold border-bottom pb-3">Redes Sociais</h6>
<p>
<a href="https://www.facebook.com/AgregadorFC" target="_blank" rel="noopener noreferrer" class="text-white">
<facebook-icon></facebook-icon>
Página do Facebook
</a>
</p>
<p>
<a href="https://github.com/atilacamurca/agregador-fc" target="_blank" rel="noopener noreferrer" class="text-white">
<github-icon></github-icon>
Código-fonte
</a>
</p>
</div>
</div>
</div>
</footer>
</template>

<script>
import { GithubIcon, FacebookIcon } from 'vue-feather-icons'
export default {
components: {
GithubIcon,
FacebookIcon
}
}
</script>
6 changes: 4 additions & 2 deletions src/layouts/Default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@
<slot></slot>
</b-container>
</transition>
<main-footer></main-footer>
</div>
</template>

<script>
import MainNav from '~/components/MainNav'
import MainFooter from '~/components/MainFooter'

export default {
components: {
MainNav
MainNav,
MainFooter
}
}
</script>

<style scoped>
.app {
padding-top: 80px;
padding-bottom: 80px;
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
background: #087ee1;
background: linear-gradient(315deg, #05e8ba 0%, #087ee1 74%) fixed;
Expand Down
5 changes: 4 additions & 1 deletion src/layouts/HeroLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@
</b-container>
</div>
</transition>
<main-footer></main-footer>
</div>
</template>

<script>
import MainNavHero from '~/components/MainNavHero'
import MainFooter from '~/components/MainFooter'

export default {
components: {
MainNavHero
MainNavHero,
MainFooter
}
}
</script>
Expand Down