command menu integration and misc changes

This commit is contained in:
2024-06-11 17:16:22 -04:00
parent d7fd98df00
commit 085d82d3dd
12 changed files with 178 additions and 22 deletions
+5
View File
@@ -1,5 +1,10 @@
import { Metadata } from "next";
import React from "react";
export const metadata: Metadata = {
title: "Calendar",
};
const page = () => {
return <div>Calendar</div>;
};
+2 -2
View File
@@ -12,13 +12,13 @@ import {
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Dashboard :)",
title: "Dashboard",
};
export default function Home() {
return (
<main className="flex h-full">
<div className="pb-6 grid grid-rows-3 grid-cols-12 gap-6 flex-1 ">
<div className="grid grid-rows-3 grid-cols-12 gap-6 flex-1 ">
<div className="col-span-4 sm:col-span-4">
<PortfolioModule />
</div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

+4 -4
View File
@@ -11,8 +11,8 @@ import { dark } from "@clerk/themes";
const red_hat = Red_Hat_Display({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "yellowbird",
description: "yellowbird finance",
};
export default function RootLayout({
@@ -40,9 +40,9 @@ export default function RootLayout({
disableTransitionOnChange
>
<Sidebar />
<main className="w-full h-full overflow-y-scroll">
<main className="w-full h-screen overflow-auto">
<Navbar />
<div className="w-full h-full p-4">{children}</div>
<div className="w-full h-[calc(100vh-64px)] p-4">{children}</div>
</main>
</ThemeProvider>
</body>
+5
View File
@@ -1,5 +1,10 @@
import { Metadata } from "next";
import React from "react";
export const metadata: Metadata = {
title: "Portfolio",
};
const page = () => {
return <div>Portfolio</div>;
};
+12 -8
View File
@@ -1,12 +1,16 @@
"use client";
import InsiderTrading from "@/components/charts/InsiderTrading";
import HomepageModule from "@/components/modules/HomepageModuleCard";
import CommandKey from "@/components/nav/CommandKey";
import CommandMenu from "@/components/nav/CommandMenu";
import React from "react";
import { insiderTransactions } from "../../../public/MockData/MockData";
const tests = () => {
return <InsiderTrading data={insiderTransactions} />;
const page = () => {
return (
<div className="flex flex-col">
<div className="w-1/2 h-96">
<CommandMenu />
</div>
<CommandKey />
</div>
);
};
export default tests;
export default page;