forked from ppfun/pixelplanet
change to guilded instead of discord
This commit is contained in:
parent
ebddd99c10
commit
23ae0c9e44
|
@ -1,7 +1,7 @@
|
||||||
# PixelPlanet.fun
|
# PixelPlanet.fun
|
||||||
|
|
||||||
|
|
||||||
[![Discord](https://img.shields.io/badge/Discord-Support-blue.svg)](https://pixelplanet.fun/discord) ![](https://github.com/pixelplanetdev/pixelplanet/workflows/Node%20CI/badge.svg)
|
[![Guilded](https://img.shields.io/badge/Discord-Support-blue.svg)](https://pixelplanet.fun/guilded) ![](https://github.com/pixelplanetdev/pixelplanet/workflows/Node%20CI/badge.svg)
|
||||||
|
|
||||||
Official repository of [pixelplanet.fun](http://www.pixelplanet.fun).
|
Official repository of [pixelplanet.fun](http://www.pixelplanet.fun).
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,9 @@ const ForgotPasswordModal = ({ login }) => (
|
||||||
</p><br />
|
</p><br />
|
||||||
<p style={{ textAlign: 'center' }}>
|
<p style={{ textAlign: 'center' }}>
|
||||||
<NewPasswordForm back={login} />
|
<NewPasswordForm back={login} />
|
||||||
<p>Also join our Discord:
|
<p>Consider joining us on Guilded:
|
||||||
<a href="./discord" target="_blank">pixelplanet.fun/discord</a></p>
|
<a href="./guilded" target="_blank">pixelplanet.fun/guilded</a>
|
||||||
|
</p>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
|
|
@ -20,7 +20,7 @@ const HelpModal = () => (
|
||||||
pixels and 7s on already set pixels.
|
pixels and 7s on already set pixels.
|
||||||
Higher zoomlevels take some time to update, the 3D globe gets updated at least once per day.
|
Higher zoomlevels take some time to update, the 3D globe gets updated at least once per day.
|
||||||
Have fun!</p>
|
Have fun!</p>
|
||||||
<p>Discord: <a href="./discord" target="_blank" rel="noopener noreferrer">pixelplanet.fun/discord</a></p>
|
<p>Guilded (recommended): <a href="./guilded" target="_blank" rel="noopener noreferrer">pixelplanet.fun/guilded</a></p>
|
||||||
<p>Source on <a href="https://github.com/pixelplanetdev/pixelplanet" target="_blank" rel="noopener noreferrer">github</a></p>
|
<p>Source on <a href="https://github.com/pixelplanetdev/pixelplanet" target="_blank" rel="noopener noreferrer">github</a></p>
|
||||||
<p>Reddit: <a href="https://www.reddit.com/r/PixelPlanetFun/" target="_blank" rel="noopener noreferrer">r/PixelPlanetFun</a></p>
|
<p>Reddit: <a href="https://www.reddit.com/r/PixelPlanetFun/" target="_blank" rel="noopener noreferrer">r/PixelPlanetFun</a></p>
|
||||||
<p className="modaltitle">Map Data</p>
|
<p className="modaltitle">Map Data</p>
|
||||||
|
|
|
@ -17,8 +17,8 @@ const RegisterModal = ({ login }) => (
|
||||||
<p className="modaltext">Register new account here</p><br />
|
<p className="modaltext">Register new account here</p><br />
|
||||||
<p style={{ textAlign: 'center' }}>
|
<p style={{ textAlign: 'center' }}>
|
||||||
<SignUpForm back={login} />
|
<SignUpForm back={login} />
|
||||||
<p>Also join our Discord:
|
<p>Consider joining us on Guilded:
|
||||||
<a href="./discord" target="_blank">pixelplanet.fun/discord</a>
|
<a href="./guilded" target="_blank">pixelplanet.fun/guilded</a>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -128,8 +128,8 @@ const UserAreaModal = ({
|
||||||
)}
|
)}
|
||||||
</Tabs>
|
</Tabs>
|
||||||
)}
|
)}
|
||||||
<p>Also join our Discord:
|
<p>Consider joining us on Guilded:
|
||||||
<a href="./discord" target="_blank">pixelplanet.fun/discord</a>
|
<a href="./guilded" target="_blank">pixelplanet.fun/guilded</a>
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
|
|
@ -37,6 +37,8 @@ export const MYSQL_PW = process.env.MYSQL_PW || 'password';
|
||||||
// Social
|
// Social
|
||||||
export const DISCORD_INVITE = process.env.DISCORD_INVITE
|
export const DISCORD_INVITE = process.env.DISCORD_INVITE
|
||||||
|| 'https://discordapp.com/';
|
|| 'https://discordapp.com/';
|
||||||
|
export const GUILDED_INVITE = process.env.GUILDED_INVITE
|
||||||
|
|| 'https://www.guilded.gg/';
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
export const LOG_MYSQL = parseInt(process.env.LOG_MYSQL, 10) || false;
|
export const LOG_MYSQL = parseInt(process.env.LOG_MYSQL, 10) || false;
|
||||||
|
|
|
@ -29,7 +29,7 @@ import globeHtml from './components/Globe';
|
||||||
import generateMainPage from './components/Main';
|
import generateMainPage from './components/Main';
|
||||||
|
|
||||||
import { SECOND, MONTH } from './core/constants';
|
import { SECOND, MONTH } from './core/constants';
|
||||||
import { PORT, DISCORD_INVITE } from './core/config';
|
import { PORT, DISCORD_INVITE, GUILDED_INVITE } from './core/config';
|
||||||
|
|
||||||
import { ccToCoords } from './utils/location';
|
import { ccToCoords } from './utils/location';
|
||||||
import { startAllCanvasLoops } from './core/tileserver';
|
import { startAllCanvasLoops } from './core/tileserver';
|
||||||
|
@ -110,11 +110,14 @@ app.use(express.static(path.join(__dirname, 'public'), {
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Redirecct to discord
|
// Redirecct to discord and guilded
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
app.use('/discord', (req, res) => {
|
app.use('/discord', (req, res) => {
|
||||||
res.redirect(DISCORD_INVITE);
|
res.redirect(DISCORD_INVITE);
|
||||||
});
|
});
|
||||||
|
app.use('/guilded', (req, res) => {
|
||||||
|
res.redirect(GUILDED_INVITE);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user