Skip to content

Commit 22bd846

Browse files
committed
fix(docs): update Discord link and improve documentation clarity
1 parent e18d460 commit 22bd846

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/docs/getting-started/intro.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ description: Overview of @pixi/react, its features, and what makes it the best w
2525
<a href="https://github.com/pixijs/pixi-react/blob/main/LICENSE">
2626
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="license" />
2727
</a>
28-
<a href="https://discord.gg/QrnxmQUPGV">
28+
<a href="https://discord.gg/zqbXQAADuM">
2929
<img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat" />
3030
</a>
3131
</div>
@@ -46,9 +46,9 @@ description: Overview of @pixi/react, its features, and what makes it the best w
4646
- 🏎️ **PixiJS v8 Compatible** - Latest PixiJS performance and features
4747
- 📦 **Tree-shakeable** - Only import what you need with the `extend` API
4848
- 🎯 **Type-safe** - Full TypeScript support with intelligent autocomplete
49-
- **Declarative** - Write PixiJS code using familiar React patterns
49+
- 📝 **Declarative** - Write PixiJS code using familiar React patterns
5050
- 🪝 **React Hooks** - Built-in hooks for animations, tickers, and more
51-
- **No Overhead** - Components render outside of React for maximum performance
51+
- **No Overhead** - Components render outside of React for maximum performance
5252
- 🛠️ **Extensible** - Easy integration with custom PixiJS components
5353

5454
## What Is @pixi/react?
@@ -94,4 +94,4 @@ None. Everything that works in PixiJS will work here without exception.
9494

9595
Ready to dive in? Check out our [Quick Start](/getting-started/quick-start) guide to create your first `@pixi/react` application!
9696

97-
PixiJS is more than just a rendering engine; its a gateway to creative freedom. Dive into our comprehensive [documentation](./quick-start.mdx) or join the [community](https://discord.gg/CPTjeb28nH) to start your journey with PixiJS today.
97+
PixiJS is more than just a rendering engine; it's a gateway to creative freedom. Dive into our comprehensive [documentation](./quick-start.mdx) or join the [community](https://discord.gg/zqbXQAADuM) to start your journey with PixiJS today.

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const config: Config = {
120120
'aria-label': 'Twitter account',
121121
},
122122
{
123-
href: 'https://discord.gg/CPTjeb28nH',
123+
href: 'https://discord.gg/zqbXQAADuM',
124124
position: 'right',
125125
className: 'header-link header-discord-link',
126126
'aria-label': 'Discord server',

docs/src/pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import clsx from 'clsx';
2+
import { type JSX } from 'react';
23
import CTA from './CTA';
34
import styles from './index.module.css';
45
import ExampleApp from '!!raw-loader!../examples/basic/App';
@@ -65,7 +66,7 @@ export default function Home(): JSX.Element
6566
viewType={'both'}
6667
width={'100%'} />
6768
</div>
68-
<CTA label="Get Started" link="getting-started" />
69+
<CTA label="Get Started" link="getting-started/intro" />
6970
</section>
7071
</main>
7172
</Layout>

docs/src/theme/DocSidebarItem/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import { type JSX } from 'react';
12
import DocSidebarItem from '@theme-original/DocSidebarItem';
23

34
interface DocSidebarItemProps
45
{
56
item: {
67
type: string;
7-
href: string;
8+
href?: string;
89
};
910
level: number;
1011
activePath: string;
@@ -25,8 +26,6 @@ export default function DocSidebarItemWrapper(props: DocSidebarItemProps): JSX.E
2526
}
2627

2728
return (
28-
<>
29-
<DocSidebarItem {...props} style={{ fontSize: '14px', marginTop: '0px', color }} />
30-
</>
29+
<DocSidebarItem {...props} style={{ fontSize: '14px', marginTop: '0px', color }}></DocSidebarItem>
3130
);
3231
}

0 commit comments

Comments
 (0)