Skip to content

Commit aa4253c

Browse files
committed
Add a tip thing above every page
1 parent e3154b1 commit aa4253c

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

docs/intro.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ This guide will teach you how to:
1616
- Remove games from your library that were installed with SteamTools
1717
- Bypass anti-piracy protections on EA, Rockstar, Ubisoft, Star Wars, Far Cry, etc.
1818

19-
:::tip
20-
If you need any help, [join our Discord server](https://discord.gg/manifestorcc)
21-
:::
22-
2319
<DocCardList items={[
2420
{
2521
type: 'link',

src/theme/DocBreadcrumbs/index.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
import DocBreadcrumbs from '@theme-original/DocBreadcrumbs';
3+
import type DocBreadcrumbsType from '@theme/DocBreadcrumbs';
4+
import type {WrapperProps} from '@docusaurus/types';
5+
import Admonition from '@theme/Admonition';
6+
7+
type Props = WrapperProps<typeof DocBreadcrumbsType>;
8+
9+
export default function DocBreadcrumbsWrapper(props: Props) {
10+
return (
11+
<>
12+
<div style={{marginBottom: '1.5rem'}}>
13+
<Admonition type="tip">
14+
Stuck or have questions? <a href="https://discord.gg/manifestorcc">Join our Discord server</a>
15+
</Admonition>
16+
</div>
17+
<DocBreadcrumbs {...props} />
18+
</>
19+
);
20+
}
21+

0 commit comments

Comments
 (0)