Skip to content

Commit

Permalink
added comments to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jhyn1687 committed Aug 29, 2023
1 parent 0737954 commit 5dfd5e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/UI/app/model/[runid]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import Results from "@/components/results";

// Define the runtime environment as 'edge'
export const runtime = 'edge';

// Define the default function component named "Model"
export default function Model({ params }: { params: { runid: string } }) {
// Render the Results component with the "runid" parameter passed
return <Results runid={params.runid} />;
}
5 changes: 5 additions & 0 deletions src/UI/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import Searchbar from "@/components/searchbar";

// Define the default function component named "Home"
export default function Home() {
return (
// The main content of the home page
<main className="flex min-h-screen flex-col items-center justify-normal gap-10 px-6 py-12 md:p-16 lg:p-24">
{/* Page title */}
<h1 className="flex shrink-0 self-center px-1 text-center text-3xl font-bold text-inherit decoration-inherit md:text-4xl lg:text-5xl">
Reproducibility Portal
</h1>

{/* Render the Searchbar component */}
<Searchbar landing={true} />
</main>
);
Expand Down

0 comments on commit 5dfd5e6

Please sign in to comment.