Skip to content

Commit d0ca4e9

Browse files
authored
Merge pull request #115 from aimanaisha/development
updated contacts
2 parents f547693 + 829d908 commit d0ca4e9

File tree

13 files changed

+139
-2578
lines changed

13 files changed

+139
-2578
lines changed

package-lock.json

Lines changed: 53 additions & 1876 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"connect-history-api-fallback": "^1.6.0",
1919
"express": "^4.17.1",
2020
"moment": "^2.27.0",
21-
"sass": "^1.26.10",
21+
"sass": "^1.55.0",
2222
"vue": "^2.6.11",
2323
"vue-carousel": "^0.10.0",
2424
"vue-disqus": "^3.0.5",
@@ -55,7 +55,6 @@
5555
"friendly-errors-webpack-plugin": "^1.6.1",
5656
"html-webpack-plugin": "^2.30.1",
5757
"node-notifier": "^5.4.3",
58-
"node-sass": "^4.14.1",
5958
"optimize-css-assets-webpack-plugin": "^3.2.1",
6059
"ora": "^1.2.0",
6160
"portfinder": "^1.0.26",

src/components/Alumni.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export default {
8585
common.getAlumni()
8686
.then(response => {
8787
const profiles = response.data
88-
console.log(profiles)
8988
profiles.forEach((member) => {
9089
if (member.image === null) { member.image = 'static/images/Linux-Avatar.png' }
9190
this.categorise(member)

src/components/AnimateNumber.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export default {
2222
},
2323
2424
ready: function () {
25-
console.log(this.number)
2625
this.displayNumber = this.number ? this.number : 0
2726
},
2827

src/components/Blog.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export default {
4848
this.blog.sort(function (a, b) { return new Date(b.date_to_show) - new Date(a.date_to_show) })
4949
this.recents = [...this.blog.slice(0, 3)]
5050
this.blog.splice(0, 3)
51-
console.log(this.blog)
5251
this.$emit('hideloader', true)
5352
this.$emit('hideloader', true)
5453
this.$emit('hideloader', true)

src/components/ContactUs.vue

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,36 @@
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>
@@ -33,7 +44,7 @@
3344
</div>
3445
</template>
3546

36-
<script>
47+
<!-- <script>
3748
export 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-
5384
h2 {
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 {
@@ -79,7 +110,7 @@ h2 {
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
}
@@ -102,8 +133,7 @@ h2 {
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>

src/components/Events.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ export default {
222222
this.featuredEvents.push(event)
223223
}
224224
})
225-
console.log(this.featuredEvents)
226225
}
227226
}
228227
}

src/components/Home.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export default {
6868
.then(response => {
6969
this.events = response.data
7070
this.events = this.events.filter(event => event.featured)
71-
console.log(this.events)
7271
this.stopLoader()
7372
})
7473
.catch(e => {

src/components/Post.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export default {
3636
common.getPost(this.$route.query.id)
3737
.then(response => {
3838
this.post = response.data
39-
console.log(this.post)
4039
this.$emit('hideloader', true)
4140
this.$emit('hideloader', true)
4241
this.$emit('hideloader', true)

src/components/Team.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export default {
8686
common.getMembers()
8787
.then(response => {
8888
const profiles = response.data
89-
console.log(profiles)
9089
profiles.forEach((member) => {
9190
if (member.image === null) { member.image = 'static/images/Linux-Avatar.png' }
9291
this.categorise(member)

0 commit comments

Comments
 (0)