Skip to content

Commit

Permalink
feat(governance): add icons to governance tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
fedosov committed Jan 6, 2025
1 parent d3dda4e commit 089e32e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/routes/governance.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useTranslation } from "react-i18next";
import { Outlet, useLocation, useNavigate } from "@remix-run/react";
import { Tab, Tabs } from "@blueprintjs/core";
import { Tab, Tabs, Icon } from "@blueprintjs/core";
import { Container } from "app/components/common/Container";
import { AccountSelector } from "app/components/governance/AccountSelector";
import { useAtom } from "jotai";
Expand All @@ -23,9 +23,9 @@ export default function Governance() {
<div className="grid gap-6">
<div className="flex justify-between items-center">
<Tabs id="governance-tabs" selectedTabId={currentTab} onChange={handleTabChange} animate={true} large={true}>
<Tab id="motions" title={t("governance.motions")} />
<Tab id="members" title={t("governance.members")} />
<Tab id="bounties" title={t("governance.bounties")} />
<Tab id="motions" title={t("governance.motions")} icon={<Icon icon="take-action" className="mr-2" />} />
<Tab id="members" title={t("governance.members")} icon={<Icon icon="people" className="mr-2" />} />
<Tab id="bounties" title={t("governance.bounties")} icon={<Icon icon="dollar" className="mr-2" />} />
</Tabs>
<AccountSelector onAccountChange={setSelectedAddress} selectedAddress={selectedAddress} />
</div>
Expand Down

0 comments on commit 089e32e

Please sign in to comment.