This commit is contained in:
Iliyan Angelov
2025-10-10 02:01:46 +03:00
parent dd8eb1c7aa
commit f962401565
36 changed files with 2560 additions and 659 deletions

View File

@@ -64,8 +64,20 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={`${inter.variable} ${montserrat.variable}`}>
<html lang="en" style={{ scrollBehavior: 'auto', overflow: 'auto' }}>
<head>
<script
dangerouslySetInnerHTML={{
__html: `
if ('scrollRestoration' in history) {
history.scrollRestoration = 'manual';
}
window.scrollTo(0, 0);
`,
}}
/>
</head>
<body className={`${inter.variable} ${montserrat.variable}`} style={{ scrollBehavior: 'auto', overflow: 'auto' }}>
<CookieConsentProvider
config={{
companyName: "EnterpriseSoft Solutions",