feat: revise fixed button
This commit is contained in:
parent
3340f1c5ee
commit
5805484525
5 changed files with 15 additions and 25 deletions
|
|
@ -26,13 +26,10 @@ export default function Page() {
|
|||
window.scrollTo(0, 0);
|
||||
}, []);
|
||||
|
||||
const handleBack = () => {
|
||||
window.location.href = "/";
|
||||
};
|
||||
return (
|
||||
<>
|
||||
<main className="overflow-hidden">
|
||||
<FixedButon onClick={handleBack}>
|
||||
<FixedButon href="/#about">
|
||||
<FontAwesomeIcon
|
||||
icon={faChevronLeft}
|
||||
className="text-black pr-10"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue