start something stylish 🐷💅 add sass, create layout components, sort styles and components into folders

This commit is contained in:
2024-05-09 02:11:37 +02:00
parent 5b9c484f14
commit 5cd5e40e91
14 changed files with 350 additions and 90 deletions
+19
View File
@@ -0,0 +1,19 @@
"use client";
import Link from "next/link";
import styles from "./footer.module.scss";
export const Footer = () => {
const scrollToTop = () => {
window.scrollTo({
top: 0,
behavior: "smooth",
});
};
return (
<footer className={styles.footer}>
<p>Footer med kontaktinfo og sånt</p>
<button onClick={scrollToTop}>Til toppen</button>
</footer>
);
};