Skip to content
  • Sponsor WaifuAPI/documentation

  • Notifications You must be signed in to change notification settings
  • Fork 2

Commit 3e8188f

Browse files
committedFeb 20, 2024
Added ads page
1 parent 0611d1f commit 3e8188f

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed
 

‎theme.config.tsx

+20-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ const config: DocsThemeConfig = {
88
},
99
faviconGlyph: "📝",
1010
banner: {
11-
key: '3.0-release',
11+
key: "3.0-release",
1212
text: (
13-
<a href="https://github.com/WaifuAPI/Documentation/releases/tag/3.0.4" target="_blank">
13+
<a
14+
href="https://github.com/WaifuAPI/Documentation/releases/tag/3.0.4"
15+
target="_blank"
16+
>
1417
🎉 Documentation 3.0 is released. Read more →
1518
</a>
16-
)
19+
),
1720
},
1821
logo: <span>Documentation</span>,
1922
navbar: {
@@ -58,27 +61,37 @@ const config: DocsThemeConfig = {
5861
chat: {
5962
link: "https://discord.gg/yyW389c",
6063
},
61-
docsRepositoryBase: "https://github.com/WaifuAPI/Documentation/tree/production",
64+
docsRepositoryBase:
65+
"https://github.com/WaifuAPI/Documentation/tree/production",
6266
footer: {
6367
text: (
6468
<span>
65-
AGPL-3.0 {new Date().getFullYear()} ©{' '}
69+
AGPL-3.0 {new Date().getFullYear()} ©{" "}
6670
<a href="https://waifu.it" target="_blank">
6771
Waifu.it
6872
</a>
6973
.
7074
</span>
71-
)
75+
),
7276
},
7377
head: function useHead() {
7478
const description =
7579
"A collection of documentation for each endpoints available on Waifu.it. Find out how to efficiently use the Waifu.it API here!";
7680
return (
7781
<>
7882
<meta httpEquiv="Content-Language" content="en" />
79-
<meta name="keywords" content="anime, waifu, anime facts, anime quotes, waifu api, waifu pictures, anime api, opensource api" />
83+
<meta
84+
name="keywords"
85+
content="anime, waifu, anime facts, anime quotes, waifu api, waifu pictures, anime api, opensource api"
86+
/>
8087
<meta name="description" content={description} />
8188
<meta name="og:description" content={description} />
89+
<meta name="google-adsense-account" content="ca-pub-1733730047414795" />
90+
<script
91+
async
92+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1733730047414795"
93+
crossOrigin="anonymous"
94+
/>
8295
</>
8396
);
8497
},

0 commit comments

Comments
 (0)