diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 2b82c4c..0ea7765 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,4 +1,4 @@ -import { createFileRoute } from "@tanstack/react-router"; +import { createFileRoute, Link } from "@tanstack/react-router"; import { styled as p } from "panda/jsx"; import { useInView } from "react-intersection-observer"; import { LogoComposite } from "@/components/Logo"; @@ -8,15 +8,15 @@ import { Expanded } from "@/components/cva/Expanded"; export const Route = createFileRoute("/")({ component: () => { const [ref1, inView1] = useInView({ - rootMargin: "-500px", + rootMargin: "-200px", triggerOnce: true, }); const [ref2, inView2] = useInView({ - rootMargin: "-500px", + rootMargin: "-200px", triggerOnce: true, }); const [ref3, inView3] = useInView({ - rootMargin: "-500px", + rootMargin: "-200px", triggerOnce: true, }); @@ -108,21 +108,22 @@ export const Route = createFileRoute("/")({ でも、ある時、ようやくかわいらしい男の子が産まれました。 れどれ。あら、こぶなんてないじゃないの?」 - - + + + )}