Skip to content

Commit e7ee5ad

Browse files
Updated documentation config
1 parent 74dbfd8 commit e7ee5ad

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

documentation/docs/api/unsafe-detach-unmount-immediate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const UNSAFE__detachAndUnloadImmediate: () => Promise<void>;
1616

1717
A basic implementation could look something like this. In the following example we are using the `useEffect` hook to call the `UNSAFE__detachAndUnloadImmediate` function when the component is unmounted.
1818

19-
```jsx {12-15} showLineNumbers title="App.jsx"
19+
```jsx {12-16} showLineNumbers title="App.jsx"
2020
import React, { useEffect } from "react";
2121
import { Unity, useUnityContext } from "react-unity-webgl";
2222

documentation/docusaurus.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@ const config = {
3131
lastVersion: "current",
3232
versions: {
3333
current: {
34-
label: "Current",
34+
label: "Current version",
3535
banner: "none",
3636
badge: true,
3737
path: "",
3838
},
3939
"8.x.x": {
40-
label: "8.x.x (Active LTS)",
40+
label: "Version 8 (Active LTS)",
4141
banner: "unmaintained",
4242
badge: true,
4343
path: "8.x.x",
4444
},
4545
"7.x.x": {
46-
label: "7.x.x (Maintenance LTS)",
46+
label: "Version 7 (Maintenance LTS)",
4747
banner: "unmaintained",
4848
badge: true,
4949
path: "7.x.x",
5050
},
5151
"6.x.x": {
52-
label: "6.x.x (Maintenance LTS)",
52+
label: "Version 6 (Maintenance LTS)",
5353
banner: "unmaintained",
5454
badge: true,
5555
path: "6.x.x",
5656
},
5757
"5.x.x": {
58-
label: "5.x.x (Maintenance LTS)",
58+
label: "Version 5 (Maintenance LTS)",
5959
banner: "unmaintained",
6060
badge: true,
6161
path: "5.x.x",
@@ -81,8 +81,8 @@ const config = {
8181
announcementBar: {
8282
id: "support_me",
8383
content:
84-
'If you like this module, please considing <a href="/support">supporting</a> and giving it a star on <a target="_blank" href="https://github.com/jeffreylanters/react-unity-webgl/stargazers">GitHub</a> ❤️',
85-
backgroundColor: "#2399EF",
84+
'The project is in financial need of support, if you use my module and are able, please considing <a href="/support">supporting</a> in any way you can. Thank you! ❤️',
85+
backgroundColor: "#AB2329",
8686
textColor: "#ffffff",
8787
isCloseable: false,
8888
},

0 commit comments

Comments
 (0)