Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
221 changes: 0 additions & 221 deletions docs/LP-BUILDER.md

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"typecheck": "node scripts/build-manifest.mjs && tsc -b --noEmit",
"registry": "node scripts/build-registry.mjs",
"manifest": "node scripts/build-manifest.mjs",
"lp:css": "node scripts/build-lp-css.mjs",
"test": "node scripts/build-manifest.mjs && node scripts/check-contrast.mjs --quiet && vitest run",
"check:contrast": "node scripts/check-contrast.mjs",
"check:overflow": "node scripts/build-manifest.mjs && node scripts/check-overflow.mjs",
Expand Down
79 changes: 0 additions & 79 deletions scripts/build-lp-css.mjs

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/prerender.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ const ROUTES = [
description:
"880+ のLPセクションと3Dコンポーネントを、ライブプレビューしながら検索・コピーできるスタジオ。",
},
{
route: "lp",
out: "lp/index.html",
ssr: null, // ミセテLP はウィザードUI: 本文は静的化せずシェルのみ(SEOはメタのみで対応)
robots: "index, follow",
url: `${ORIGIN}/lp`,
title: "ミセテLP — 質問に答えるだけ。プロ品質の日本語LPが3分で完成",
description:
"業種特化(旅館・サロン・クリニック)テンプレでLPを即作成、1枚HTMLで書き出し。無料で今すぐ。",
},
];

const escAttr = (s) =>
Expand Down
14 changes: 3 additions & 11 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ import { useLang } from "@/lib/i18n";
// スタジオ(レジストリ全体・プレビュー・バニラ書き出し等の重い依存)は
// 初期表示に不要なため、別チャンクに分けて遅延ロードする(Core Web Vitals 対策)。
const Studio = lazy(() => import("@/Studio"));
// ミセテLP(ウィザードUI)も同様に重いため遅延ロードする。
const LpBuilder = lazy(() => import("@/lp/LpBuilder"));

export type Route = "home" | "studio" | "pricing" | "lp";
export type Route = "home" | "studio" | "pricing";

export function routeFromPath(pathname: string): Route {
const p = pathname.replace(/\/+$/, "") || "/";
if (p === "/studio") return "studio";
if (p === "/pricing") return "pricing";
if (p === "/lp") return "lp";
return "home";
}

Expand Down Expand Up @@ -86,11 +83,6 @@ export default function App({ ssrRoute }: { ssrRoute?: Route } = {}) {
onPricing={() => go("pricing")}
/>
</Suspense>
) : route === "lp" ? (
<Suspense fallback={<RouteFallback />}>
{/* ミセテLPは自前の料金プラン(lp:plan)を持つため、Studio の /pricing へは繋がない */}
<LpBuilder onHome={() => go("home")} />
</Suspense>
) : route === "pricing" ? (
<Pricing
currentPlan={plan}
Expand All @@ -110,8 +102,8 @@ export default function App({ ssrRoute }: { ssrRoute?: Route } = {}) {
return (
<>
{page}
{/* スタジオはヘッダー内に言語切替を持つ。ミセテLPは日本語固定のため非表示。料金は右上に固定表示。 */}
{route !== "studio" && route !== "lp" && (
{/* スタジオはヘッダー内に言語切替を持つ。料金は右上に固定表示。 */}
{route !== "studio" && (
<LangToggle
lang={lang}
setLang={setLang}
Expand Down
Loading
Loading