more fixes

This commit is contained in:
r-III03
2025-01-25 22:57:50 -05:00
parent ee3335d16e
commit e6c6e35665
7 changed files with 246 additions and 218 deletions

View File

@@ -1,5 +1,7 @@
"use client"
/*
"use client"
import Head from 'next/head';
import React from 'react';
import { Navbar } from '@/components/navbar';
import { Footer } from '@/components/footer';
@@ -23,6 +25,61 @@ export default function RootLayout({ children }: { children: React.ReactNode })
</html>
)
}
*/
import type { Metadata } from "next"
import { Inter } from "next/font/google"
import "./globals.css"
import { Mic } from "lucide-react"
const inter = Inter({ subsets: ["latin"] })
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
<div className="flex flex-col min-h-screen">
<header className="bg-primary text-primary-foreground shadow-md">
<div className="container mx-auto px-4 py-4 flex items-center justify-between">
<div className="flex items-center space-x-2">
<Mic className="h-6 w-6" />
<h1 className="text-2xl font-bold">PostCare</h1>
</div>
<nav>
<ul className="flex space-x-4">
<li>
<a href="#" className="hover:underline">
Home
</a>
</li>
<li>
<a href="#" className="hover:underline">
About
</a>
</li>
<li>
<a href="#" className="hover:underline">
Contact
</a>
</li>
</ul>
</nav>
</div>
</header>
<main className="flex-grow">{children}</main>
<footer className="bg-muted mt-8">
<div className="container mx-auto px-4 py-6 text-center">
</div>
</footer>
</div>
</body>
</html>
)
}