1 import React from 'react';
2 import { Button, Col, Container, Image, Row } from 'react-bootstrap';
3 import { useNavigate } from 'react-router-dom';
6 const navigate = useNavigate();
8 React.useEffect(() => {
9 const returnPath = localStorage.getItem('returnPath');
11 localStorage.removeItem('returnPath');
16 return <Container className="mt-5">
20 className="front-panel"
21 onClick={() => navigate('/tournaments/6')}
22 variant="outline-secondary"
24 <Image alt="" className="image" src="/media/alttp/front.png" />
25 <div className="title">
32 className="front-panel"
33 onClick={() => navigate('/tournaments/5')}
34 variant="outline-secondary"
36 <Image alt="" className="image" src="/media/sm/front.png" />
37 <div className="title">