298 lines
6.3 KiB
Vue
298 lines
6.3 KiB
Vue
<template>
|
|
<footer>
|
|
<div class="footer-container">
|
|
<div class="media-container">
|
|
<img src="/assets/img/logo.svg" alt="Kit-ECO.SOCIAL Logo" class="logo-kit">
|
|
|
|
<p>Síguenos y entérate de los próximos eventos, novedades y recursos.</p>
|
|
<ul class="social-list">
|
|
<li class="social-item">
|
|
<NuxtLink to="#" class="social-link">
|
|
<img src="/assets/img/instagram.svg" alt="Instagram" />
|
|
</NuxtLink>
|
|
</li>
|
|
<li class="social-item">
|
|
<NuxtLink to="#" class="social-link">
|
|
<img src="/assets/img/facebook.svg" alt="Facebook" />
|
|
</NuxtLink>
|
|
</li>
|
|
<li class="social-item">
|
|
<NuxtLink to="#" class="social-link">
|
|
<img src="/assets/img/linkedin.svg" alt="LinkedIn" />
|
|
</NuxtLink>
|
|
</li>
|
|
<li class="social-item">
|
|
<NuxtLink to="#" class="social-link">
|
|
<img src="/assets/img/x.svg" alt="X-Twitter" />
|
|
</NuxtLink>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="footer-links">
|
|
<div class="footer-column">
|
|
<h3>Consumo cuidado</h3>
|
|
<ul>
|
|
<li><NuxtLink to="/busqueda">Catálogo</NuxtLink></li>
|
|
<li><NuxtLink to="/productoras">Productoras</NuxtLink></li>
|
|
<li><NuxtLink to="/registro/cooperativa">Únete</NuxtLink></li>
|
|
<li><NuxtLink to="#">Ayuda</NuxtLink></li>
|
|
<li><NuxtLink to="#">Términos y condiciones</NuxtLink></li>
|
|
<li><NuxtLink to="#">Aviso legal</NuxtLink></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="footer-column">
|
|
<h3>Herramientas</h3>
|
|
<ul>
|
|
<li><NuxtLink to="https://www.kit-eco.social/es/aula-virtual">Aula Virtual</NuxtLink></li>
|
|
<li><NuxtLink to="https://www.kit-eco.social/es/iguales">Iguales</NuxtLink></li>
|
|
<li><NuxtLink to="https://www.kit-eco.social/es/objetivo2030">Objetivo 2030</NuxtLink></li>
|
|
<li><NuxtLink to="https://www.kit-eco.social/es/certifica-t">Certifica-T</NuxtLink></li>
|
|
<li><NuxtLink to="https://www.kit-eco.social/es/foro">Foro</NuxtLink></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer-logos">
|
|
<h3>Proyecto financiado por:</h3>
|
|
<div class="logos-grid">
|
|
<img src="/assets/img/uelogo 1.png" alt="Unión Europea">
|
|
<img src="/assets/img/logotipo_ministerio.png" alt="Gobierno de España">
|
|
<img src="/assets/img/logotipo_PRTR.png" alt="Plan de Recuperación">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="made-by">
|
|
<p><span>{{ year }}</span> © kit-ECO.SOCIAL | Diseñado y desarrollado por Enreda Coop</p>
|
|
</div>
|
|
</footer>
|
|
</template>
|
|
|
|
<script>
|
|
import { getCurrentYear } from "@/utils/dates.js";
|
|
export default {
|
|
computed: {
|
|
year() {
|
|
return getCurrentYear();
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
footer {
|
|
background: linear-gradient($color-button, $color-bg-dark-2);
|
|
display: flex;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
border-top-left-radius: 1.5rem;
|
|
border-top-right-radius: 1.5rem;
|
|
color: white;
|
|
@media (min-width: 768px) {
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
}
|
|
}
|
|
|
|
.footer-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4rem;
|
|
justify-content: space-between;
|
|
@media (min-width: 768px) {
|
|
gap: 3rem;
|
|
}
|
|
@media (min-width: 1024px) {
|
|
flex-direction: row;
|
|
gap: 4rem;
|
|
}
|
|
}
|
|
|
|
.media-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
width: 100%;
|
|
@media (min-width: 768px) {
|
|
align-items: flex-start;
|
|
width: 33.333333%;
|
|
}
|
|
@media (min-width: 1024px) {
|
|
width: 16.666667%;
|
|
}
|
|
|
|
logo-kit {
|
|
height: 15px;
|
|
width: auto;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
@media (min-width: 768px) {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.made-by {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-top: 1px solid white;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.social-list {
|
|
display: flex;
|
|
gap: 1rem;
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.social-item {
|
|
height: 3rem;
|
|
width: 3rem;
|
|
border-radius: 9999px;
|
|
border: 1px solid white;
|
|
|
|
@media (min-width: 1024px) {
|
|
height: 2rem;
|
|
width: 2rem;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
color: var(--background-dark);
|
|
}
|
|
}
|
|
|
|
.social-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
img {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
@media (min-width: 768px) {
|
|
width: 66.6667%;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
.footer-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 50%;
|
|
|
|
h3 {
|
|
font-weight: 600; // font-semibold
|
|
font-size: 1.125rem; // text-lg
|
|
margin-bottom: 1.5rem; // mb-6
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
text-align: left;
|
|
|
|
li {
|
|
margin-bottom: 0.75rem; // space-y-3
|
|
|
|
a,
|
|
.nuxt-link {
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
font-weight: 600; // hover:font-semibold
|
|
text-decoration: underline; // para "Enlaces rápidos"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.footer-logos {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
@media (min-width: 768px) {
|
|
align-items: flex-end;
|
|
width: 33.3333%; // md:w-1/3
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
width: 50%; // lg:w-1/2
|
|
}
|
|
|
|
h3 {
|
|
font-weight: 600;
|
|
font-size: 1.125rem;
|
|
margin-bottom: 1rem; // mb-4
|
|
}
|
|
|
|
.logos-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 1fr);
|
|
gap: 0.75rem 0; // gap-y-3
|
|
width: 100%;
|
|
|
|
img {
|
|
height: 3rem; // h-12
|
|
grid-column: span 12;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
height: 3.5rem; // h-14
|
|
}
|
|
|
|
&:nth-child(1),
|
|
&:nth-child(2) {
|
|
grid-column: span 6;
|
|
|
|
@media (min-width: 768px) {
|
|
grid-column: span 12;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
color: $color-light;
|
|
}
|
|
</style>
|