Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 4x | import NavLink from '../components/NavLink/NavLink';
import PageNavigation from '../components/PageNavigation/PageNavigation';
import { DOCS_URL } from '../constants/navigation';
import './HomePage.css';
function HomePage() {
return (
<section className="home-page" data-testid="home-page">
<h1>Bienvenue</h1>
<p>
Inscrivez-vous en quelques clics. Renseignez vos informations personnelles
et consultez la liste des inscrits.
</p>
<PageNavigation variant="inline" ariaLabel="Navigation accueil">
<NavLink to="/register" variant="primary" testId="go-to-registration">
Commencer l'inscription
</NavLink>
<NavLink to="/list" testId="go-to-list">
Voir la liste des inscrits
</NavLink>
<NavLink to="/legacy" testId="go-to-legacy">
Mode legacy (formulaire + liste)
</NavLink>
<NavLink href={DOCS_URL} external testId="go-to-docs">
Documentation
</NavLink>
</PageNavigation>
</section>
);
}
export default HomePage;
|