Skip to content

Commit

Permalink
docs: added product roadmap link
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvink96 committed Feb 24, 2024
1 parent 8567b7a commit 0440e8a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ export const PATH_START = {
export const PATH_DOCS = {
help: 'https://github.com/design-sparx/antd-multipurpose-dashboard/blob/main/README.md',
components: 'https://6546507b657a74164abf2db6-oniqlpqtfs.chromatic.com/',
productRoadmap:
'https://kelvink96.notion.site/Antd-multipurpose-dashboard-Product-roadmap-92163e05b8ea444a8f87b7f834933069?pvs=74',
};

export const PATH_CHANGELOG = {
Expand Down
9 changes: 8 additions & 1 deletion src/layouts/app/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
GithubOutlined,
IdcardOutlined,
PieChartOutlined,
ProductOutlined,
SecurityScanOutlined,
SnippetsOutlined,
UserOutlined,
Expand Down Expand Up @@ -198,7 +199,13 @@ const items: MenuProps['items'] = [
]),

getItem('Help', 'help', null, [], 'group'),

getItem(
<Link to={PATH_DOCS.productRoadmap} target="_blank">
Roadmap
</Link>,
'product-roadmap',
<ProductOutlined />
),
getItem(
<Link to={PATH_DOCS.components} target="_blank">
Components
Expand Down
11 changes: 11 additions & 0 deletions src/layouts/guest/Guest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
LoginOutlined,
MenuFoldOutlined,
MenuUnfoldOutlined,
ProductOutlined,
} from '@ant-design/icons';
import { useMediaQuery } from 'react-responsive';
import { Logo, Nprogress } from '../../components';
Expand Down Expand Up @@ -92,6 +93,11 @@ const GuestLayout = () => {
{!isMobile ? (
<>
<Flex gap="small">
<Link to={PATH_DOCS.productRoadmap} target="_blank">
<Button icon={<ProductOutlined />} type="link">
Product Roadmap
</Button>
</Link>
<Link to={PATH_DOCS.components} target="_blank">
<Button icon={<AppstoreAddOutlined />} type="link">
Components
Expand Down Expand Up @@ -175,6 +181,11 @@ const GuestLayout = () => {
<Drawer title="Menu" placement="left" onClose={onClose} open={open}>
<>
<Flex gap="small" vertical>
<Link to={PATH_DOCS.productRoadmap} target="_blank">
<Button icon={<ProductOutlined />} type="link">
Roadmap
</Button>
</Link>
<Link to={PATH_DASHBOARD.default}>
<Button icon={<LoginOutlined />} type="text">
Live Preview
Expand Down

0 comments on commit 0440e8a

Please sign in to comment.