-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFooter.vue
79 lines (70 loc) · 1.62 KB
/
Footer.vue
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
<template>
<div class="footer">
<!-- <div class="sidebar-width"></div> -->
<div>
<a :href="$site.themeConfig.cloudlinuxSite">
<img src="./we-are-cloudlinux.svg" alt="We are Cloudlinux">
</a>
</div>
<div>2018. CloudLinux Inc</div>
<div>
<div v-for="item in $site.themeConfig.bottomLinks" :key="item">
<a :href="item.url" target="_blank">{{ item.text }}</a>
</div>
</div>
<div class="social">
<span>Stay in touch</span>
<a v-for="item in $site.themeConfig.social"
:key="item"
:href="item.url" target="_blank">
<img :src="item.logo">
</a>
</div>
</div>
</template>
<script>
export default {
name: 'Footer'
}
</script>
<style lang="stylus" scoped>
@require './styles/config.styl'
.footer
margin-left $sidebarWidth + 2rem
color $grayTextColor
text-align center
border-top 1px solid $borderColor
height 102px
// width 100%
background #fff
display flex
flex-flow row wrap
justify-content space-around
align-items center
// margin-left 2rem
div
margin 5px
font-size 12px
display inline-flex
a
display inline-block
margin-left 10px
img
cursor pointer
.social
display flex
justify-content center
align-items center
padding-left 20px
a
margin-left 0px
margin-right -5px
.sidebar-width
width $sidebarWidth + 2rem
@media (max-width: $MQMobile)
.footer
justify-content center
margin-left 0
div
display block
</style>