starting with the frontend

parent f25aacb3
......@@ -6,7 +6,7 @@ import Avatar from "./avatar"
export default function Navbar() {
return (
<nav className="flex justify-between items-center px-4 py-3 bg-gray-800 text-white">
<nav className="flex justify-between items-center px-4 py-3 bg-green-800 text-white">
<Sections/>
<Avatar/>
</nav>
......
......@@ -4,16 +4,16 @@ export default function Sections() {
return (
<div className="flex gap-6">
<Link href="/" className="text-white hover:text-gray-300">
BookCrossing
Home
</Link>
<Link href="/available" className="text-white hover:text-gray-300">
Available
Recent Exams
</Link>
<Link href="/loans" className="text-white hover:text-gray-300">
My loans
Grades
</Link>
<Link href="/owned" className="text-white hover:text-gray-300">
My books
Exchange Exams
</Link>
</div>
)
......
......@@ -2,7 +2,7 @@
:root {
--background: #ffffff;
--foreground: #171717;
--foreground: #1a6e2b;
}
@theme inline {
......@@ -14,8 +14,8 @@
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
--background: #efeaea;
--foreground: #150b0b;
}
}
......
export default function Home() {
return (
<>
Welcome to BookCrossing
Welcome
</>
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment