[web] i18n: update i18n banner bg and text color (#1403)

This commit is contained in:
Nitesh Seram 2025-04-22 14:33:10 +05:30 committed by GitHub
parent 6b34bd5ac7
commit 9540275dfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -1,10 +1,15 @@
'use client';
import clsx from 'clsx';
import { useIsClient, useLocalStorage } from 'usehooks-ts';
import { FormattedMessage } from '~/components/intl';
import Anchor from '~/components/ui/Anchor';
import Banner from '~/components/ui/Banner';
import {
themeBackgroundDarkColor,
themeTextSubtitleColor,
} from '~/components/ui/theme';
import i18nLabelOptions from '~/i18n/i18nLabelOptions';
import { useI18n } from '~/next-i18nostic/src';
@ -27,7 +32,9 @@ export default function I18nBetaBanner() {
return (
<div className="z-sticky fixed bottom-0 w-full">
<Banner
className={clsx(themeBackgroundDarkColor, themeTextSubtitleColor)}
size="xs"
variant="custom"
onHide={() => {
setShowBanner(false);
}}>