@@ -58,18 +62,18 @@
-
-
+
+
-
-
+
+
+
+
@@ -81,35 +85,39 @@ import CreatePostButton from "@/views/creators/CreatePostButton.vue";
import {defineProps, ref} from "vue";
import SeizeIndicator from "@/views/tools/SeizeIndicator.vue";
import AboutYou from "@/views/creators/AboutYou.vue";
+
const props = defineProps({
- creator: { type: Object, required: true },
+ creator: {type: Object, required: true},
});
-function GetActiveSocialNetworkUrls(){
+function GetActiveSocialNetworkUrls() {
const socialNetworks = [];
const userSocialNetworks = props.creator.socialNetworks;
- if (userSocialNetworks.facebookUrl !== ''){
+ if (userSocialNetworks.facebookUrl !== '') {
socialNetworks.push({icon: "mdi-facebook", url: props.creator.socialNetworks.facebookUrl})
}
- if (userSocialNetworks.facebookUrl !== ''){
+ if (userSocialNetworks.facebookUrl !== '') {
socialNetworks.push({icon: "mdi-twitter", url: props.creator.socialNetworks.xUrl})
}
- if (userSocialNetworks.instagramUrl !== ''){
+ if (userSocialNetworks.instagramUrl !== '') {
socialNetworks.push({icon: "mdi-instagram", url: props.creator.socialNetworks.instagramUrl})
}
- if (userSocialNetworks.tiktokUrl !== ''){
- socialNetworks.push({icon: "/images/hutopymedia/icons/white/tiktokwhite.png", url: props.creator.socialNetworks.tikTokUrl})
+ if (userSocialNetworks.tiktokUrl !== '') {
+ socialNetworks.push({
+ icon: "/images/hutopymedia/icons/white/tiktokwhite.png",
+ url: props.creator.socialNetworks.tikTokUrl
+ })
}
- if (userSocialNetworks.youtubeUrl !== ''){
+ if (userSocialNetworks.youtubeUrl !== '') {
socialNetworks.push({icon: "mdi-youtube", url: props.creator.socialNetworks.youtubeUrl})
}
if (userSocialNetworks.yourWebsiteUrl !== ''){
const websiteIconWithBackup = props.creator.storedDataUrls.websiteIconUrl === '' ? "mdi-web" : props.creator.storedDataUrls.websiteIconUrl;
socialNetworks.push({icon: websiteIconWithBackup, url: props.creator.socialNetworks.yourWebsiteUrl})
}
-
+
return socialNetworks;
}
-
+
\ No newline at end of file