Skip to content

Commit 4b948e3

Browse files
committed
include carbon
1 parent 9f68946 commit 4b948e3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/components/Menu/Menu.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ function Menu({ pages = [] }: { pages: Pages }) {
7070
)
7171
})}
7272
</ul>
73+
74+
<div id="carbon-cover" />
7375
</div>
7476
</aside>
7577
)

src/components/layout.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,3 +923,7 @@ pre[class*="language-"] {
923923
height: auto;
924924
}
925925
}
926+
927+
#carbon-responsive {
928+
margin: 0 auto 50px;
929+
}

src/pages/_document.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ export default function Document() {
1010
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
1111
/>
1212
<Script
13-
strategy="beforeInteractive"
13+
strategy="afterInteractive"
1414
src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"
1515
/>
16+
<Script async strategy="afterInteractive" src="https://cdn.carbonads.com/carbon.js?serve=CW7DTKQ7&placement=react-hook-formcom&format=cover" id="_carbonads_js" />
1617
<link
1718
rel="shortcut icon"
1819
href="/images/logo/react-hook-form-logo-only.png"

0 commit comments

Comments
 (0)