lightlimx-website/components/Partners/index.vue

123 lines
2.4 KiB
Vue

<template>
<div class="partners" id="partners">
<h2 class="partners-t">Partners</h2>
<h3 class="partners-t-sub">We Partner With The Extraordinary</h3>
<p class="partners-d">We are well versed within crypto space with strong partner backing</p>
<ul class="partners-l">
<li class="partners-l-i wow flipInX" data-wow-delay="0.6s" v-for="(item,index) in partners" :key="'partners_'+index">
<img class="partners-l-i-img " v-lazy="assetsUri(item.logo)" alt="">
</li>
<li class="partners-l-i" v-if="partners.length%4<3||partners.length%3<2"></li>
</ul>
</div>
</template>
<script>
import {
assetsUri
} from "../../utils";
export default {
name: "Partners",
props:{
partners:{
default:()=>[],
type:Array
},
showPartners:{
default:false,
type:Boolean
},
},
data(){
return {
assetsUri,
}
}
}
</script>
<style scoped lang="less">
.partners{
width: 100%;
&-t,&-t-sub,&-d{
text-align: center;
color: #Fff;
}
&-t{
font-size: .6rem;
font-family: Manrope;
font-weight: bold;
line-height: .84rem;
color: #FFFFFF;
&-sub{
font-size: .36rem;
font-family: Manrope;
font-weight: bold;
line-height: .84rem;
color: #FFFFFF;
}
}
&-d{
font-size: .24rem;
font-family: Manrope;
font-weight: 400;
line-height: .33rem;
color: #FFFFFF;
}
&-l{
padding-top: 1rem;
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&-i{
width: 100%;
height: 100%;
max-width: 2.80rem;
max-height: 1.8rem;
margin-bottom: .6rem;
cursor: pointer;
&-img{
width: 100%;
height: 100%;
}
}
}
}
@media screen and (max-width: 1200px){
.partners{
&-l{
justify-content: space-around;
}
}
}
@media screen and (max-width: 768px){
.partners{
&-t{
font-size: .6rem;
line-height: .84rem;
&-sub{
font-size: .36rem;
line-height: .84rem;
}
}
&-d{
max-width: 4.54rem;
font-size: .24rem;
line-height: .32rem;
margin: 0 auto;
}
&-l{
padding-top: .5rem;
&-i{
margin-bottom: .3rem;
max-width: 2.06rem;
max-height: 1.33rem;
}
}
}
}
</style>