mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-26 01:34:25 +01:00
Merge branch 'dev' into feature/list-your-product-ui
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
||||
import '@szhsin/react-menu/dist/index.css';
|
||||
import { FiChevronDown } from "react-icons/fi";
|
||||
import Avatar from "src/features/Profiles/Components/Avatar/Avatar";
|
||||
import { createRoute } from "src/utils/routing";
|
||||
import { createRoute, PAGES_ROUTES } from "src/utils/routing";
|
||||
import Button from "../Button/Button";
|
||||
|
||||
|
||||
@@ -64,10 +64,10 @@ export default function NavDesktop() {
|
||||
menuStyle={{ border: '1px solid' }}
|
||||
>
|
||||
<MenuItem
|
||||
href="/blog"
|
||||
href={PAGES_ROUTES.blog.feed}
|
||||
onClick={(e) => {
|
||||
e.syntheticEvent.preventDefault();
|
||||
navigate("/blog");
|
||||
navigate(PAGES_ROUTES.blog.feed);
|
||||
}}
|
||||
className='!p-16 font-medium flex gap-16 hover:bg-gray-100 !rounded-12 '
|
||||
>
|
||||
|
||||
@@ -14,7 +14,7 @@ import styles from './styles.module.css'
|
||||
import '@szhsin/react-menu/dist/index.css';
|
||||
import { Menu, MenuButton, MenuItem } from "@szhsin/react-menu";
|
||||
import Avatar from "src/features/Profiles/Components/Avatar/Avatar";
|
||||
import { createRoute } from "src/utils/routing";
|
||||
import { createRoute, PAGES_ROUTES } from "src/utils/routing";
|
||||
|
||||
const navBtnVariant = {
|
||||
menuHide: { rotate: 90, opacity: 0 },
|
||||
@@ -186,7 +186,7 @@ export default function NavMobile() {
|
||||
>
|
||||
<div className='flex flex-col gap-24 pt-16' >
|
||||
<Link
|
||||
to="/blog"
|
||||
to={PAGES_ROUTES.blog.feed}
|
||||
onClick={() => toggleDrawerOpen(false)}
|
||||
className='font-medium flex gap-16 !rounded-12 '
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user