Skip to content

Commit 11cbcb2

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents aa4a13a + 901ca81 commit 11cbcb2

17 files changed

Lines changed: 737 additions & 1430 deletions

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)