diff --git a/client/src/app/globals.css b/client/src/app/globals.css index 8a306d2..2c520df 100644 --- a/client/src/app/globals.css +++ b/client/src/app/globals.css @@ -1,31 +1,7 @@ @tailwind base; @tailwind components; @tailwind utilities; -/* -:root { - --background: #ffffff; - --foreground: #171717; -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } -} - -body { - color: var(--foreground); - background: var(--background); - font-family: Arial, Helvetica, sans-serif; -} - -@layer utilities { - .text-balance { - text-wrap: balance; - } -} */ @layer base { :root { --background: 0 0% 100%; @@ -52,7 +28,7 @@ body { --chart-3: 197 37% 24%; --chart-4: 43 74% 66%; --chart-5: 27 87% 67%; - --radius: 0.5rem + --radius: 0.5rem; } .dark { --background: 240 10% 3.9%; @@ -78,14 +54,30 @@ body { --chart-2: 160 60% 45%; --chart-3: 30 80% 55%; --chart-4: 280 65% 60%; - --chart-5: 340 75% 55% + --chart-5: 340 75% 55%; } } + @layer base { * { @apply border-border; } + body { @apply bg-background text-foreground; + background-image: url('https://images.pexels.com/photos/2387793/pexels-photo-2387793.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2'); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + min-height: 100vh; } -} \ No newline at end of file + + .line-chart { + height: 400px; /* Desired height */ + width: 100%; /* Full width */ + max-width: 800px; /* Optional: Limit max width */ + margin: 20px auto; /* Center it */ + position: relative; /* Ensure positioning */ + } + +} diff --git a/client/src/components/Navbar/index.tsx b/client/src/components/Navbar/index.tsx index d675ba9..a89ace3 100644 --- a/client/src/components/Navbar/index.tsx +++ b/client/src/components/Navbar/index.tsx @@ -2,51 +2,61 @@ import * as React from "react"; import { NavigationMenu, NavigationMenuContent, - NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, - NavigationMenuViewport, } from "@radix-ui/react-navigation-menu"; +import StockChart from '../StockChart'; // Adjust the path if necessary -export default function Navbar() { +export default function Home() { return ( -