1 import React from 'react';
2 import { Button, Col, Container, Image, Row } from 'react-bootstrap';
3 import { useNavigate } from 'react-router-dom';
5 import CanonicalLinks from '../common/CanonicalLinks';
8 const navigate = useNavigate();
10 React.useEffect(() => {
11 const returnPath = localStorage.getItem('returnPath');
13 localStorage.removeItem('returnPath');
18 return <Container className="mt-5">
19 <CanonicalLinks base="/" />
23 className="front-panel"
24 onClick={() => navigate('/tournaments/6')}
25 variant="outline-secondary"
27 <Image alt="" className="image" src="/media/alttp/front.png" />
28 <div className="title">
35 className="front-panel"
36 onClick={() => navigate('/tournaments/5')}
37 variant="outline-secondary"
39 <Image alt="" className="image" src="/media/sm/front.png" />
40 <div className="title">