mess around with footer + misc adjustments on event header and venue item

This commit is contained in:
elise
2024-08-07 23:55:46 +02:00
parent 7c8f7b7377
commit 0dd6898c38
8 changed files with 56 additions and 29 deletions

View File

@ -1,5 +1,6 @@
"use client";
import { useInView } from "react-intersection-observer";
import Icon from "../general/Icon";
export const ToTop = () => {
const scrollToTop = () => {
@ -8,5 +9,8 @@ export const ToTop = () => {
behavior: "smooth",
});
};
return <button onClick={scrollToTop}>Til toppen</button>;
return <button onClick={scrollToTop}>
Til toppen
<Icon type="arrowUp" />
</button>;
};