From 981d93cc6401ddb7c6d9c1b2f1312ff851929bcc Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sun, 22 Feb 2026 21:29:29 +0300 Subject: [PATCH] feat: wallet modal with two connection options and Kurdistan flag for language switcher --- web/public/flags/kurdistan.svg | 33 ++++ web/src/components/AppLayout.tsx | 6 +- web/src/components/LanguageSwitcher.tsx | 12 +- web/src/components/PezkuwiWalletButton.tsx | 186 +-------------------- web/src/i18n/config.ts | 12 +- 5 files changed, 57 insertions(+), 192 deletions(-) create mode 100644 web/public/flags/kurdistan.svg diff --git a/web/public/flags/kurdistan.svg b/web/public/flags/kurdistan.svg new file mode 100644 index 00000000..b803cff7 --- /dev/null +++ b/web/public/flags/kurdistan.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/src/components/AppLayout.tsx b/web/src/components/AppLayout.tsx index 0bc29d6c..9d4208b3 100644 --- a/web/src/components/AppLayout.tsx +++ b/web/src/components/AppLayout.tsx @@ -8,7 +8,7 @@ import PalletsGrid from './PalletsGrid'; import ChainSpecs from './ChainSpecs'; import TrustScoreCalculator from './TrustScoreCalculator'; import { NetworkStats } from './NetworkStats'; -import { WalletModal } from './wallet/WalletModal'; + import { LanguageSwitcher } from './LanguageSwitcher'; import NotificationBell from './notifications/NotificationBell'; import ProposalWizard from './proposals/ProposalWizard'; @@ -34,7 +34,6 @@ import EducationPlatform from '../pages/EducationPlatform'; const AppLayout: React.FC = () => { const navigate = useNavigate(); - const [walletModalOpen, setWalletModalOpen] = useState(false); const { user, signOut } = useAuth(); const [showProposalWizard, setShowProposalWizard] = useState(false); const [showDelegation, setShowDelegation] = useState(false); @@ -577,9 +576,6 @@ const AppLayout: React.FC = () => { )} - {/* Wallet Modal */} - setWalletModalOpen(false)} /> - {/* Footer */}