2025-04-06 20:33:44 +02:00

174 lines
2.9 KiB
Vue

<template>
<footer class="footer">
<div class="footer-container">
<div class="footer-left">
<Duck1 class="footer-duck" />
<div>
<h3 class="footer-title">Romaric SIRI</h3>
<p class="footer-subtitle">Développeur PHP | Admin Sys</p>
</div>
</div>
<div class="footer-right">
<p class="footer-text">
Nancy, Grand Est
<a href="tel:0632717245" class="footer-link">06 32 71 72 45</a>
</p>
<p class="footer-text">
<a href="mailto:contact@maric.ro" class="footer-link"
>contact@maric.ro</a
>
</p>
</div>
</div>
<div class="footer-duck-right animate-float">
<Duck1 />
<div class="duck-shadow"></div>
</div>
<div class="footer-duck-left animate-float">
<Duck1 />
<div class="duck-shadow"></div>
</div>
<p class="copyright">© 2025 Romaric SIRI. All rights reserved. 🦆</p>
</footer>
</template>
<script>
import Duck1 from './ducks/Duck1.vue';
export default {
name: "Footer",
components: {
Duck1
}
};
</script>
<style scoped>
.footer {
padding: 2rem 1rem;
background-color: rgba(255, 219, 88, 0.2);
margin-top: 2rem;
position: relative;
overflow: hidden;
}
.footer-container {
max-width: 72rem;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.footer-left {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.footer-duck {
width: 2.5rem;
height: 2.5rem;
}
.footer-title {
font-weight: 700;
}
.footer-subtitle {
font-size: 0.875rem;
color: var(--gray-600);
}
.footer-right {
text-align: center;
}
.footer-text {
font-size: 0.875rem;
color: var(--gray-600);
}
.footer-link {
color: var(--gray-600);
text-decoration: none;
}
.footer-link:hover {
text-decoration: underline;
}
.footer-duck-right {
position: absolute;
bottom: -1.25rem;
right: 1rem;
transform: translateY(0);
opacity: 0.4;
}
.footer-duck-right svg {
width: 4rem;
height: 4rem;
}
.footer-duck-left {
position: absolute;
bottom: -1.25rem;
left: 1rem;
transform: translateY(0);
opacity: 0.3;
animation-delay: 2s;
}
.footer-duck-left svg {
width: 3rem;
height: 3rem;
}
.duck-shadow {
position: absolute;
width: 6rem;
height: 2rem;
background-color: rgba(70, 130, 180, 0.3);
border-radius: 9999px;
bottom: -1rem;
left: 50%;
transform: translateX(-50%);
z-index: -1;
}
.copyright {
text-align: center;
font-size: 0.75rem;
color: var(--gray-500);
margin-top: 2rem;
}
@media (min-width: 768px) {
.footer {
padding: 2rem;
}
.footer-container {
flex-direction: row;
}
.footer-left {
margin-bottom: 0;
}
.footer-right {
text-align: right;
}
.footer-duck-right {
right: 2.5rem;
}
.footer-duck-left {
left: 5rem;
}
}
</style>