improve experience

This commit is contained in:
2025-05-01 21:15:43 +01:00
parent 77dc7f42b8
commit 25902eea8b
4 changed files with 23 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ import workExperienceData, {workExperienceParagraph} from "@/src/portfolio/data/
const Experience = () => {
const calcPagesOnWidth = (width : number) => {
return Math.floor(width / 700 + 1);
return Math.floor(width / 800 + 1);
};
const [pages, setPages] = useState(calcPagesOnWidth(1000));