so much stuff???
This commit is contained in:
37
apps/web/src/components/header.tsx
Normal file
37
apps/web/src/components/header.tsx
Normal file
@ -0,0 +1,37 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { Button } from "./ui/button";
|
||||
import { ArrowRight } from "lucide-react";
|
||||
import { HeaderBase } from "./header-base";
|
||||
|
||||
export function Header() {
|
||||
const leftContent = (
|
||||
<Link href="/" className="font-medium tracking-tight">
|
||||
AppCut
|
||||
</Link>
|
||||
);
|
||||
|
||||
const rightContent = (
|
||||
<nav className="flex items-center">
|
||||
<Link href="/editor">
|
||||
<Button variant="ghost" className="text-sm">
|
||||
Open editor
|
||||
</Button>
|
||||
</Link>
|
||||
<Link href="https://github.com/mazeincoding/AppCut" target="_blank">
|
||||
<Button variant="ghost" className="text-sm">
|
||||
GitHub
|
||||
</Button>
|
||||
</Link>
|
||||
<Link href="/editor">
|
||||
<Button size="sm" className="text-sm ml-4">
|
||||
Start editing
|
||||
<ArrowRight className="h-4 w-4" />
|
||||
</Button>
|
||||
</Link>
|
||||
</nav>
|
||||
);
|
||||
|
||||
return <HeaderBase leftContent={leftContent} rightContent={rightContent} />;
|
||||
}
|
Reference in New Issue
Block a user