Footer.vue 11 KB

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