Adds Slug to Creator profile

This commit is contained in:
2025-04-15 14:18:07 -04:00
parent fffb41249e
commit e10533bc78
4 changed files with 11 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ public class GetCreatorBySlugResponse(
bool verified,
bool acceptDonation,
string name,
string slug,
string? title,
Socials socials,
PresentationInfos presentationInfos,
@@ -27,6 +28,7 @@ public class GetCreatorBySlugResponse(
public bool Verified { get; } = verified;
public bool AcceptDonation { get; } = acceptDonation;
public string Name { get; } = name;
public string Slug { get; } = slug;
public string? Title { get; } = title;
public Socials Socials { get; } = socials;
public PresentationInfos PresentationInfos { get; } = presentationInfos;
@@ -75,6 +77,7 @@ public class GetCreatorBySlugHandler(
c.Verified,
c.AcceptDonation,
c.Name,
c.Slug,
c.Title,
c.Socials,
c.PresentationInfos,

View File

@@ -88,6 +88,7 @@
"informations": "Informations",
"name": "Name",
"title": "Title",
"slug": "Slug",
"description": "Description",
"banner&profile": "Banner and profile picture",
"borderpicturecolor": "Profile picture border",

View File

@@ -88,6 +88,7 @@
"informations": "Informations",
"name": "Nom",
"title": "Titre",
"slug": "Slug",
"description": "Description",
"banner&profile": "Bannière et photo de profil",
"borderpicturecolor": "Bordure de la photo de profil",

View File

@@ -179,6 +179,12 @@ const closeDialog = () => {
<span class="value">{{ creatorProfileStore.creator.name }}</span>
<span class="chevron"><v-icon>mdi-chevron-right</v-icon></span>
</button>
<button class="action">
<span class="label">{{ $t('creatorinfopage.slug') }}</span>
<span class="value">{{ creatorProfileStore.creator.slug }}</span>
<span class="chevron"><v-icon>mdi-chevron-right</v-icon></span>
</button>
<!-- TITLE -->
<button class="action" @click="openDialog('ChangeTitleDialog')">