update miletruth page and remove unwanted files
This commit is contained in:
@@ -10,6 +10,26 @@ html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
/* 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. */
|
||||
html.lenis,
|
||||
html.lenis body {
|
||||
height: auto;
|
||||
}
|
||||
.lenis.lenis-smooth {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
.lenis.lenis-smooth [data-lenis-prevent] {
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.lenis.lenis-stopped {
|
||||
overflow: hidden;
|
||||
}
|
||||
.lenis.lenis-smooth iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
*, *::before, *::after {
|
||||
font-family: var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ import BodyOverlay from "@/components/layout/BodyOverlay";
|
||||
import { HeaderUIProvider } from "@/components/layout/HeaderUIProvider";
|
||||
import { SHARED_BODY_CLASSES } from "@/lib/bodyClasses";
|
||||
import AnimationProvider from "@/animations/AnimationProvider";
|
||||
import SmoothScroll from "@/animations/SmoothScroll";
|
||||
import LoadingScreen from "@/components/layout/LoadingScreen";
|
||||
|
||||
const manrope = Manrope({
|
||||
subsets: ["latin"],
|
||||
@@ -95,7 +97,9 @@ export default function RootLayout({
|
||||
*/}
|
||||
<body className={SHARED_BODY_CLASSES}>
|
||||
<BodyClasses />
|
||||
<LoadingScreen />
|
||||
<AnimationProvider>
|
||||
<SmoothScroll />
|
||||
<HeaderUIProvider>
|
||||
<BodyOverlay />
|
||||
<div className="body-container">
|
||||
|
||||
@@ -3,7 +3,6 @@ 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 LogisticsBrainSection from "../../components/logisticsbrain/LogisticsBrainSection";
|
||||
|
||||
export const metadata = {
|
||||
title: "MileTruth – Doormile",
|
||||
@@ -20,7 +19,6 @@ export default function MileTruthPage() {
|
||||
<Workflow1 />
|
||||
<Workflow2 />
|
||||
<Workflow3 />
|
||||
<LogisticsBrainSection />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user