Browse Source

V8-6960 : fix footer et ajout année dynamique

Vincent 1 year ago
parent
commit
7559a036c7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      components/Layout/Footer/Footer.vue

+ 3 - 1
components/Layout/Footer/Footer.vue

@@ -217,7 +217,7 @@
         </v-row>
 
         <v-row class="mb-3" justify="center">
-          <p>Crédit : © 2024 Opentalent - Tous droits réservés</p>
+          <p>© {{year}} Opentalent - Tous droits réservés</p>
         </v-row>
       </div>
     </LayoutContainer>
@@ -326,6 +326,8 @@ const layoutStore = useLayoutStore()
 const onIntersect = (isIntersecting: boolean) => {
   layoutStore.setIsFooterVisible(isIntersecting)
 }
+
+const year = ref((new Date()).getFullYear())
 </script>
 
 <style scoped lang="scss">