Footer.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. <template>
  2. <!--suppress VueUnrecognizedDirective -->
  3. <footer v-intersect="onIntersect">
  4. <LayoutContainer>
  5. <div>
  6. <v-row>
  7. <!-- Première section : Logo Opentalent -->
  8. <v-col cols="12" lg="3" class="logo">
  9. <nuxt-link :to="{ path: '/', hash: '#top' }">
  10. <v-img
  11. src="/images/logos/opentalent/Logo_Opentalent-blanc.png"
  12. alt="Logo Opentalent - Agenda et Logiciels culturels"
  13. />
  14. </nuxt-link>
  15. </v-col>
  16. <!-- Deuxième section : liens agenda culturel (écrans larges seulement) -->
  17. <v-col class="lg-and-up" cols="7">
  18. <v-row>
  19. <v-col cols="3">
  20. <v-row>
  21. <h5>Agenda</h5>
  22. </v-row>
  23. <v-row>
  24. <AgendaLink href="/annuaire"> Annuaire </AgendaLink>
  25. </v-row>
  26. <v-row>
  27. <AgendaLink href="/actualites"> Actualités </AgendaLink>
  28. </v-row>
  29. <v-row>
  30. <AgendaLink href="/annonces"> Annonces </AgendaLink>
  31. </v-row>
  32. </v-col>
  33. <!-- Troisième section : liens logiciels culturels (écrans larges seulement) -->
  34. <v-col cols="3">
  35. <v-row>
  36. <h5>Logiciels</h5>
  37. </v-row>
  38. <v-row>
  39. <nuxt-link to="/opentalent-artist">
  40. Opentalent Artist
  41. </nuxt-link>
  42. </v-row>
  43. <v-row>
  44. <nuxt-link to="/opentalent-school">
  45. Opentalent School
  46. </nuxt-link>
  47. </v-row>
  48. <v-row>
  49. <nuxt-link to="/opentalent-manager">
  50. Opentalent Manager
  51. </nuxt-link>
  52. </v-row>
  53. </v-col>
  54. <!-- Quatrième section : A propos (écrans larges seulement) -->
  55. <v-col cols="3">
  56. <v-row>
  57. <h5>A PROPOS</h5>
  58. </v-row>
  59. <v-row>
  60. <nuxt-link to="/qui-sommes-nous"> Qui sommes-nous </nuxt-link>
  61. </v-row>
  62. <v-row>
  63. <nuxt-link to="/nous-rejoindre"> Nous rejoindre </nuxt-link>
  64. </v-row>
  65. <v-row>
  66. <nuxt-link to="/nous-contacter"> Nous contacter </nuxt-link>
  67. </v-row>
  68. </v-col>
  69. <!-- Cinquième section : liens espace client (écrans larges seulement) -->
  70. <v-col cols="3">
  71. <v-row>
  72. <h5>Espace client</h5>
  73. </v-row>
  74. <v-row>
  75. <nuxt-link
  76. href="https://ressources.opentalent.fr/display/FAQ/Accueil"
  77. target="_blank"
  78. >
  79. Foire Aux Questions
  80. </nuxt-link>
  81. </v-row>
  82. <v-row>
  83. <nuxt-link
  84. href="https://ressources.opentalent.fr/"
  85. target="_blank"
  86. >
  87. Support en ligne
  88. </nuxt-link>
  89. </v-row>
  90. </v-col>
  91. </v-row>
  92. </v-col>
  93. <!-- Sixième section : liens réseaux sociaux (écrans larges seulement) -->
  94. <v-col class="lg-and-up" cols="2">
  95. <v-row class="justify-center">
  96. <h5>Suivez-nous</h5>
  97. </v-row>
  98. <v-row class="justify-center social-networks">
  99. <v-col cols="2">
  100. <nuxt-link
  101. href="https://www.facebook.com/opentalent"
  102. target="_blank"
  103. class="fab fa-square-facebook"
  104. />
  105. </v-col>
  106. <v-col cols="2">
  107. <nuxt-link
  108. href="https://twitter.com/Opentalent_FRA"
  109. target="_blank"
  110. class="fa-brands fa-square-x-twitter"
  111. />
  112. </v-col>
  113. <v-col cols="2">
  114. <nuxt-link
  115. href="https://www.linkedin.com/company/2iopenservice"
  116. target="_blank"
  117. class="fab fa-linkedin"
  118. />
  119. </v-col>
  120. <v-col cols="2">
  121. <nuxt-link
  122. href="https://www.youtube.com/@Opentalent74300"
  123. target="_blank"
  124. class="fab fa-square-youtube"
  125. />
  126. </v-col>
  127. </v-row>
  128. </v-col>
  129. </v-row>
  130. <!-- Deuxième section alt : version petits écrans -->
  131. <v-row class="md-and-down justify-center social-networks">
  132. <!-- TODO: voir si faisable de fusionner avec la section précédente -->
  133. <v-col cols="12" class="text-center">
  134. <nuxt-link
  135. href="https://www.facebook.com/opentalent"
  136. target="_blank"
  137. class="fab fa-square-facebook"
  138. />
  139. <nuxt-link
  140. href="https://twitter.com/Opentalent_FRA"
  141. target="_blank"
  142. class="fa-brands fa-square-x-twitter"
  143. />
  144. <nuxt-link
  145. href="https://www.linkedin.com/company/2iopenservice"
  146. target="_blank"
  147. class="fab fa-linkedin"
  148. />
  149. <nuxt-link
  150. href="https://www.youtube.com/@Opentalent74300"
  151. target="_blank"
  152. class="fab fa-square-youtube"
  153. />
  154. </v-col>
  155. </v-row>
  156. </div>
  157. <!-- Troisième section alt : version petits écrans -->
  158. <v-row class="md-and-down">
  159. <v-col cols="12">
  160. <div v-for="(item, index) in footerLinks" :key="index">
  161. <v-container>
  162. <div class="section" @click="toggleSection(index)">
  163. <div class="d-flex flex-row justify-space-between">
  164. {{ item.label }}
  165. <v-icon
  166. :icon="
  167. isActive(index)
  168. ? 'fas fa-chevron-up'
  169. : 'fas fa-chevron-down'
  170. "
  171. />
  172. </div>
  173. <div
  174. v-for="(sublink, sublinkIndex) in item.sublink"
  175. v-show="isActive(index)"
  176. :key="sublinkIndex"
  177. class="mt-3"
  178. >
  179. <nuxt-link :href="sublink.link" :target="sublink.target">
  180. {{ sublink.label }}
  181. </nuxt-link>
  182. </div>
  183. </div>
  184. </v-container>
  185. </div>
  186. </v-col>
  187. </v-row>
  188. <div class="footnotes">
  189. <v-row justify="center">
  190. <p class="mt-6">
  191. <nuxt-link to="/mentions-legales"> Mentions légales </nuxt-link>
  192. -
  193. <nuxt-link
  194. to="/politique-de-confidentialite-et-protection-des-donnees-personnelles"
  195. >
  196. Politiques de confidentialité
  197. </nuxt-link>
  198. -
  199. <nuxt-link to="/cgv"> Conditions Générales de Ventes </nuxt-link>
  200. </p>
  201. </v-row>
  202. <v-row class="mb-3" justify="center">
  203. <p>2024 © Opentalent est une marque déposée par 2iOPENservice</p>
  204. </v-row>
  205. </div>
  206. </LayoutContainer>
  207. </footer>
  208. </template>
  209. <script setup lang="ts">
  210. import { useLayoutStore } from '~/stores/layoutStore'
  211. import AgendaLink from '~/components/Common/AgendaLink.vue'
  212. import UrlUtils from '~/services/utils/urlUtils.js'
  213. const runtimeConfig = useRuntimeConfig()
  214. const makeAgendaLink = (path: string) => {
  215. return UrlUtils.join(runtimeConfig.public.agendaBaseUrl as string, path)
  216. }
  217. const footerLinks = ref([
  218. {
  219. label: 'AGENDA',
  220. sublink: [
  221. {
  222. label: 'Annuaire',
  223. link: makeAgendaLink('/annuaire'),
  224. target: '_blank',
  225. },
  226. {
  227. label: 'Actualités',
  228. link: makeAgendaLink('/actualites'),
  229. target: '_blank',
  230. },
  231. {
  232. label: 'Annonces',
  233. link: makeAgendaLink('/annonces'),
  234. target: '_blank',
  235. },
  236. ],
  237. },
  238. {
  239. label: 'LOGICIELS ',
  240. sublink: [
  241. {
  242. label: 'Opentalent Artist',
  243. link: '/opentalent-artist',
  244. target: 'self',
  245. },
  246. {
  247. label: 'Opentalent School',
  248. link: '/opentalent-school',
  249. target: 'self',
  250. },
  251. {
  252. label: 'Opentalent Manager',
  253. link: '/opentalent-manager',
  254. target: 'self',
  255. },
  256. ],
  257. },
  258. {
  259. label: 'À PROPOS ',
  260. sublink: [
  261. {
  262. label: 'Qui sommes-nous',
  263. link: '/qui-sommes-nous',
  264. target: 'self',
  265. },
  266. {
  267. label: 'Nous rejoindre',
  268. link: '/nous-rejoindre',
  269. target: 'self',
  270. },
  271. {
  272. label: 'Nous contacter',
  273. link: '/nous-contacter',
  274. target: 'self',
  275. },
  276. ],
  277. },
  278. {
  279. label: 'ESPACE CLIENT ',
  280. sublink: [
  281. {
  282. label: 'Foire Aux Questions ',
  283. link: 'https://ressources.opentalent.fr',
  284. target: 'self',
  285. },
  286. {
  287. label: 'Support en ligne ',
  288. link: 'https://ressources.opentalent.fr/?contact',
  289. target: 'self',
  290. },
  291. ],
  292. },
  293. ])
  294. const activeIndex = ref(-1)
  295. function toggleSection(index: number) {
  296. activeIndex.value = activeIndex.value === index ? -1 : index
  297. }
  298. function isActive(index: number) {
  299. return activeIndex.value === index
  300. }
  301. const layoutStore = useLayoutStore()
  302. const onIntersect = (isIntersecting: boolean) => {
  303. layoutStore.setIsFooterVisible(isIntersecting)
  304. }
  305. </script>
  306. <style scoped lang="scss">
  307. .container {
  308. background: var(--primary-color);
  309. color: var(--on-primary-color);
  310. }
  311. .logo {
  312. display: flex;
  313. flex-direction: row;
  314. justify-content: center;
  315. margin-bottom: 20px;
  316. }
  317. .logo .v-img {
  318. height: 120px;
  319. width: 300px;
  320. }
  321. .v-col {
  322. padding: 12px;
  323. }
  324. .container {
  325. padding-top: 32px;
  326. }
  327. h5 {
  328. font-weight: 500;
  329. line-height: 20px;
  330. margin-top: 20px;
  331. margin-bottom: 1rem;
  332. font-size: 1.1rem;
  333. letter-spacing: 1.2px;
  334. text-transform: uppercase;
  335. }
  336. a {
  337. font-weight: 300;
  338. font-size: 0.9rem;
  339. line-height: 20px;
  340. color: var(--on-primary-color);
  341. text-decoration: none !important;
  342. margin-bottom: 0.5rem;
  343. }
  344. .social-networks {
  345. a {
  346. color: var(--on-primary-color);
  347. font-size: 1.9rem;
  348. text-decoration: none !important;
  349. }
  350. @media (max-width: 1240px) {
  351. a {
  352. margin: 0 3%;
  353. font-size: 2.4rem;
  354. }
  355. }
  356. }
  357. .footnotes {
  358. border-top: 0.4px solid var(--neutral-color-alt-strong);
  359. box-shadow: 0 3px 24px rgba(0, 0, 0, 0.07);
  360. a,
  361. p {
  362. text-decoration: none;
  363. color: var(--on-primary-color);
  364. font-size: 0.8rem;
  365. @media (max-width: 600px) {
  366. max-width: 90%;
  367. text-align: center;
  368. }
  369. }
  370. }
  371. @media (max-width: 960px) {
  372. .logo {
  373. display: flex;
  374. justify-content: center;
  375. align-items: center;
  376. height: 140px;
  377. }
  378. .logo .v-img {
  379. width: 18rem;
  380. }
  381. .social-networks {
  382. a {
  383. font-size: 2rem;
  384. margin: 0 1rem;
  385. }
  386. }
  387. .section {
  388. display: flex;
  389. flex-direction: column;
  390. justify-content: space-between;
  391. text-align: left;
  392. font-weight: 700;
  393. font-size: 1.5rem;
  394. cursor: pointer;
  395. > div:first-child {
  396. border-bottom: 1px solid var(--on-primary-color);
  397. padding-bottom: 6px;
  398. text-transform: uppercase;
  399. }
  400. a {
  401. font-weight: 300;
  402. font-size: 1.3rem;
  403. line-height: 20px;
  404. color: var(--on-primary-color);
  405. text-decoration: none !important;
  406. text-align: left;
  407. }
  408. }
  409. .footnotes {
  410. border: none;
  411. }
  412. }
  413. </style>