navbar improvements + page re-organization
This commit is contained in:
@ -1,13 +1,21 @@
|
||||
import { ChevronLeft, Home } from "lucide-react"
|
||||
import { Button } from "../ui/button"
|
||||
import Image from "next/image"
|
||||
import Logo from "@/assets/logo.svg"
|
||||
import { Input } from "../ui/input"
|
||||
import { Pencil } from "lucide-react"
|
||||
|
||||
export default function Navbar() {
|
||||
return (
|
||||
<div className="h-12 px-2 w-full flex items-center justify-between">
|
||||
<div className="flex items-center">
|
||||
<Button variant="outline">
|
||||
<ChevronLeft className="w-4 h-4 mr-2" /> Go Home
|
||||
</Button>
|
||||
<div className="h-14 px-2 w-full flex items-center justify-between border-b border-border">
|
||||
<div className="flex items-center space-x-4">
|
||||
<button className="ring-offset-2 ring-offset-background focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none rounded-sm">
|
||||
<Image src={Logo} alt="Logo" width={36} height={36} />
|
||||
</button>
|
||||
<div className="text-sm font-medium flex items-center">
|
||||
My React Project{" "}
|
||||
<div className="h-7 w-7 ml-1 flex items-center justify-center transition-colors bg-transparent hover:bg-muted-foreground/25 rounded-md">
|
||||
<Pencil className="w-4 h-4" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
Reference in New Issue
Block a user