|
@@ -20,7 +20,8 @@ import Section12 from "./view/Section12";
|
|
import Section13 from "./view/Section13";
|
|
import Section13 from "./view/Section13";
|
|
import Section14 from "./view/Section14";
|
|
import Section14 from "./view/Section14";
|
|
import Section15 from "./view/Section15";
|
|
import Section15 from "./view/Section15";
|
|
-
|
|
|
|
|
|
+import Section16 from "./view/Section16";
|
|
|
|
+import Section17 from "./view/Section17";
|
|
import { useControls } from "leva";
|
|
import { useControls } from "leva";
|
|
|
|
|
|
gsap.registerPlugin(ScrollTrigger);
|
|
gsap.registerPlugin(ScrollTrigger);
|
|
@@ -34,7 +35,15 @@ let resizeTimer = null;
|
|
|
|
|
|
function App() {
|
|
function App() {
|
|
const container = useRef();
|
|
const container = useRef();
|
|
- const { debug } = useControls({ debug: false });
|
|
|
|
|
|
+ const { debug, scrollSpeed } = useControls({
|
|
|
|
+ debug: false,
|
|
|
|
+ scrollSpeed: {
|
|
|
|
+ value: 0.66,
|
|
|
|
+ min: 0,
|
|
|
|
+ max: 1,
|
|
|
|
+ step: 0.01,
|
|
|
|
+ },
|
|
|
|
+ });
|
|
const handlerResize = () => {
|
|
const handlerResize = () => {
|
|
clearTimeout(resizeTimer);
|
|
clearTimeout(resizeTimer);
|
|
resizeTimer = setTimeout(function () {
|
|
resizeTimer = setTimeout(function () {
|
|
@@ -88,6 +97,8 @@ function App() {
|
|
<Section13 debug={debug} />
|
|
<Section13 debug={debug} />
|
|
<Section14 debug={debug} />
|
|
<Section14 debug={debug} />
|
|
<Section15 debug={debug} />
|
|
<Section15 debug={debug} />
|
|
|
|
+ <Section16 debug={debug} />
|
|
|
|
+ <Section17 debug={debug} />
|
|
</div>
|
|
</div>
|
|
);
|
|
);
|
|
}
|
|
}
|