Footer.vue 12 KB

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