55 </h2 >
66 <div class =" row p-0 Contact-us" >
77 <div class =" col-md-12 col-lg-5 m-0 pb-4 pt-4" >
8- <div v-for =" (contact,index) in contacts" :key =" index" class =" row d-flex justify-content-center" >
8+ <div
9+ v-for =" (contact, index) in contacts"
10+ :key =" index"
11+ class =" row d-flex justify-content-center"
12+ >
913 <div class =" col-11 font-weight-bold " >
1014 <div class =" contact-card" >
11- {{ contact.name }} <br >
12- <i class =" fas fa-phone" /> {{ contact.phone }} <br >
13- <i class =" fas fa-envelope" /> {{ contact.mail }} <br >
15+ {{ contact.name }} <br / >
16+ <i class =" fas fa-phone" /> {{ contact.phone_number }} <br / >
17+ <i class =" fas fa-envelope" /> {{ contact.email }} <br / >
1418 </div >
1519 </div >
1620 </div >
1721 </div >
1822 <div class =" col-sm-12 col-lg-7 p-0" >
19- <div class =" Contact-footer--right" style =" background-image : url (' static/images/map.jpeg' )" >
23+ <div
24+ class =" Contact-footer--right"
25+ style =" background-image : url (' static/images/map.jpeg' )"
26+ >
2027 <div class =" Contact-footer--right-content" >
2128 <div class =" row mt-2" >
2229 <div class =" col-1 p-0 mr-2" >
2330 <i class =" fas fa-map-marker-alt fa-2x" />
2431 </div >
2532 <div class =" col-10" >
26- <p > <strong >GNU/Linux Users' Group<br > NIT Durgapur</strong ></p ><p >Durgapur<br >West Bengal 713209</p >
33+ <p >
34+ <strong >GNU/Linux Users' Group<br />
35+ NIT Durgapur</strong >
36+ </p >
37+ <p >Durgapur<br />West Bengal 713209</p >
2738 </div >
2839 </div >
2940 </div >
3344 </div >
3445</template >
3546
36- <script >
47+ <!-- < script>
3748export default {
3849 data () {
3950 return {
@@ -46,18 +57,38 @@ export default {
4657 }
4758 }
4859}
60+ </script> -->
61+
62+ <script >
63+ import common from ' @/services/common.js'
64+ export default {
65+ data () {
66+ return {
67+ contacts: []
68+ }
69+ },
70+ created () {
71+ common .getContact ()
72+ .then (response => {
73+ this .contacts = response .data
74+ this .$emit (' hideloader' , true )
75+ })
76+ .catch (e => {
77+ console .log (e)
78+ })
79+ }
80+ }
4981 </script >
5082
5183<style scoped>
52-
5384h2 {
5485 font-size : 32px ;
5586 text-transform : uppercase ;
5687}
5788.highlighted {
5889 color : #fa631c ;
5990}
60- .Contact-us {
91+ .Contact-us {
6192 background-color : #f5f5f5 ;
6293}
6394.contact-card {
79110 margin : 0 ;
80111 padding : 3vh 1vw 3vh ;
81112 width : 100% ;
82- float :left ;
113+ float : left ;
83114 box-sizing : border-box ;
84115 padding-bottom : 20vh ;
85116}
102133 pointer-events : none ;
103134 border : solid transparent ;
104135 border-width : 12px ;
105- border-color : rgba (218 ,77 ,60 ,0 );
136+ border-color : rgba (218 , 77 , 60 , 0 );
106137 border-top-color : #444 ;
107138}
108-
109139 </style >
0 commit comments