Skip to content

Commit

Permalink
fix: footer and hide migration notification
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicvladan committed Dec 13, 2023
1 parent 240656a commit cd3496a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Footers/MainFooter/MainFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const MainFooter: FC = () => {
const { intl } = useLocales();

return (
<div className="hidden md:flex justify-between items-center w-full h-32 px-8 bg-white shadow-top">
<div className="hidden md:flex justify-between items-center w-full my-2 px-8 bg-white shadow-top">
<div className="flex items-center flex-wrap mr-4">
<a
href="https://fairdatasociety.org/"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layouts/MainLayout/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const MainLayout: FC<MainLayoutProps> = ({
</div>
</div>

<div className="hidden md:block w-full h-36 dark:bg-color-shade-dark-3-night">
<div className="hidden md:block w-full dark:bg-color-shade-dark-3-night">
<MainFooter />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const MainNavigationBar: FC<Record<string, never>> = () => {
<UserDropdownToggle
address={wallet?.address || 'Blossom'}
onClickHandler={() => setShowUserDropdown(true)}
showNotification={metamaskMigrationNotification === 'closed'}
showNotification={false}
// showNotification={metamaskMigrationNotification === 'closed'}
/>
<LanguageDropdown />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ const UserDropdown: FC<UserDropdownProps> = ({
</div>

<div>
{metamaskMigrationNotification === 'closed' && (
{/* {metamaskMigrationNotification === 'closed' && (
<div
className="mb-4 text-color-shade-dark-3-night dark:text-color-shade-dark-4-day cursor-pointer"
onClick={onMigrateClick}
>
{intl.get('MIGRATE_ACCOUNT')}
<Indicator className="inline-block ml-2" />
</div>
)}
)} */}
<div
className="mb-4 text-color-status-negative-day cursor-pointer"
onClick={disconnect}
Expand Down

0 comments on commit cd3496a

Please sign in to comment.