Initial pages and Navbar

This commit is contained in:
Brad Traversy
2024-07-08 14:39:39 -04:00
parent 8594385db2
commit 5900231767
6 changed files with 200 additions and 3 deletions
+2
View File
@@ -1,3 +1,4 @@
import Navbar from '@/components/Navbar';
import '@/assets/styles/globals.css';
export const metadata = {
@@ -10,6 +11,7 @@ const MainLayout = ({ children }) => {
return (
<html lang='en'>
<body>
<Navbar />
<main>{children}</main>
</body>
</html>
+9 -3
View File
@@ -1,5 +1,11 @@
const HomePage = () => {
return <h1 className='text-2xl'>HomePage</h1>;
};
import Link from 'next/link';
const HomePage = () => {
return (
<div>
<h1 className='text-3xl'>Welcome</h1>
<Link href='/properties'>Properties</Link>
</div>
);
};
export default HomePage;
+4
View File
@@ -0,0 +1,4 @@
const PropertyPage = () => {
return <div>PropertyPage</div>;
};
export default PropertyPage;
+4
View File
@@ -0,0 +1,4 @@
const AddPropertyPage = () => {
return <div>AddPropertyPage</div>;
};
export default AddPropertyPage;
+5
View File
@@ -0,0 +1,5 @@
const PropertiesPage = () => {
return <div>PropertiesPage</div>;
};
export default PropertiesPage;