File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { notFound } from "next/navigation" ;
2- import { ChatForm } from "./chatForm" ;
32import { getCloudflareContext } from "@opennextjs/cloudflare" ;
43import { readFile } from "node:fs/promises" ;
54import { join } from "node:path" ;
@@ -38,7 +37,6 @@ export default async function Page({
3837 { splitMdContent . map ( ( section , index ) => (
3938 < Section key = { index } section = { section } />
4039 ) ) }
41- < ChatForm />
4240 </ div >
4341 ) ;
4442}
Original file line number Diff line number Diff line change 33import { ReactNode } from "react" ;
44import { type MarkdownSection } from "./splitMarkdown" ;
55import { StyledMarkdown } from "./markdown" ;
6+ import { ChatForm } from "./chatForm" ;
67
78// 1つのセクションのタイトルと内容を表示する。内容はMarkdownとしてレンダリングする
89export function Section ( { section } : { section : MarkdownSection } ) {
910 return (
10- < >
11+ < div >
1112 < Heading level = { section . level } > { section . title } </ Heading >
1213 < StyledMarkdown content = { section . content } />
13- </ >
14+ < ChatForm />
15+ </ div >
1416 ) ;
1517}
1618
You can’t perform that action at this time.
0 commit comments