Skip to content

Commit d5ea034

Browse files
authored
Merge pull request #583 from pixijs/docs-to-subdomain
Docs to subdomain
2 parents d61711a + 3308e0b commit d5ea034

File tree

14 files changed

+14
-13
lines changed

14 files changed

+14
-13
lines changed

docs/static/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
react.pixijs.io

docs/versioned_docs/version-7.x/about.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BlurFilter, TextStyle } from 'pixi.js';
44

55
export default function App() {
66
const blurFilter = useMemo(() => new BlurFilter(2), []);
7-
const bunnyUrl = 'https://pixijs.io/pixi-react/img/bunny.png';
7+
const bunnyUrl = 'https://react.pixijs.io/img/bunny.png';
88
return (
99
<Stage width={800} height={600} options={{ background: 0x1099bb }}>
1010
<Sprite image={bunnyUrl} x={300} y={150} />

docs/versioned_docs/version-7.x/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import { Stage, Container, Sprite, Text } from '@pixi/react';
6969

7070
const App = () => {
7171
const blurFilter = useMemo(() => new BlurFilter(2), []);
72-
const bunnyUrl = 'https://pixijs.io/pixi-react/v7/img/bunny.png';
72+
const bunnyUrl = 'https://react.pixijs.io/v7/img/bunny.png';
7373
return (
7474
<Stage width={800} height={600} options={{ background: 0x1099bb }}>
7575
<Sprite image={bunnyUrl} x={300} y={150} />

docs/versioned_docs/version-7.x/components/BitmapText.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function App() {
1111
<Stage width={500} height={300} options={{ backgroundColor: 0xffffff }}>
1212
<ExampleAssetLoader
1313
name='desyrel'
14-
url='https://pixijs.io/pixi-react/font/desyrel.xml'
14+
url='https://react.pixijs.io/font/desyrel.xml'
1515
loader={<Text {...position} text='⌛ Loading font...' style={{ fontFamily: 'Arial', fontSize: 15 }} />}
1616
>
1717
<BitmapText {...position} text='Hello World!' style={{ fontName: 'Desyrel', fontSize: 50 }} />

docs/versioned_docs/version-7.x/components/Container.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Container, Stage, Sprite } from '@pixi/react';
22

33
export default function App() {
4-
const url = 'https://pixijs.io/pixi-react/img/bunny.png';
4+
const url = 'https://react.pixijs.io/img/bunny.png';
55
return (
66
<Stage width={300} height={300} options={{ backgroundColor: 0xeef1f5 }}>
77
<Container position={[150, 150]}>

docs/versioned_docs/version-7.x/components/NineSlicePlane.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function NineSlicePlaneExample() {
1414
height={300}
1515
x={250}
1616
y={120}
17-
image='https://pixijs.io/pixi-react/img/speech-bubble.png'
17+
image='https://react.pixijs.io/img/speech-bubble.png'
1818
/>
1919
</Stage>
2020
);

docs/versioned_docs/version-7.x/components/ParticleContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ExampleAssetLoader from './ExampleAssetLoader';
33

44
export default function ParticleContainerExample() {
55
return (
6-
<ExampleAssetLoader name='bunny' url='https://pixijs.io/pixi-react/img/bunny.png'>
6+
<ExampleAssetLoader name='bunny' url='https://react.pixijs.io/img/bunny.png'>
77
<Stage width={300} height={300} options={{ backgroundColor: 0xffffff }}>
88
<ParticleContainer position={[150, 150]} properties={{ position: true }}>
99
<Sprite anchor={0.5} x={-75} y={-75} image='bunny' />

docs/versioned_docs/version-7.x/components/SimpleMesh/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function SimpleMeshExample() {
88
return (
99
<Stage width={500} height={300} options={{ backgroundColor: 0xeef1f5 }}>
1010
<SimpleMesh
11-
image='https://pixijs.io/pixi-react/img/mesh-placeholder.png'
11+
image='https://react.pixijs.io/img/mesh-placeholder.png'
1212
uvs={uvs}
1313
vertices={vertices}
1414
indices={indices}

docs/versioned_docs/version-7.x/components/SimpleRope.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function SimpleRopeExample() {
1212
new Point(200, 100),
1313
new Point(400, 150),
1414
]}
15-
image={'https://pixijs.io/pixi-react/img/snake.png'}
15+
image={'https://react.pixijs.io/img/snake.png'}
1616
/>
1717
</Stage>
1818
);

docs/versioned_docs/version-7.x/components/Sprite.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function SpriteExample() {
44
return (
55
<Stage width={300} height={300} options={{ backgroundColor: 0xeef1f5 }}>
66
<Sprite
7-
image='https://pixijs.io/pixi-react/img/coin.png'
7+
image='https://react.pixijs.io/img/coin.png'
88
scale={{ x: 0.5, y: 0.5 }}
99
anchor={0.5}
1010
x={150}

0 commit comments

Comments
 (0)