<commit_before><template>
  <header class="aj-1j1s-header">
    <div class="aj-1j1s-header-logo-container">
      <div class="container">
        <svg
          width="26"
          height="18"
          viewBox="0 0 18 26"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
          fit=""
          preserveAspectRatio="xMidYMid meet"
          focusable="false"
          @click="toggleShowMenu()"
        >
          <title>Logo bouton menu</title>
          <rect
            x="26"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 0)"
            fill="currentColor"
          />
          <rect
            x="26"
            y="8"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 8)"
            fill="currentColor"
          />
          <rect
            x="26"
            y="16"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 16)"
            fill="currentColor"
          />
        </svg>
        <div
          class="aj-1j1s-header-left-links"
          :class="{ 'not-home': $route.name !== 'home' }"
        >
          <a href="https://www.1jeune1solution.gouv.fr" class="rf-link">
            <img
              class="rf"
              alt="Logo République Française"
              src="@/../public/img/logo_rf.svg"
            />
          </a>
          <a href="https://www.1jeune1solution.gouv.fr" class="fr-link">
            <img
              class="fr"
              alt="Logo 1 jeune 1 solution France Relance"
              src="@/../public/img/logo1j1s-france-relance.svg"
            />
          </a>
        </div>

        <div class="aj-1j1s-header-right-links">
          <router-link
            class="button outline is-not-mobile"
            to="/"
            v-if="$route.name !== 'home'"
            >Retour à l'accueil du simulateur</router-link
          >
          <router-link
            class="button outline is-mobile"
            to="/"
            v-if="$route.name !== 'home'"
            >Accueil</router-link
          >
        </div>
      </div>
    </div>
    <nav class="aj-1j1s-header-menu" :class="{ show: showMenu }">
      <div class="container">
        <svg
          width="18"
          height="18"
          viewBox="0 0 18 18"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
          fit=""
          preserveAspectRatio="xMidYMid meet"
          focusable="false"
          @click="toggleShowMenu()"
        >
          <rect
            x="16.7"
            width="1.8"
            height="23.6"
            rx="0.9"
            transform="rotate(45 16.7 0)"
            fill="currentColor"
          />
          <rect
            y="1.3"
            width="1.8"
            height="23.6"
            rx="0.9"
            transform="rotate(-45 0 1.3)"
            fill="currentColor"
          />
        </svg>
        <ul>
          <li class="home-link">
            <a href="/">Accueil</a>
          </li>
          <li
            v-for="(item, index) in menu"
            v-bind:key="item.key"
            :class="{
              'last-item': index === menu.length - 1,
              active: item.href === '/',
            }"
          >
            <a :href="item.href">
              {{ item.label }}
            </a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
</template>

<script>
export default {
  name: "Header1J1S",
  data() {
    return {
      showMenu: false,
      menu: [
        {
          key: "1",
          label: "Je postule à un job",
          href: "https://www.1jeune1solution.gouv.fr/emplois?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "2",
          label: "J'accède à mes aides",
          href: "/",
        },
        {
          key: "3",
          label: "Je participe à un évenement",
          href: "https://www.1jeune1solution.gouv.fr/evenements?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "4",
          label: "Je m'engage",
          href: "https://www.1jeune1solution.gouv.fr/service-civique?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "5",
          label: "Je souhaite entreprendre",
          href: "https://www.1jeune1solution.gouv.fr/entreprendre?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "6",
          label: "Je suis employeur",
          href: "https://www.1jeune1solution.gouv.fr/je-recrute?utm_source=mes-aides-beta&utm_medium=menu",
        },
      ],
    }
  },
  methods: {
    toggleShowMenu() {
      this.showMenu = !this.showMenu
    },
  },
}
</script>
<commit_msg>Met à jour le Header 1J1S (#1821)<commit_after><template>
  <header class="aj-1j1s-header">
    <div class="aj-1j1s-header-logo-container">
      <div class="container">
        <svg
          width="26"
          height="18"
          viewBox="0 0 18 26"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
          fit=""
          preserveAspectRatio="xMidYMid meet"
          focusable="false"
          @click="toggleShowMenu()"
        >
          <title>Logo bouton menu</title>
          <rect
            x="26"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 0)"
            fill="currentColor"
          />
          <rect
            x="26"
            y="8"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 8)"
            fill="currentColor"
          />
          <rect
            x="26"
            y="16"
            width="2"
            height="26"
            rx="1"
            transform="rotate(90 26 16)"
            fill="currentColor"
          />
        </svg>
        <div
          class="aj-1j1s-header-left-links"
          :class="{ 'not-home': $route.name !== 'home' }"
        >
          <a
            href="https://www.1jeune1solution.gouv.fr?utm_source=mes-aides-beta&utm_medium=menu"
            class="rf-link"
          >
            <img
              class="rf"
              alt="Logo République Française"
              src="@/../public/img/logo_rf.svg"
            />
          </a>
          <a
            href="https://www.1jeune1solution.gouv.fr?utm_source=mes-aides-beta&utm_medium=menu"
            class="fr-link"
          >
            <img
              class="fr"
              alt="Logo 1 jeune 1 solution France Relance"
              src="@/../public/img/logo1j1s-france-relance.svg"
            />
          </a>
        </div>

        <div class="aj-1j1s-header-right-links">
          <router-link
            class="button outline is-not-mobile"
            to="/"
            v-if="$route.name !== 'home'"
            >Retour à l'accueil du simulateur</router-link
          >
          <router-link
            class="button outline is-mobile"
            to="/"
            v-if="$route.name !== 'home'"
            >Accueil</router-link
          >
        </div>
      </div>
    </div>
    <nav class="aj-1j1s-header-menu" :class="{ show: showMenu }">
      <div class="container">
        <svg
          width="18"
          height="18"
          viewBox="0 0 18 18"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
          fit=""
          preserveAspectRatio="xMidYMid meet"
          focusable="false"
          @click="toggleShowMenu()"
        >
          <rect
            x="16.7"
            width="1.8"
            height="23.6"
            rx="0.9"
            transform="rotate(45 16.7 0)"
            fill="currentColor"
          />
          <rect
            y="1.3"
            width="1.8"
            height="23.6"
            rx="0.9"
            transform="rotate(-45 0 1.3)"
            fill="currentColor"
          />
        </svg>
        <ul>
          <li class="home-link">
            <a href="/">Accueil</a>
          </li>
          <li
            v-for="(item, index) in menu"
            v-bind:key="item.key"
            :class="{
              'last-item': index === menu.length - 1,
              active: item.href === '/',
            }"
          >
            <a :href="item.href">
              {{ item.label }}
            </a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
</template>

<script>
export default {
  name: "Header1J1S",
  data() {
    return {
      showMenu: false,
      menu: [
        {
          key: "1",
          label: "Je postule à un job",
          href: "https://www.1jeune1solution.gouv.fr/emplois?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "2",
          label: "Je cherche une formation",
          href: "https://www.1jeune1solution.gouv.fr/formations?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "3",
          label: "J'accède à mes aides",
          href: "/",
        },
        {
          key: "4",
          label: "Je participe à un évenement",
          href: "https://www.1jeune1solution.gouv.fr/evenements?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "5",
          label: "Je m'engage",
          href: "https://www.1jeune1solution.gouv.fr/service-civique?utm_source=mes-aides-beta&utm_medium=menu",
        },
        {
          key: "6",
          label: "Je suis employeur",
          href: "https://www.1jeune1solution.gouv.fr/je-recrute?utm_source=mes-aides-beta&utm_medium=menu",
        },
      ],
    }
  },
  methods: {
    toggleShowMenu() {
      this.showMenu = !this.showMenu
    },
  },
}
</script>

{'fraction_non_alphanumeric': 0.15314109165808446, 'fraction_numerical': 0.028218331616889806, 'mean_word_length': 1.2489578508568782, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 14, 'lorem ipsum': 0, 'www.': 18, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3491364', 'n_tokens_mistral': 3251, 'n_tokens_neox': 3095, 'n_words': 497}