Skip to content

Commit ad4f2c3

Browse files
Merge pull request #148 from sergiocarracedo/source
Remove jsvigo
2 parents 9277201 + c0e076f commit ad4f2c3

7 files changed

Lines changed: 2611 additions & 2650 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
``` bash
88
# install dependencies
9-
$ yarn install
9+
$ yarn
1010

1111
# rename .env.example to .env and edit using your own config
1212

components/VigotechMember.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
<div class="logo-wrapper">
55
<div class="logo-content">
66
<img
7-
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==
8-
"
7+
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
98
class="square-bg"
109
>
1110
<img

components/VigotechNextEvent.vue

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="vigotech-next-event">
2+
<article class="vigotech-next-event">
33
<h4>
44
<i class="fa fa-calendar" />
55
<span v-if="nextEventsGroups.length == 1">Vindeiro evento</span>
@@ -25,14 +25,20 @@
2525
<a :href="nextEventGroup.nextEvent.url">
2626
<h6>{{ nextEventGroup.name }}</h6>
2727
<h5>{{ nextEventGroup.nextEvent.title }}</h5>
28-
<strong>{{ eventDate(nextEventGroup.nextEvent.date) }}</strong>
29-
<span class="btn">
30-
Máis info
31-
</span>
28+
<footer>
29+
<strong>{{ eventDate(nextEventGroup.nextEvent.date) }}</strong>
30+
<span class="btn">
31+
Máis info
32+
</span>
33+
</footer>
34+
35+
<h6 v-if="nextEventGroup.nextEvent.location" class="vigotech-next-event__location">
36+
<i class="fa fa-map-pin"></i> {{ nextEventGroup.nextEvent.location }}
37+
</h6>
3238
</a>
3339
</div>
3440
</div>
35-
</div>
41+
</article>
3642
</template>
3743

3844
<script>

components/VigotechNextEventTip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
computed: {
3131
fullTitle () {
32-
return `${this.nextEvent.title}\n${moment(this.nextEvent.date).format('dddd, D MMMM YYYY HH:mm')}`
32+
return `${this.nextEvent.title}\n${moment(this.nextEvent.date).format('dddd, D MMMM YYYY HH:mm')}${this.nextEvent.location ? `\n${this.nextEvent.location}`: ''}`
3333
}
3434
}
3535
}

static/vigotech-events-schema.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@
1212
"properties": {
1313
"title": {
1414
"type": "string",
15-
"description": "Eventname"
15+
"description": "Event name"
1616
},
1717
"date": {
18-
"type": "numeric",
18+
"type": "number",
1919
"description": "Unix timestamp event datetime"
2020
},
2121
"url": {
2222
"type": "string",
2323
"description": "Event URL"
24+
},
25+
"location": {
26+
"type": "string",
27+
"description": "Where the event will take place"
2428
}
2529
}
2630
}

static/vigotech.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,25 +125,6 @@
125125
"facebook": "https://www.facebook.com/JoomlaVigo/"
126126
}
127127
},
128-
"jsvigo": {
129-
"name": "JavascriptVigo",
130-
"logo": "https://vigotech.org/images/jsvigo.png",
131-
"links": {
132-
"meetup": "https://www.meetup.com/es-ES/JavaScriptVigo/",
133-
"twitter": "http://twitter.com/JavaScriptVigo/",
134-
"youtube": "https://www.youtube.com/channel/UCjFplxtEs0XtunTn-n0LUtQ"
135-
},
136-
"events": {
137-
"type": "meetup",
138-
"meetupid": "JavaScriptVigo"
139-
},
140-
"videos": [
141-
{
142-
"type": "youtube",
143-
"channel_id": "UCjFplxtEs0XtunTn-n0LUtQ"
144-
}
145-
]
146-
},
147128
"phpvigo": {
148129
"name": "PHPVigo",
149130
"logo": "https://vigotech.org/images/php_vigo.jpg",

0 commit comments

Comments
 (0)