From e79a4d48e170d4097fe22921548e0e492a0bb844 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Mon, 23 Mar 2026 17:26:23 +0100 Subject: [PATCH] Removed handle from bio socials to save space. --- components/actors/bio.vue | 20 +++++++++++--------- src/actors.js | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/components/actors/bio.vue b/components/actors/bio.vue index fa96cce..65157dc 100644 --- a/components/actors/bio.vue +++ b/components/actors/bio.vue @@ -312,10 +312,10 @@ + @@ -498,7 +500,7 @@ function getSocialUrl(social) { return null; } -const socials = props.actor.socials.map((social) => ({ +const socials = props.actor.socials.slice(0, 10).map((social) => ({ ...social, handle: social.url ? new URL(social.url).hostname @@ -735,19 +737,23 @@ const socials = props.actor.socials.map((social) => ({ } .socials { + display: flex; + flex-wrap: wrap; + /* display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); grid-gap: 0 0; overflow: hidden; + */ gap: .25rem; padding: 0; } .social { - display: flex; - height: 2rem; + display: inline-flex; align-items: center; - padding: .1rem .5rem; + justify-content: center; + padding: .75rem .75rem; border-radius: .25rem; color: inherit; text-decoration: none; @@ -755,10 +761,6 @@ const socials = props.actor.socials.map((social) => ({ font-weight: normal; background: var(--highlight-weak-40); - .icon { - margin-right: .5rem; - } - .icon-generic { fill: var(--highlight); } diff --git a/src/actors.js b/src/actors.js index 5eccce0..2174bc9 100644 --- a/src/actors.js +++ b/src/actors.js @@ -55,7 +55,7 @@ const keyMap = { isCircumcised: 'circumcised', }; -const socialsOrder = ['onlyfans', 'twitter', 'fansly', 'loyalfans', 'manyvids', 'pornhub', 'linktree', null]; +const socialsOrder = ['onlyfans', 'fansly', 'twitter', 'instagram', 'loyalfans', 'manyvids', 'pornhub', 'linktree', null]; export function curateActor(actor, context = {}) { return {