Skip to content

Commit

Permalink
fix navigation design
Browse files Browse the repository at this point in the history
  • Loading branch information
gicha committed Jun 7, 2024
1 parent 3ed9e90 commit bbfbf8e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ const Navigation: React.FC = () => {
className={`flex flex-col items-center ${
router.pathname === '/period-tracker' ? 'text-blue-500' : 'text-gray-500'
}`}>
<Image src="/icon-home.svg" alt="Home" width={24} height={24} />
<span className="text-sm">Главная</span>
<Image src="/icon-home.svg" alt="Home" width={40} height={40} />
<span className="text-bottomBar">Главная</span>
</button>
<button
onClick={() => router.push('/earn')}
className={`flex flex-col items-center ${
router.pathname === '/earn' ? 'text-blue-500' : 'text-gray-500'
}`}>
<Image src="/icon-earn.svg" alt="Earn" width={24} height={24} />
<span className="text-sm">Заработать</span>
<Image src="/icon-earn.svg" alt="Earn" width={40} height={40} />
<span className="text-bottomBar">Заработать</span>
</button>
<button
onClick={() => router.push('/calendar')}
className={`flex flex-col items-center ${
router.pathname === '/calendar' ? 'text-blue-500' : 'text-gray-500'
}`}>
<Image src="/icon-calendar.svg" alt="Calendar" width={24} height={24} />
<span className="text-sm">Календарь</span>
<Image src="/icon-calendar.svg" alt="Calendar" width={40} height={40} />
<span className="text-bottomBar">Календарь</span>
</button>
</footer>
);
Expand Down

0 comments on commit bbfbf8e

Please sign in to comment.