Skip to content

Commit

Permalink
Add docs help component (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjagm authored Jul 24, 2024
1 parent a58bd36 commit 16369d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/overview/faq/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import Head from 'next/head';
import { SectionContext } from '~/context';
import Faq from '~/components/Faq';
import { Headline1 } from '~/components/Headlines';
import { DocsHelp } from '~/components/DocsHelp';

export default function Content() {
const newTitle = 'FAQ';
const markdownFile = '_indexPage';

return (
<SectionContext.Provider value='docs'>
Expand All @@ -18,8 +20,8 @@ export default function Content() {
Below you'll find answers to questions we get asked the most about JSON
Schema.
</p>

<Faq category='general' />
<DocsHelp markdownFile={markdownFile} />
</SectionContext.Provider>
);
}
Expand Down

0 comments on commit 16369d3

Please sign in to comment.