nettoyage des photos et de certains fihciers .vue non utilisé

This commit is contained in:
PascalMarchesseault
2024-04-20 00:02:03 -04:00
parent ab5da4b4cb
commit 40505f0dcf
15 changed files with 45 additions and 389 deletions

View File

@@ -1,36 +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">
<!--Bug je ne peut pas l'appliquer uniquement sur mon -->
<router-link :to="{ name: 'home' }">
<v-row justify="center" style="margin-top: 30px;">
<v-col cols="5" lg="5" md="5" sm="12" xs="7">
<v-row>
<v-img src="../../../images/hutopy.png" class="hutopy-footer-picture"></v-img>
</v-row>
</v-col>
</v-row>
</router-link>
<v-row justify="center" style="margin-top: 30px;">
<v-col cols="5" lg="5" md="5" sm="12" xs="7">
<router-link :to="{ name: 'home' }">
<v-img src="../../../images/hutopy.png" class="hutopy-footer-picture"></v-img>
</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="../../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="../../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="../../images/xblackpink.png" alt="Description image 1" class="icons">
@@ -39,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">
@@ -50,9 +54,6 @@
{{ new Date().getFullYear() }} <strong>Hutopy v.01</strong>
</v-container>
</div>
</v-container>
</body>
@@ -60,36 +61,30 @@
<script>
export default {
data: () => ({
links: [
'Aide & Contact',
'FAQ',
'Guide pour les créateurs',
'Conditions générales',
'Politique de Contenu',
'À Propos'
<script setup>
const links = [
'Aide & Contact',
'FAQ',
'Guide pour les créateurs',
'Conditions générales',
'Politique de Contenu',
'À Propos'
];
],
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' },
},
}),
methods: {
getLinkUrl(link) {
return this.linkRoutes[link] || { name: 'home' };
},
},
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;
@@ -104,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 {
@@ -121,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 {
@@ -142,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;
@@ -154,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>