diff --git a/apps/client/.env b/apps/client/.env deleted file mode 100644 index c4677403..00000000 --- a/apps/client/.env +++ /dev/null @@ -1,8 +0,0 @@ -NEXT_PUBLIC_APP_VERSION=$npm_package_version - -# App & Server URLs -NEXT_PUBLIC_APP_URL=$APP_URL -NEXT_PUBLIC_SERVER_URL=$SERVER_URL - -# Google OAuth -NEXT_PUBLIC_GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID \ No newline at end of file diff --git a/apps/client/.eslintrc.json b/apps/client/.eslintrc.json index 518bfc81..ce7e5f4e 100644 --- a/apps/client/.eslintrc.json +++ b/apps/client/.eslintrc.json @@ -19,5 +19,8 @@ ], "env": { "jest": true + }, + "rules": { + "@next/next/no-img-element": "off" } } diff --git a/apps/client/components/build/Center/ArtboardController.tsx b/apps/client/components/build/Center/ArtboardController.tsx index d6f53589..400b1149 100644 --- a/apps/client/components/build/Center/ArtboardController.tsx +++ b/apps/client/components/build/Center/ArtboardController.tsx @@ -9,7 +9,7 @@ import { ZoomIn, ZoomOut, } from '@mui/icons-material'; -import { ButtonBase, Divider, Tooltip } from '@mui/material'; +import { ButtonBase, Divider, Tooltip, useMediaQuery, useTheme } from '@mui/material'; import clsx from 'clsx'; import { get } from 'lodash'; import { useTranslation } from 'next-i18next'; @@ -28,9 +28,11 @@ import styles from './ArtboardController.module.scss'; const ArtboardController: React.FC = ({ zoomIn, zoomOut, centerView }) => { const { t } = useTranslation(); + const theme = useTheme(); const dispatch = useAppDispatch(); const resume = useAppSelector((state) => state.resume); + const isDesktop = useMediaQuery(theme.breakpoints.up('sm')); const { left, right } = useAppSelector((state) => state.build.sidebar); const orientation = useAppSelector((state) => state.build.page.orientation); @@ -92,29 +94,33 @@ const ArtboardController: React.FC = ({ zoomIn, zoomOut, c - - - {orientation === 'vertical' ? ( - - ) : ( - - )} - - + {isDesktop && ( + <> + + + {orientation === 'vertical' ? ( + + ) : ( + + )} + + - - - - - + + + + + - - - - - + + + + + - + + + )} diff --git a/apps/client/components/build/RightSidebar/RightSidebar.tsx b/apps/client/components/build/RightSidebar/RightSidebar.tsx index 76d29939..90a53636 100644 --- a/apps/client/components/build/RightSidebar/RightSidebar.tsx +++ b/apps/client/components/build/RightSidebar/RightSidebar.tsx @@ -72,7 +72,7 @@ const RightSidebar = () => {