From 2bd9fd20d24e4b2795b8a14b04aa0a13e168098d Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Mon, 3 Feb 2025 10:38:16 +0000 Subject: [PATCH] changed wording in player profiles --- src/Components/Profile/Templates/TabsForm.tsx | 2 +- src/Components/Profile/Templates/TabsView.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Components/Profile/Templates/TabsForm.tsx b/src/Components/Profile/Templates/TabsForm.tsx index add01201..6235b221 100644 --- a/src/Components/Profile/Templates/TabsForm.tsx +++ b/src/Components/Profile/Templates/TabsForm.tsx @@ -172,7 +172,7 @@ export const TabsForm = ({ name='my_tabs_2' role='tab' className='tw-tab [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]' - aria-label='Relations' + aria-label='Links' checked={activeTab === 7 && true} onChange={() => updateActiveTab(7)} /> diff --git a/src/Components/Profile/Templates/TabsView.tsx b/src/Components/Profile/Templates/TabsView.tsx index d23d0c7b..d7554b94 100644 --- a/src/Components/Profile/Templates/TabsView.tsx +++ b/src/Components/Profile/Templates/TabsView.tsx @@ -121,7 +121,7 @@ export const TabsView = ({ className={ 'tw-tab tw-font-bold !tw-ps-2 !tw-pe-2 [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]' } - aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 2 ? '❤️' : '❤️\u00A0Credibility'}`} + aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 2 ? '❤️' : '❤️\u00A0Trust'}`} checked={activeTab === 2 && true} onChange={() => updateActiveTab(2)} /> @@ -161,7 +161,7 @@ export const TabsView = ({ appState.assetsApi.url + getUserProfile(a.user_created.id)?.image } - alt='Avatar Tailwind CSS Component' + alt='Avatar' /> @@ -243,7 +243,7 @@ export const TabsView = ({ name='my_tabs_2' role='tab' className='tw-tab tw-font-bold !tw-ps-2 !tw-pe-2 [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]' - aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 7 ? '🔗' : '🔗\u00A0Relations'}`} + aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 7 ? '🔗' : '🔗\u00A0Links'}`} checked={activeTab === 7 && true} onChange={() => updateActiveTab(7)} />