<template>
  <footer ref="footerElement">
    <LayoutContainer>
      <!-- <div
      v-if="lgAndUp"
      class="activities"
    >
      <v-row>
        <v-col cols="4">
          <v-img
            class="logo logo-jaune"
            src="/images/OpenTalent_LogoNoir_Jaune_white.png"
          />
          <small class="text-logo-jaune">
            Orchestres, chorales, danse, théatre, cirque</small>
        </v-col>
        <div class="vertical-bar" />

        <v-col cols="3">
          <v-img
            class="logo logo-rouge"
            src="/images/OpenTalent_LogoNoir_rouge_manager_white.png"
          />
          <small class="text-logo-rouge">Fédérations, confédérations, collectivités</small>
        </v-col>
        <div class="vertical-bar" />
        <v-col cols="4">
          <v-img
            class="logo logo-bleu"
            src="/images/logo_school_white.png"
          />
          <small class="text-logo-bleu">Tous les établissements d'enseignement artistique</small>
        </v-col>
      </v-row>
    </div> -->

      <div class="footer">
        <div class="content-footer">
          <v-row>
            <v-col
              :cols="smAndDown ? 12 : 2"
              :class="smAndDown ? 'logo-opentalent-sm' : 'flex-container'"
            >
              <v-img
                class="logo"
                src="/images/Logo-blanc.png"
                width="294px"
                height="65px"
              />
              <small class="ml-6 right-reserved"
                >© 2022 Opentalent, Tous droits réservés</small
              >
            </v-col>

            <v-col
              :cols="smAndDown ? 6 : 2"
              :class="smAndDown ? 'link-sm' : ''"
            >
              <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'">
                <h5 class="ml-12 mt-10 h5-title">Agenda culturel</h5>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Agenda</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Annuaire</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Actualités</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Annonces</small>
              </v-row>
            </v-col>
            

            <v-col
              :cols="smAndDown ? 6 : 2"
              :class="smAndDown ? 'link-sm' : 'details-footer'"
            >
              <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'">
                <h5 class="ml-12 mt-10 h5-title">Nos logiciels culturels</h5>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Opentalent Artist</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Opentalent School</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Opentalent Manager</small>
              </v-row>
            </v-col>



            <v-col
              :cols="smAndDown ? 6 : 2"
              :class="smAndDown ? 'link-sm' : 'details-footer'"
            >
              <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'">
                <h5 class="ml-12 mt-8 h5-title">Espace client</h5>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Foire Aux Questions</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Support en ligne</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Nous contacter</small>
              </v-row>
            </v-col>

            <v-col
              :cols="smAndDown ? 6 : 2"
              :class="smAndDown ? 'link-sm' : 'details-footer'"
            >
              <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'">
                <h5 class="ml-12 mt-10 h5-title">Conditions & politiques</h5>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Mentions légales</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Conditions Générales d'Utilisation</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Conditions Générales de Ventes</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Politique de confidentialite & protection des données personnelles</small>
              </v-row>
              <v-row>
                <small class="small-link ml-12">Politique d'utilisation des cookies</small>
              </v-row>
            </v-col>

            <v-col
              :cols="smAndDown ? 6 : 2"
              :class="smAndDown ? 'link-sm' : ''"
            >
              <v-row :class="smAndDown ? 'title-link-sm' : 'title-link'">
                <h5 class="ml-12 mt-10 h5-title">Suivez-nous</h5>
              </v-row>

              <v-row class="ml-5">
                <v-col :cols="smAndDown ? 4 : 2">
                  <v-icon class="fab fa-facebook" />
                </v-col>

                <v-col :cols="smAndDown ? 4 : 2">
                  <v-icon class="fab fa-linkedin" />
                </v-col>

                <v-col :cols="smAndDown ? 4 : 2">
                  <v-icon class="fab fa-youtube" />
                </v-col>
              </v-row>

            </v-col>
          </v-row>
        </div>
      </div>
    </LayoutContainer>
  </footer>
</template>

<script setup>
import { useDisplay } from "vuetify";
import { ref, provide } from "vue";

const footerElement = ref(null);

provide("footerElement", footerElement);
const { smAndDown, lgAndUp } = useDisplay();
</script>

<style scoped>

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vertical-bar {
  height: 4rem;
  border: 0.1rem solid #ECFBFC;
  margin-left: 10px;
  margin-top: 3rem;
}

.right-reserved {
  color: rgba(255, 255, 255, 0.6);
  font-family: Space Grotesk;
  font-size: 0.6rem;
  letter-spacing: 1px;
}
.h5-title {
  font-size: 1.1rem;
  font-style: normal;
  letter-spacing: 1.2px;
}
.link-sm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo-opentalent-sm {
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon:nth-child(2) {
  margin-left: 10px;
}
.title-link,
.title-link-sm {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 20px;
  margin-bottom: 1rem;
}

.title-link-sm {
  margin-bottom: 0.1rem;
}

.small-link {
  margin-bottom: 0.5rem;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 20px;
  color: #ffffff;
}
.container {
  background: #091d20;
  color: aliceblue;
}

.activities {
  height: 12rem;
  background: #091d20;
  border-bottom: 0.4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 3px 24px rgba(0, 0, 0, 0.07);
}

.footer {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.logo {
  margin-top: 2rem;
  width: 141px;
  height: 77px;
  margin-bottom: 5rem;
}

.logo-jaune {
  margin-left: 307.74px;
}

.logo-rouge {
  margin-left: 117px;
}

.logo-bleu {
  margin-left: 91.74px;
}

.text-logo-jaune {
  margin-left: 10rem;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;

  color: #ecfbfc;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}

.text-logo-rouge {
  margin-left: 37.74px;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;

  color: #ecfbfc;

  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}

.text-logo-bleu {
  height: 24px;
  left: 897px;
  top: 7858px;
  margin-left: 25.74px;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  align-items: center;
  color: #ecfbfc;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 4px 4px rgba(0, 0, 0, 0.25);
}
</style>
