All files / components/navbar navbar-config.vue

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104                                                                                                                                                                                                               
<template>
 
  <nav class="navbar navbar-expand-lg w-100" style="background-color: rgb(0, 21, 44);">
    <div class="wrapper px-intermediate px-inter-0">
      <div class="nav-select-container w-100 d-flex justify-content-lg-end justify-content-start">
        <custom-select
          class="me-1 pt-1"
          :selectSpecs="{
          label: 'Select currency', // select label
          arrowPos: 'right', // position of dropdown arrow
          isHidden: false, // is first option hidden
          options: ['LEI', 'EUR', 'USD'], // select options
          bgColor: 'rgb(0, 21, 44)', // background color of select
          fontColor: 'white', // select font color
          fontWeight: 'SoleilRegular' // select font weight
        }"
          v-model="currency"
        ></custom-select>
 
        <custom-select
          class="pt-1"
          v-model="language"
          :selectSpecs="{
          label: 'Select language',
          arrowPos: 'right',
          isHidden: false,
          options: ['ROMÂNĂ', 'ENGLEZĂ', 'FRANCEZĂ'],
          bgColor: 'rgb(0, 21, 44)',
          fontColor: 'white',
          fontWeight: 'SoleilRegular'
        }"
        ></custom-select>
      </div>
    </div>
  </nav>
 
  <!--         <div id="logged-out" v-if="!$auth.loggedIn">
              <link-comp :page="'register'" :text="'Register'"/>
              <link-comp :page="'login'" :text="'Login'"/>
          </div>
 
          <div v-if="user['email_verified_at'] === null">
              <button @click="submitEmailNotification">Verifica Email</button>
              <_page id="error" v-if="getError">{{getError}}</_page>
              <_page v-if="isVerificationEmail">Email-ul de verificare a fost trimis</_page>
          </div>
          <div id="logged-in" v-else>
              <_page id="logout" @click="$auth.logout()">Log out</_page>
          </div> -->
 
</template>
<script>
import customSelect from '../utilities/form-utils/custom-select.vue';
//import linkComp from '../link-comp.vue';
export default {
  components: {customSelect},
  data() {
    return {
      currency: 'LEI',
      language: 'ROMÂNĂ'
    }
  }
}
</script>
 
<style lang="scss" scoped>
 
@include media-breakpoint-up(lg) {
  //.nav-select-container {
  //  position: relative;
  //  right: -1rem;
  //}
 
  .nav-select-container::v-deep .custom-select {
    font-size: 1rem;
  }
}
 
@media screen and #{$ipad-pro-landscape-breakpoint},
screen and #{$ipad-pro-portrait-breakpoint},
screen and #{$ipad-landscape-breakpoint} {
 
  .nav-select-container::v-deep .custom-select {
    font-size: .8rem;
  }
 
  .nav-select-container {
    justify-content: start !important;
  }
 
  .navbar {
    display: none !important;
  }
}
 
@include media-breakpoint-down(lg) {
  .nav-select-container::v-deep .custom-select {
    font-size: .8rem;
  }
}
 
</style>