feat: revise fixed button

This commit is contained in:
Alvalen 2024-09-01 08:24:04 +07:00
parent 3340f1c5ee
commit 5805484525
5 changed files with 15 additions and 25 deletions

View file

@ -98,12 +98,9 @@ function Page({ params }) {
</div>
);
}
const handleBack = () => {
window.history.back();
};
return (
<div className="relative min-h-screen w-full gap-4 p-10 flex justify-center items-center flex-col mb-10 ">
<FixedButon onClick={handleBack}>
<FixedButon href="/projects">
<FontAwesomeIcon
icon={faChevronLeft}
className="text-black pr-10"