#30 Merge fix + some more image location change

This commit is contained in:
Dominic Villemure
2024-04-21 14:14:40 -04:00
30 changed files with 1393 additions and 1866 deletions

View File

@@ -1,33 +1,39 @@
<!--lg="8" md="10" sm="10" xs="10" -->
<template>
<body style="background-color: #f4f4f4;">
<v-container style="background-color: #f4f4f4;">
<div style="background-color: #f4f4f4; min-height: 10vh; display: flex; flex-direction: column;"
class="footer-align">
<!-- Hutopy footer logo -->
<v-container style="background-color: #f4f4f4">
<v-row justify="center" style="margin-top: 30px;">
<v-col cols="5" lg="5" md="5" sm="12" xs="7">
<v-row>
<router-link :to="{ name: 'home' }">
<v-img src="../../../images/hutopy.png" class="hutopy-footer-picture"></v-img>
</v-row>
</router-link>
</v-col>
</v-row>
</v-container>
<!-- Hutopy Social network links -->
<v-container>
<!-- Facebook link -->
<v-row justify="center">
<v-col cols="auto">
<a href="https://www.facebook.com/profile.php?id=61556819217561">
<img class="icons" src="../../public/images/facebookiconblackpink.png" alt="Description image 2">
</a>
</v-col>
<!-- Instagram link -->
<v-col cols="auto">
<a href="https://www.instagram.com/hutopy.inc/">
<img src="../../public/images/instagramblackpink.png" alt="Description image 3" class="icons">
</a>
</v-col>
<!-- Need X Account -->
<v-col cols="auto">
<router-link :to="{ name: 'home' }">
<img src="../../public/images/xblackpink.png" alt="Description image 1" class="icons">
@@ -36,6 +42,7 @@
</v-row>
</v-container>
<!-- Loop for social network links -->
<v-container class="text-center" style="flex-grow: 1;">
<router-link v-for="link in links" :key="link" :to="getLinkUrl(link)"
class="mx-2 text-decoration-none text-black">
@@ -47,9 +54,6 @@
{{ new Date().getFullYear() }} <strong>Hutopy v.01</strong>
</v-container>
</div>
</v-container>
</body>
@@ -57,33 +61,30 @@
<script>
export default {
data: () => ({
links: [
'Aide & Contact',
'Conditions générales',
'Politique des contenus',
'conditions utilisation',
'anti-exploitation',
],
linkRoutes: {
'Aide & Contact': { name: 'helpandcontact' },
'Conditions générales': { name: 'termsandconditions' },
'Politique des contenus': { name: 'contentpolicy' },
'Programme Ambassadeurs': { name: 'ambassadorprogram' },
'conditions utilisation': { name: 'conditionofuse' },
'anti-exploitation': { name: 'antiexploitation' },
},
}),
methods: {
getLinkUrl(link) {
return this.linkRoutes[link] || { name: 'home' };
},
},
<script setup>
const links = [
'Aide & Contact',
'FAQ',
'Guide pour les créateurs',
'Conditions générales',
'Politique de Contenu',
'À Propos'
];
const linkRoutes = {
'Aide & Contact': { name: 'helpandcontact' },
'FAQ': { name: 'FAQ' },
'Guide pour les créateurs': { name: 'guideforcreators' },
'Conditions générales': { name: 'termsandconditions' },
'Politique de Contenu': { name: 'contentpolicy' },
'À Propos': { name: 'about' }
};
// If broken link, redirect to home page.
const getLinkUrl = (link) => linkRoutes[link] || { name: 'home' };
</script>
<style>
.icons {
width: 50px;
@@ -98,16 +99,11 @@ export default {
}
.custom-footer {
padding: 10px;
/* Ajoute un rembourrage intérieur de 10px autour du contenu du footer * 107, 0, 101, 1/
margin: 0;
/* Réinitialise les marges à zéro */
}
.no-margin {
margin: 0 !important;
/* Annule la marge de v-app */
}
footer {
@@ -115,13 +111,11 @@ footer {
justify-content: center;
align-items: center;
flex-direction: column;
/* Pour aligner le contenu verticalement */
background-color: rgba(107, 0, 101, 1);
}
footer a:not(:last-child) {
margin-right: 20px;
/* Ajoute de l'espace entre les images et les liens */
}
.footertextcolor {
@@ -136,9 +130,8 @@ footer a:not(:last-child) {
.custom-color-button {
background-color: rgb(255, 0, 0);
/* Your custom color */
color: white;
/* Text color */
font-size: 1.5rem;
margin-top: 40px;
margin-bottom: 40px;
@@ -148,25 +141,11 @@ footer a:not(:last-child) {
background-color: rgba(107, 0, 101, 1);
}
@media (min-width: 150px) and (max-width: 598px) {
.hutopy-footer-picture {
min-width: 200px;
}
}
@media (min-width: 599px) and (max-width: 999px) {}
@media (min-width: 1000px) and (max-width: 1279px) {}
@media (min-width: 1280px) and (max-width: 1600px) {}
@media (min-width: 1600px) and (max-width: 1919px) {}
@media (min-width: 1920px) and (max-width: 2559px) {}
@media (min-width: 2559px) {}
</style>