Skip to content

Commit 7607910

Browse files
feat(home): add links ✨
1 parent bbe565e commit 7607910

File tree

3 files changed

+68
-2
lines changed

3 files changed

+68
-2
lines changed

src/config/defaults/development.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,31 @@ module.exports = {
139139
title: 'Contact Us',
140140
mail: 'mailto:pierre@weareopensource.me',
141141
},
142+
links: [
143+
{
144+
title: 'Useful',
145+
items: [{
146+
label: 'Blog',
147+
icon: 'fa-rss',
148+
url: 'https://weareopensource.me',
149+
}],
150+
},
151+
{
152+
title: 'About',
153+
items: [{
154+
label: 'GDPR / RGPD',
155+
icon: 'fa-lock',
156+
url: 'https://weareopensource.me',
157+
}],
158+
},
159+
{
160+
title: 'Others',
161+
items: [{
162+
label: 'Twitter',
163+
icon: 'fab fa-twitter',
164+
url: 'https://weareopensource.me',
165+
}],
166+
},
167+
],
142168
},
143169
};

src/modules/_core/components/core.footer.component.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="flex-grow-1"></div>
77
<div>
88
&copy; 2019
9-
<a href="https://weareopensource.me">We Are Open Source</a>
9+
<a href="https://weareopensource.me" style="color:white; text-decoration:none;">We Are Open Source</a>
1010
</div>
1111
</v-footer>
1212
</template>

src/modules/home/views/home.view.vue

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
md="7"
4848
lg="6"
4949
xl="5"
50-
style="bottom: 15%; position: absolute; opacity:75%;"
50+
style="bottom: 10%; position: absolute; opacity:75%;"
5151
data-aos="fade-up"
5252
v-if="config.home.subscriptions"
5353
>
@@ -226,6 +226,46 @@
226226
</v-theme-provider>
227227
</v-container>
228228
</section>
229+
230+
<section
231+
id="features"
232+
class="py-12"
233+
:style="{ background: config.vuetify.theme.themes[theme].surface }"
234+
v-if="config.home.links.length > 0"
235+
>
236+
<v-container>
237+
<v-row>
238+
<v-col
239+
v-for="({ items, title }, i) in config.home.links"
240+
:key="i"
241+
cols="12"
242+
md="4"
243+
>
244+
<v-card :flat="config.vuetify.theme.flat">
245+
<v-card-title
246+
class="justify-center text--secondary"
247+
v-text="title"
248+
></v-card-title>
249+
<v-list dense>
250+
<v-list-item-group color="primary">
251+
<v-list-item
252+
v-for="(item, i) in items"
253+
:key="i"
254+
>
255+
<v-list-item-content>
256+
<v-list-item-title class="text-center">
257+
<v-icon class="pr-2" small>{{ item.icon }}</v-icon> {{item.label}}
258+
</v-list-item-title>
259+
</v-list-item-content>
260+
</v-list-item>
261+
</v-list-item-group>
262+
</v-list>
263+
</v-card>
264+
</v-col>
265+
</v-row>
266+
</v-container>
267+
</section>
268+
229269
</div>
230270
</template>
231271

0 commit comments

Comments
 (0)