|
1 | 1 | import React, { useState, useContext } from 'react';
|
2 |
| -import { LanguageContext } from "../../../../../language/LanguageContext"; |
| 2 | +import { LanguageContext } from "@/ui/language/LanguageContext"; |
3 | 3 | import MenuIcon from '@mui/icons-material/Menu';
|
4 | 4 | import { IconButton } from '@mui/material';
|
5 | 5 | import { Link } from 'react-router-dom';
|
6 |
| -import LogoBar from "../../../../../shared-components/LogoBar"; |
7 |
| -import useTranslation from "../../../../../language/useTranslation"; |
8 |
| -import { HBox, VBox } from "../../../../../shared-components/LayoutBoxes"; |
9 |
| -import theme from "../../../../../../theme"; |
10 |
| -import LandingPageHollowButtonMobile from '../../../components/LandingPageButtonMobile'; |
11 |
| -import AntSwitch from '../../../../../shared-components/AntSwitch'; |
12 |
| -import LandingPageButton from '../../top-section/components/LandingPageButton'; |
| 6 | +import LogoBar from "@/ui/shared-components/LogoBar"; |
| 7 | +import useTranslation from "@/ui/language/useTranslation"; |
| 8 | +import { HBox, VBox } from "@/ui/shared-components/LayoutBoxes"; |
| 9 | +import LandingPageHollowButtonMobile from '@/ui/screens/landing-page/components/LandingPageButtonMobile'; |
| 10 | +import AntSwitch from '@/ui/shared-components/AntSwitch'; |
| 11 | +import LandingPageButton from '@/ui/screens/landing-page/sections/top-section/components/LandingPageButton'; |
13 | 12 |
|
14 | 13 | const HeaderBarMobile = ({ isApp }) => {
|
15 | 14 | const [showDropdown, setShowDropdown] = useState(false);
|
@@ -47,8 +46,8 @@ const HeaderBarMobile = ({ isApp }) => {
|
47 | 46 | </HBox>
|
48 | 47 | {
|
49 | 48 | showDropdown && (
|
50 |
| - <VBox sx={{ gap: theme.spacing(10), alignItems: 'center', justifyContent: 'center', height: '85vh' }}> |
51 |
| - <VBox sx={{ gap: theme.spacing(2), alignItems: 'center' }}> |
| 49 | + <VBox sx={{ gap: 10, alignItems: 'center', justifyContent: 'center', height: '85vh' }}> |
| 50 | + <VBox sx={{ gap: 2, alignItems: 'center' }}> |
52 | 51 | <LandingPageHollowButtonMobile isApp={isApp} setShowDropdown={setShowDropdown} text={t('home.menu.improve')} to='/#feedback' />
|
53 | 52 | <LandingPageHollowButtonMobile isApp={isApp} setShowDropdown={setShowDropdown} text={t('home.menu.aboutUs')} to={"/#about-us"} />
|
54 | 53 | <LandingPageHollowButtonMobile isApp={isApp} setShowDropdown={setShowDropdown} text={t('home.menu.activityLog')} to={'/activity-log'} />
|
|
0 commit comments