Skip to content

Commit c5b5db9

Browse files
authored
Merge pull request #2 from iDataVisualizationLab/master
Master
2 parents b348630 + 901ca81 commit c5b5db9

20 files changed

Lines changed: 1423 additions & 1255 deletions

package-lock.json

Lines changed: 72 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@
1414
"@heroicons/react": "^2.2.0",
1515
"@tailwindcss/forms": "^0.5.10",
1616
"@types/plotly.js": "^3.0.0",
17+
"@types/plotly.js-dist-min": "^2.3.4",
1718
"lucide-react": "^0.515.0",
1819
"next": "15.3.3",
1920
"plotly.js": "^3.0.1",
21+
"plotly.js-dist-min": "^3.0.1",
2022
"react": "^19.0.0",
2123
"react-dom": "^19.0.0",
2224
"react-plotly.js": "^2.6.0",
25+
"react-rnd": "^10.5.2",
2326
"react-router-dom": "^7.6.2"
2427
},
2528
"devDependencies": {

src/app/layout.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
import './globals.css';
33
import { ReactNode } from 'react';
44
import Navbar from '@/components/Navbar/Navbar';
5-
// import Controller from '@/components/Controller';
6-
import SidebarLayout from '@/components/Sidebar/SidebarLayout';
5+
import Sidebar from '@/components/Sidebar/Sidebar';
76
import { PlotSettingsProvider } from '@/context/PlotSettingsContext';
87
export const metadata = {
98
title: 'JWST Precision Timing',
@@ -18,8 +17,8 @@ export default function RootLayout({ children }: { children: ReactNode }) {
1817
<PlotSettingsProvider>
1918
<Navbar />
2019
<div className="flex flex-1 overflow-hidden">
21-
<SidebarLayout />
22-
<main className="flex-1 h-[calc(100vh-4rem)] overflow-auto">
20+
<Sidebar />
21+
<main className="flex-1 h-[calc(100vh-52px)] overflow-auto">
2322
{children}
2423
</main>
2524
</div>

src/app/not-found.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import React from 'react';
2+
import Link from 'next/link';
3+
24
export default function NotFound() {
35
return (
46
<main className="grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8">
@@ -11,12 +13,12 @@ export default function NotFound() {
1113
Sorry, we couldn’t find the page you’re looking for.
1214
</p>
1315
<div className="mt-10 flex items-center justify-center gap-x-6">
14-
<a
16+
<Link
1517
href="/"
1618
className="rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
1719
>
1820
Go back home
19-
</a>
21+
</Link>
2022
<a href="/contact" className="text-sm font-semibold text-gray-900">
2123
Contact support <span aria-hidden="true">&rarr;</span>
2224
</a>

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import LightCurvePlot from '@/components/LightCurvePlot';
22

33
export default function HomePage() {
44
return (
5-
<main className="min-h-screen bg-gray-50">
5+
<main className="min-h-full bg-gray-50 overflow-auto">
66
<LightCurvePlot />
77
</main>
88
);

0 commit comments

Comments
 (0)