Skip to content

Commit 061e317

Browse files
committed
Update translation namespace and button properties
Changed the translation namespace from 'comics' to 'members' for accuracy. Adjusted ScrollBottomButton properties: updated class name, text format, theme, and size to improve UI consistency and functionality.
1 parent 29610dd commit 061e317

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

frontend-next-migration/src/app/[lng]/(intro)/team/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Props = {
1818
export default async function TeamLayout({ children, params }: Props) {
1919
const { lng } = params;
2020

21-
const { t } = await useServerTranslation(lng, 'comics');
21+
const { t } = await useServerTranslation(lng, 'members');
2222

2323
return (
2424
<>
@@ -38,8 +38,8 @@ export default async function TeamLayout({ children, params }: Props) {
3838
// </ScrollToSectionButton>
3939
<ScrollBottomButton
4040
// isDisabled={isError || isLoading}
41-
className={classNames(cls.scrollBottomButton)}
42-
text={t('playButton')}
41+
className={classNames(cls.diveButton)}
42+
text={`${t('Play')} ▶`}
4343
/>
4444
}
4545
>

frontend-next-migration/src/features/ScrollBottom/ui/ScrollBottomButton.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ const ScrollBottomButtonComponent = (props: Props) => {
2929
disabled={isDisabled}
3030
className={className}
3131
id={ScrollButtonId}
32-
theme={ButtonTheme.Graffiti}
33-
size={ButtonSize.XL}
32+
withScalableLink={true}
33+
size={ButtonSize.L}
34+
theme={ButtonTheme.BACKGROUND}
3435
onClick={handleWatchClick}
3536
>
3637
{text}

0 commit comments

Comments
 (0)