Footer.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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 v-if="lgAndUp" cols="7">
  18. <v-row>
  19. <v-col cols="3">
  20. <v-row>
  21. <h5>Agenda culturel</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 culturels</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 v-if="lgAndUp" 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 v-if="mdAndDown" class="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 v-if="mdAndDown">
  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. <CommonAgendaLink :href="sublink.link">
  180. {{ sublink.label }}
  181. </CommonAgendaLink>
  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>
  204. 2024 © Opentalent est une marque déposée par 2iOPENservice
  205. </p>
  206. </v-row>
  207. </div>
  208. </LayoutContainer>
  209. </footer>
  210. </template>
  211. <script setup>
  212. import { useDisplay } from 'vuetify'
  213. import { useLayoutStore } from '~/stores/layoutStore'
  214. import AgendaLink from '~/components/Common/AgendaLink.vue'
  215. const { mdAndDown, lgAndUp } = useDisplay()
  216. const footerLinks = ref([
  217. {
  218. label: 'AGENDA CULTUREL',
  219. sublink: [
  220. {
  221. label: 'Annuaire',
  222. link: '/annuaire',
  223. },
  224. {
  225. label: 'Actualités',
  226. link: '/actualites',
  227. },
  228. {
  229. label: 'Annonces',
  230. link: '/annonces',
  231. },
  232. ],
  233. },
  234. {
  235. label: 'LOGICIELS CULTURELS ',
  236. sublink: [
  237. {
  238. label: 'Opentalent Artist',
  239. link: '/opentalent_artist',
  240. },
  241. {
  242. label: 'Opentalent School',
  243. link: '/opentalent_school',
  244. },
  245. {
  246. label: 'Opentalent Manager',
  247. link: '/opentalent_manager',
  248. },
  249. ],
  250. },
  251. {
  252. label: 'À PROPOS ',
  253. sublink: [
  254. {
  255. label: 'Qui sommes-nous',
  256. link: '/qui-sommes-nous',
  257. },
  258. {
  259. label: 'Nous rejoindre',
  260. link: '/nous-rejoindre',
  261. },
  262. {
  263. label: 'Nous contacter',
  264. link: '/nous-contacter',
  265. },
  266. ],
  267. },
  268. {
  269. label: 'ESPACE CLIENT ',
  270. sublink: [
  271. {
  272. label: 'Foire Aux Questions ',
  273. link: '/ https://ressources.opentalent.fr',
  274. },
  275. {
  276. label: 'Support en ligne ',
  277. link: '/https://ressources.opentalent.fr/?contact',
  278. },
  279. {
  280. label: 'Nous contacter ',
  281. link: '/nous-contacter',
  282. },
  283. ],
  284. },
  285. ])
  286. const activeIndex = ref(-1)
  287. function toggleSection(index) {
  288. activeIndex.value = activeIndex.value === index ? -1 : index
  289. }
  290. function isActive(index) {
  291. return activeIndex.value === index
  292. }
  293. const layoutStore = useLayoutStore()
  294. const onIntersect = (isIntersecting) => {
  295. layoutStore.setIsFooterVisible(isIntersecting)
  296. }
  297. </script>
  298. <style scoped lang="scss">
  299. .container {
  300. background: var(--primary-color);
  301. color: var(--on-primary-color);
  302. }
  303. .logo {
  304. display: flex;
  305. flex-direction: row;
  306. justify-content: center;
  307. margin-bottom: 20px;
  308. }
  309. .logo .v-img {
  310. height: 120px;
  311. width: 300px;
  312. }
  313. .v-col {
  314. padding: 12px;
  315. }
  316. .container {
  317. padding-top: 32px;
  318. }
  319. h5 {
  320. font-weight: 500;
  321. line-height: 20px;
  322. margin-top: 20px;
  323. margin-bottom: 1rem;
  324. font-size: 1.1rem;
  325. letter-spacing: 1.2px;
  326. text-transform: uppercase;
  327. }
  328. a {
  329. font-weight: 300;
  330. font-size: 0.9rem;
  331. line-height: 20px;
  332. color: var(--on-primary-color);
  333. text-decoration: none !important;
  334. margin-bottom: 0.5rem;
  335. }
  336. .social-networks {
  337. a {
  338. color: var(--on-primary-color);
  339. font-size: 1.9rem;
  340. text-decoration: none !important;
  341. }
  342. @media (max-width: 1240px) {
  343. a {
  344. margin: 0 3%;
  345. font-size: 2.4rem;
  346. }
  347. }
  348. }
  349. .footnotes {
  350. border-top: 0.4px solid var(--neutral-color-alt-strong);
  351. box-shadow: 0 3px 24px rgba(0, 0, 0, 0.07);
  352. a,
  353. p {
  354. text-decoration: none;
  355. color: var(--on-primary-color);
  356. font-size: 0.8rem;
  357. @media (max-width: 600px) {
  358. max-width: 90%;
  359. text-align: center;
  360. }
  361. }
  362. }
  363. @media (max-width: 960px) {
  364. .logo {
  365. display: flex;
  366. justify-content: center;
  367. align-items: center;
  368. height: 140px;
  369. }
  370. .logo .v-img {
  371. width: 18rem;
  372. }
  373. .social-networks {
  374. a {
  375. font-size: 3rem;
  376. margin: 0 1rem;
  377. }
  378. }
  379. .section {
  380. display: flex;
  381. flex-direction: column;
  382. justify-content: space-between;
  383. text-align: left;
  384. font-weight: 700;
  385. font-size: 1.5rem;
  386. cursor: pointer;
  387. > div:first-child {
  388. border-bottom: 1px solid var(--on-primary-color);
  389. padding-bottom: 6px;
  390. text-transform: uppercase;
  391. }
  392. a {
  393. font-weight: 300;
  394. font-size: 1.3rem;
  395. line-height: 20px;
  396. color: var(--on-primary-color);
  397. text-decoration: none !important;
  398. text-align: left;
  399. }
  400. }
  401. .footnotes {
  402. border: none;
  403. }
  404. }
  405. </style>