"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _NavLink = _interopRequireDefault(require("../components/NavLink/NavLink"));
var _PageNavigation = _interopRequireDefault(require("../components/PageNavigation/PageNavigation"));
var _navigation = require("../constants/navigation");
require("./HomePage.css");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function HomePage() {
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("section", {
    className: "home-page",
    "data-testid": "home-page",
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("h1", {
      children: "Bienvenue"
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
      children: "Inscrivez-vous en quelques clics. Renseignez vos informations personnelles et consultez la liste des inscrits."
    }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_PageNavigation.default, {
      variant: "inline",
      ariaLabel: "Navigation accueil",
      children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_NavLink.default, {
        to: "/register",
        variant: "primary",
        testId: "go-to-registration",
        children: "Commencer l'inscription"
      }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_NavLink.default, {
        to: "/list",
        testId: "go-to-list",
        children: "Voir la liste des inscrits"
      }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_NavLink.default, {
        to: "/legacy",
        testId: "go-to-legacy",
        children: "Mode legacy (formulaire + liste)"
      }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_NavLink.default, {
        href: _navigation.DOCS_URL,
        external: true,
        testId: "go-to-docs",
        children: "Documentation"
      })]
    })]
  });
}
var _default = exports.default = HomePage;