test(ci): add exporter heading levels and a11y typography smoke; update MAIN_PLAN
CI / test (pull_request) Has been cancelled

This commit is contained in:
2025-11-14 16:40:45 +09:00
parent aaa624a046
commit cd6a6ea069
93 changed files with 8543 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
import BuilderClientPage from '@/components/BuilderClientPage'
export default function BuilderPage() {
return <BuilderClientPage />
}
+25
View File
@@ -0,0 +1,25 @@
import type { ReactNode } from 'react'
import { getMessages } from '@/lib/i18n/getMessages'
import type { AppLocale } from '@/lib/i18n/locales'
import I18nProvider from '@/components/I18nProvider'
import '../globals.css'
export const dynamic = 'force-static'
export default async function LocaleLayout({
children,
params,
}: {
children: ReactNode
params: Promise<{ locale: AppLocale }>
}) {
const { locale } = await params
const messages = await getMessages(locale)
return (
<html lang={locale}>
<body>
<I18nProvider locale={locale} messages={messages}>{children}</I18nProvider>
</body>
</html>
)
}
+15
View File
@@ -0,0 +1,15 @@
import Link from 'next/link'
import { defaultLocale } from '@/lib/i18n/locales'
export default function IndexPage({ params }: { params: { locale: string } }) {
const loc = params.locale || defaultLocale
return (
<main className="p-6">
<h1 className="text-2xl font-semibold mb-4">Landing Builder</h1>
<p className="mb-4">Start building your landing page.</p>
<Link className="text-sky-600 underline" href={`/${loc}/builder`}>
Go to Builder
</Link>
</main>
)
}
+5
View File
@@ -0,0 +1,5 @@
import { redirect } from 'next/navigation'
export default function BuilderPage() {
redirect('/en/builder')
}