All files / components/Club index.vue

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

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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207                                                                                                                                                                                                                                                                                                                                                                                                                             
<template>
  <main class="mb-lg-4">
    <div
      class="
        main-header
        position-relative
        d-flex
        overflow-hidden
        justify-content-center justify-content-xl-start
      "
    >
      <div
        class="
          banner
          position-absolute
          p-0
          m-0
          p-md-3
          mx-md-5
          text-center
          content
          align-self-end align-self-md-center
        "
      >
        <h1 class="gold">Discover</h1>
        <h3 class="mb-5">our best Selling BEARD</h3>
        <h3 class="mt-5">hair and Skin CARE PRODUCTS</h3>
      </div>
      <div class="d-flex justify-content-center w-100">
        <img
          class="position-absolute header-image"
          src="@/assets/img/iStock-1018779998-min.jpg"
          alt="iStock"
        />
      </div>
    </div>
    <div class="px-0 px-lg-5 m-0 mx-md-5">
      <BestSellers />
      <Articles />
      <div
        class="
          position-relative
          d-flex
          justify-content-center
          align-items-md-center align-items-end
        "
      >
        <div
          class="
            banner
            position-absolute
            d-flex
            flex-column
            justify-content-center
            align-items-center
            p-2
            w-100
          "
        >
          <h4 class="gold">Traditional Shaving</h4>
          <p class="text-center">Indulge in a moment of perfect nostalgia</p>
          <h4 class="grey">SHOP NOW</h4>
        </div>
        <div class="d-flex justify-content-center w-100">
          <img src="@/assets/img/iStock-1251674339-min.jpg" alt="istockphoto" />
        </div>
      </div>
      <div class="follow-us d-flex flex-column align-items-center">
        <h6 class="text-center col-black p-4">FOLLOW US</h6>
        <div class="follow-icons d-flex justify-content-center p-3 rounded">
          <NuxtLink class="icon icon-twitter mx-2" to="/"></NuxtLink>
          <NuxtLink class="icon icon-facebook mx-2" to="/"></NuxtLink>
          <NuxtLink class="icon icon-pinterest mx-2" to="/"></NuxtLink>
          <NuxtLink class="icon icon-instagram mx-2" to="/"></NuxtLink>
        </div>
      </div>
    </div>
  </main>
</template>

<script>
import BestSellers from "./BestSellers";
import Articles from "./Articles";
 
export default {
  name: "Club",
  layout: "club",
  components: { BestSellers, Articles },
};
</script>
 
<style scoped>
@media (max-width: 500px) {
  .follow-us {
    width: 100%;
  }
  .follow-us > .follow-icons {
    width: 100%;
  }
}
 
@media (max-width: 767px) {
  .banner {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
}
 
@media (min-width: 1000px) {
  .main-header {
    height: 650px !important;
  }
}
 
@media (min-width: 1200px) {
  .main-header {
    height: 750px !important;
  }
}
 
@media (min-width: 1400px) {
  .main-header {
    height: 850px !important;
  }
}
 
@media (min-width: 1600px) {
  .main-header {
    height: 1000px !important;
  }
}
 
@media (min-width: 2000px) {
  .main-header {
    height: 1300px !important;
  }
}
 
@media (min-width: 1500px) {
  .header-image {
    width: 100% !important;
    height: auto !important;
  }
}
 
.grey {
  color: #cecece;
}
 
.header-image {
  width: auto;
  height: 117%;
  max-width: none;
}
 
main {
  color: #fff;
}
 
.main-header {
  height: 550px;
}
 
.content {
  z-index: 1;
}
 
.content > h1,
.content > h3 {
  font-weight: 400;
}
 
.card-info > span {
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}
 
.follow-icons {
  background: #fafafa;
  width: 294px;
}
 
.icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  filter: invert(49%) sepia(40%) saturate(0%) hue-rotate(154deg) brightness(83%)
    contrast(110%);
  background-size: cover;
}
 
.icon-twitter {
  background-image: url("../../assets/icons/icons8-twitter.svg");
}
 
.icon-facebook {
  background-image: url("../../assets/icons/icons8-facebook.svg");
}
 
.icon-pinterest {
  background-image: url("../../assets/icons/icons8-pinterest.svg");
}
 
.icon-instagram {
  background-image: url("../../assets/icons/icons8-instagram.svg");
}
</style>