diff --git a/bun.lockb b/bun.lockb index d8af75f..3921e2c 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 48b4519..416e5b8 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "neverthrow": "^8.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", + "react-helmet-async": "^2.0.5", "react-hook-form": "^7.53.0", "react-intersection-observer": "^9.13.1", "react-leaflet": "^4.2.1", diff --git a/src/assets/img/ogp/ogp_main.png b/src/assets/img/ogp/ogp_main.png new file mode 100644 index 0000000..4b1c3d8 Binary files /dev/null and b/src/assets/img/ogp/ogp_main.png differ diff --git a/src/routes/index.tsx b/src/routes/index.tsx index e1c294e..d66588e 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,5 +1,6 @@ import { createFileRoute, Link } from "@tanstack/react-router"; import { styled as p } from "panda/jsx"; +import { Helmet, HelmetProvider } from "react-helmet-async"; import { useInView } from "react-intersection-observer"; import circle from "@/assets/svg/background/circle.svg"; import decorationRight from "@/assets/svg/background/decoration-right.svg"; @@ -66,304 +67,324 @@ export const Route = createFileRoute("/")({ return ( - - {inViewHeader && ( - - )} - + + + Wakaba + + + {inViewHeader && ( + + )} + - - {inView1 && ( - - - Wakabaとは - + + {inView1 && ( + + + Wakabaとは + + + + アイデアの種をあつめ形にするサービスです。 +
+ あなたの投稿したアイデアがこの町の明日を豊かにするかも! +
+
+ )} +
+ + + {inView4 && ( + + {inView2 && ( + + + 種を植える + - - アイデアの種をあつめ形にするサービスです。 -
- あなたの投稿したアイデアがこの町の明日を豊かにするかも! -
-
- )} -
+ + 意見を投稿して、住みやすい街を +
+ 作るアイデアの種を植えよう! +
+ + + +
+ )} +
+ )} +
- - {inView4 && ( - - {inView2 && ( - + + {inView3 && ( + + - 種を植える + Projects - - 意見を投稿して、住みやすい街を -
- 作るアイデアの種を植えよう! + 試しに好きなジャンルのプロジェクトを調べてみる
- +
+ + - + + + + + + + - )} -
- )} -
- - - {inView3 && ( - - - - Projects - - - 試しに好きなジャンルのプロジェクトを調べてみる - + )} + + + {inView5 && ( - - - - - - - - - - - - )} - - - {inView5 && ( - - - - Overview - - - マップ上から近くのプロジェクトを探してみる - - - - - - + マップ上から近くのプロジェクトを探してみる + + + + + + + - - )} -
+ )} +
+
); },