la ça devrait vraiment complétement marcher
continuous-integration/drone/push Build is failing Details

pull/98/head^2
Thomas Chazot 2 years ago
parent 680d4681eb
commit 1b27508a8d

@ -52,13 +52,13 @@ function AppNavbar({changeLocale}) {
<Navbar.Toggle aria-controls="basic-navbar-nav" /> <Navbar.Toggle aria-controls="basic-navbar-nav" />
<Navbar.Collapse id="basic-navbar-nav"> <Navbar.Collapse id="basic-navbar-nav">
<Nav className="me-auto"> <Nav className="me-auto">
<Nav.Link href="/" style={{ color: theme.colors.text }}> <Nav.Link href={`${basePath}/`} style={{ color: theme.colors.text }}>
Jouer Jouer
</Nav.Link> </Nav.Link>
<Nav.Link href="/presentation" style={{ color: theme.colors.text }}> <Nav.Link href={`${basePath}/presentation`} style={{ color: theme.colors.text }}>
Présentation Présentation
</Nav.Link> </Nav.Link>
<Nav.Link href="/info" style={{ color: theme.colors.text }}> <Nav.Link href={`${basePath}/info`} style={{ color: theme.colors.text }}>
Info Info
</Nav.Link> </Nav.Link>
</Nav> </Nav>

@ -13,6 +13,9 @@ import { socket } from '../SocketConfig';
import JSONParser from '../JSONParser'; import JSONParser from '../JSONParser';
const basePath = process.env.REACT_APP_BASE_PATH || '/containers/Crypteam-website';
// @ts-ignore // @ts-ignore
function Home() { function Home() {
const theme=useTheme(); const theme=useTheme();
@ -100,7 +103,7 @@ function Home() {
{/* <h3> <u><FormattedMessage id="game.illustratedBy"/></u><br/> Kwanchai Moriya</h3> */} {/* <h3> <u><FormattedMessage id="game.illustratedBy"/></u><br/> Kwanchai Moriya</h3> */}
{/* <button>Jouer au jeu</button> */} {/* <button>Jouer au jeu</button> */}
<br/> <br/>
<Link to="/play" className='button' <Link to={`${basePath}/`} className='button'
style={{ style={{
backgroundColor: theme.colors.primary, backgroundColor: theme.colors.primary,
borderColor: theme.colors.secondary borderColor: theme.colors.secondary

Loading…
Cancel
Save