Skip to content

Commit

Permalink
added bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisAbhinav committed Oct 24, 2023
1 parent 7a08ba4 commit 472fbb0
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 135 deletions.
25 changes: 25 additions & 0 deletions app/(main)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import "../globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import TopNav from "../../components/Topnav";
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Leap",
description: "AI CLUB OF PLAKSHA",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={inter.className}>
<TopNav />
{children}
</body>
</html>
);
}
15 changes: 15 additions & 0 deletions app/(main)/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import Link from "next/link";
export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<div className="flex flex-col justify-center items-center">
<Link href="/">Linear Regression Workshop</Link>
<Link href="/parcels">ML Bytes</Link>

<Link href="/parceladder">Upcoming Events</Link>

<Link href="/about">Team</Link>
</div>
</main>
);
}
16 changes: 16 additions & 0 deletions app/about/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export const metadata = {
title: 'Next.js',
description: 'Generated by Next.js',
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
)
}
7 changes: 7 additions & 0 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function About() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
About Page
</main>
);
}
Binary file removed app/favicon.ico
Binary file not shown.
22 changes: 0 additions & 22 deletions app/layout.tsx

This file was deleted.

113 changes: 0 additions & 113 deletions app/page.tsx

This file was deleted.

5 changes: 5 additions & 0 deletions components/Topnav.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const TopNav = () => {
return <div>Leap</div>;
};

export default TopNav;

0 comments on commit 472fbb0

Please sign in to comment.