update the loading issue

This commit is contained in:
2026-06-03 21:56:28 +05:30
parent 6b37649ed4
commit 123092f4b8
14 changed files with 340 additions and 145 deletions

View File

@@ -11,8 +11,8 @@ html {
}
/* Lenis global smooth scroll (src/animations/SmoothScroll.tsx). These classes are
only present on routes/devices where Lenis is active; on /miletruth and touch
devices Lenis is off and native scroll-behavior:smooth (above) applies. */
only present on routes/devices where Lenis is active; on touch devices and with
prefers-reduced-motion Lenis is off and native scroll-behavior:smooth (above) applies. */
html.lenis,
html.lenis body {
height: auto;

View File

@@ -63,7 +63,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en-US" className={`${manrope.variable} ${spaceGrotesk.variable} ${syne.variable} ${dmSans.variable} ${inter.variable}`}>
<html lang="en-US" data-scroll-behavior="smooth" className={`${manrope.variable} ${spaceGrotesk.variable} ${syne.variable} ${dmSans.variable} ${inter.variable}`}>
<head>
{/* FontAwesome icons */}
<link

View File

@@ -2,7 +2,7 @@ import React from "react";
import MileTruthHero from "../../components/sections/MileTruthHero";
import Workflow1 from "../../components/sections/Workflow1";
import Workflow2 from "../../components/sections/Workflow2";
import Workflow3 from "../../components/sections/Workflow3";
import Workflow3Lazy from "../../components/sections/Workflow3Lazy";
export const metadata = {
title: "MileTruth Doormile",
@@ -18,7 +18,7 @@ export default function MileTruthPage() {
<MileTruthHero />
<Workflow1 />
<Workflow2 />
<Workflow3 />
<Workflow3Lazy />
</div>
</div>
</div>