@@ -89,26 +89,54 @@ function GetActiveSocialNetworkUrls() {
const socialNetworks = [];
const userSocialNetworks = props.creator.socialNetworks;
+
if (userSocialNetworks.facebookUrl !== null) {
- socialNetworks.push({icon: "mdi-facebook", url: props.creator.socialNetworks.facebookUrl})
- }
- if (userSocialNetworks.xUrl !== null) {
- socialNetworks.push({icon: "mdi-twitter", url: props.creator.socialNetworks.xUrl})
+ socialNetworks.push({
+ icon: "mdi-facebook",
+ url: props.creator.socialNetworks.facebookUrl
+ })
}
if (userSocialNetworks.instagramUrl !== null) {
- socialNetworks.push({icon: "mdi-instagram", url: props.creator.socialNetworks.instagramUrl})
+ socialNetworks.push({
+ icon: "mdi-instagram",
+ url: props.creator.socialNetworks.instagramUrl
+ })
+ }
+ if (userSocialNetworks.xUrl !== null) {
+ socialNetworks.push({
+ icon: "mdi-twitter",
+ url: props.creator.socialNetworks.xUrl
+ })
+ }
+ if (userSocialNetworks.linkedInUrl !== null) {
+ socialNetworks.push({
+ icon: 'mdi-linkedin',
+ url: props.creator.socialNetworks.linkedInUrl
+ })
}
if (userSocialNetworks.tikTokUrl !== null) {
socialNetworks.push({
- icon: '/images/externals/tiktok-white.png',
+ icon: '/images/socials/tiktok-white.png',
url: props.creator.socialNetworks.tikTokUrl
})
}
if (userSocialNetworks.youtubeUrl !== null) {
- socialNetworks.push({icon: 'mdi-youtube', url: props.creator.socialNetworks.youtubeUrl})
+ socialNetworks.push({
+ icon: 'mdi-youtube',
+ url: props.creator.socialNetworks.youtubeUrl
+ })
+ }
+ if (userSocialNetworks.redditUrl !== null) {
+ socialNetworks.push({
+ icon: 'mdi-reddit',
+ url: props.creator.socialNetworks.redditUrl
+ })
}
if (userSocialNetworks.websiteUrl !== null) {
- socialNetworks.push({icon: 'mdi-web', url: props.creator.socialNetworks.websiteUrl})
+ socialNetworks.push({
+ icon: 'mdi-web',
+ url: props.creator.socialNetworks.websiteUrl
+ })
}
return socialNetworks;
diff --git a/src/views/creators/CreatorList.vue b/src/views/creators/CreatorList.vue
index 5afe06c..36f901b 100644
--- a/src/views/creators/CreatorList.vue
+++ b/src/views/creators/CreatorList.vue
@@ -28,6 +28,5 @@
diff --git a/src/views/creators/creators.json b/src/views/creators/creators.json
deleted file mode 100644
index f05c95b..0000000
--- a/src/views/creators/creators.json
+++ /dev/null
@@ -1,51 +0,0 @@
-[
- {
- "ìd": 1,
- "name": "Hutopy",
- "title": "Page officielle",
- "description": "Site officiel pour Hutopy. Venez-nous-y retrouver avec tous vos fans!",
- "imageUrl": "/images/usersmedia/HutopyProfile/profilepictures/profileHutopyProfile01.png",
- "routerLink": "@hutopy",
- "about": "Notre mission chez Hutopy est d'aider les gens à s'épanouir en leur proposant un environnement de partage unique qui va leur permettre de se surpasser. Nous travaillons étroitement avec la communauté d'Hutopy afin de concentrer notre développement sur ce que vous demandez et sur vos besoins, afin d'offrir les meilleurs outils. Le tout en gardant à l'esprit l'aspect humain de chacun. Il est important pour nous de contribuer à créer un monde meilleur.",
- "contacts": {
- "twitter": "https://twitter.com/Hutopyinc",
- "facebook": "https://www.facebook.com/Hutopy",
- "instagram": "https://www.instagram.com/hutopy.inc/"
- }
- },
- {
- "id": 2,
- "name": "L'effet",
- "description": "Fondation",
- "imageUrl": "/images/usersmedia/leffet/profilepictures/leffetProfile01.png",
- "routerLink": "@leffet"
- },
- {
- "id": 3,
- "name": "Guillaume M",
- "description": "Créateur de contenus",
- "imageUrl": "/images/usersmedia/guillaumeMousseau/profilepictures/profileGuillaumeMousseau01.png",
- "routerLink": "@guillaumeaime"
- },
- {
- "id": 4,
- "name": "Chloé Beaugrand",
- "description": "Spécialiste en médias sociaux",
- "imageUrl": "/images/usersmedia/chloebeaugrand/profilepictures/profileChloeBeaugrand01.png",
- "routerLink": "@chloebeaugrand"
- },
- {
- "id": 5,
- "name": "Mathieu Caron",
- "description": "Entrevue Atypique",
- "imageUrl": "/images/usersmedia/mathieuCaron/profilepictures/profileMathieuCaron01.png",
- "routerLink": "@mathieuCaron"
- },
- {
- "id": 6,
- "name": "ARPS",
- "description": "Agence créative",
- "imageUrl": "/images/usersmedia/ARPS/profilepictures/profileARPS.png",
- "routerLink": "@ARPS"
- }
-]
\ No newline at end of file
diff --git a/src/views/main/SiteMenu.vue b/src/views/main/SiteMenu.vue
index 92dcf61..3effd7d 100644
--- a/src/views/main/SiteMenu.vue
+++ b/src/views/main/SiteMenu.vue
@@ -3,16 +3,16 @@
@@ -41,11 +41,8 @@
@apply text-purple-800 bg-gray-50;
}
-img {
+.social {
@apply m-2 w-10 h-10;
}
-
-
\ No newline at end of file