Skip to content

Commit

Permalink
Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 18, 2023
1 parent aefbea0 commit 8e591dd
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import { Icons } from "@midday/ui/icons";

export default function Invoice() {
return null;
return (
<div className="h-[calc(100vh-300px)] flex items-center justify-center">
<div className="flex flex-col items-center">
<Icons.WorkInProgress className="mb-4 w-[35px] h-[35px]" />
<div className="text-center mb-6 space-y-2">
<h2 className="font-medium text-lg">Work in progress</h2>
<p className="text-[#606060] text-sm">
Nunc sit amet lectus quis mi vehicula lacinia nec
<br /> non purus. Aliquam id rutrum magna. Duis
<br /> convallis orci odio, sit amet vehicula tortor
<br /> tincidunt quis.
</p>
</div>
</div>
</div>
);
}
20 changes: 20 additions & 0 deletions apps/dashboard/src/app/[locale]/@dashboard/(root)/timer/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Icons } from "@midday/ui/icons";

export default function Timer() {
return (
<div className="h-[calc(100vh-300px)] flex items-center justify-center">
<div className="flex flex-col items-center">
<Icons.WorkInProgress className="mb-4 w-[35px] h-[35px]" />
<div className="text-center mb-6 space-y-2">
<h2 className="font-medium text-lg">Work in progress</h2>
<p className="text-[#606060] text-sm">
Nunc sit amet lectus quis mi vehicula lacinia nec
<br /> non purus. Aliquam id rutrum magna. Duis
<br /> convallis orci odio, sit amet vehicula tortor
<br /> tincidunt quis.
</p>
</div>
</div>
</div>
);
}
10 changes: 10 additions & 0 deletions apps/dashboard/src/components/command-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ const navigation = [
path: "/transactions",
icon: () => <Icons.Transactions size={20} />,
},
{
name: "Invoices",
path: "/invoices",
icon: Icons.Invoice,
},
{
name: "Timer",
path: "/timer",
icon: Icons.Timer,
},
{
name: "Vault",
path: "/vault",
Expand Down
10 changes: 10 additions & 0 deletions apps/dashboard/src/components/main-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ export function MainMenu() {
name: "Transactions",
icon: () => <Icons.Transactions size={22} />,
},
{
path: "/invoices",
name: "Invoices",
icon: () => <Icons.Invoice size={22} />,
},
{
path: "/timer",
name: "Timer",
icon: () => <Icons.Timer size={22} />,
},
{
path: "/vault",
name: "Vault",
Expand Down
4 changes: 4 additions & 0 deletions packages/ui/src/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ import {
MdOutlineDescription,
MdOutlineDifference,
MdOutlineFileDownload,
MdOutlineHandyman,
MdOutlineInsertPhoto,
MdOutlineIntegrationInstructions,
MdOutlineInventory2,
MdOutlineListAlt,
MdOutlineNotificationsNone,
MdOutlineOpenInFull,
MdOutlineTimer,
MdOutlineTune,
MdPayments,
MdPeople,
Expand Down Expand Up @@ -423,4 +425,6 @@ export const Icons = {
Image: MdOutlineInsertPhoto,
Security: MdSecurity,
AI: MdAutoAwesome,
Timer: MdOutlineTimer,
WorkInProgress: MdOutlineHandyman,
};

0 comments on commit 8e591dd

Please sign in to comment.