We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff72335 commit 77d83e8Copy full SHA for 77d83e8
pages/articles/hello.mdx
@@ -1,4 +1,6 @@
1
-# Hello MDX!
+import { TitleTexts } from "../../components/molecules";
2
+
3
+<TitleTexts titleText="Hello MDX!" />
4
5
```typescript
6
const hello = () => `World!`;
pages/index.tsx
@@ -1,5 +1,6 @@
import Head from "next/head";
import { MAIN_META_DESC, MAIN_TITLE } from "../constants";
+import { TitleTexts } from "../components/molecules";
export default function Home() {
return (
@@ -11,7 +12,7 @@ export default function Home() {
11
12
</Head>
13
14
<main>
- <h1>{MAIN_TITLE}</h1>
15
+ <TitleTexts titleText={MAIN_TITLE} />
16
</main>
17
</div>
18
);
0 commit comments