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 '../components/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="/" />
21 <Col md={{ offset: 3, span: 6 }}>
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">