fix: remove about page
This commit is contained in:
parent
1b8a9e1752
commit
51c7c00063
@ -1,15 +0,0 @@
|
|||||||
import { Metadata } from "next";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
|
||||||
title: "About Rhyme",
|
|
||||||
description: "Information about the Rhyme and its creators",
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function About() {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<h1 className="font-bold text-2xl mb-4">About Page</h1>
|
|
||||||
<span>TODO</span>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
@ -1,5 +1,5 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { CircleQuestionMark, List, Plus, UserRound, UserRoundMinus } from "lucide-react";
|
import { List, Plus, UserRound, UserRoundMinus } from "lucide-react";
|
||||||
import { getAuth, logOut } from "@/app/actions/auth";
|
import { getAuth, logOut } from "@/app/actions/auth";
|
||||||
import { createNote } from "@/app/actions/notes";
|
import { createNote } from "@/app/actions/notes";
|
||||||
import HeaderButton from "./ui/HeaderButton";
|
import HeaderButton from "./ui/HeaderButton";
|
||||||
@ -25,9 +25,6 @@ export default async function Header() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex gap-2 ml-auto">
|
<div className="flex gap-2 ml-auto">
|
||||||
<Link href="/about">
|
|
||||||
<HeaderButton title="about" icon={<CircleQuestionMark size={20} />} />
|
|
||||||
</Link>
|
|
||||||
{user ? (
|
{user ? (
|
||||||
<form action={logOut}>
|
<form action={logOut}>
|
||||||
<HeaderButton type="submit" title="log out" icon={<UserRoundMinus size={20} />} />
|
<HeaderButton type="submit" title="log out" icon={<UserRoundMinus size={20} />} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user