rework components v2

This commit is contained in:
Kuba Pyla
2026-05-20 04:12:21 +02:00
parent 1aa0a96e95
commit 96d0804b14
24 changed files with 546 additions and 222 deletions
+15
View File
@@ -0,0 +1,15 @@
'use client';
import {useEffect} from 'react';
export function ScrollToTopOnMount() {
useEffect(() => {
if (window.location.hash) {
return;
}
window.scrollTo({top: 0, left: 0});
}, []);
return null;
}