Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/pages/app-store/AppDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
<v-layout>
<v-flex xs12 sm6 offset-sm3>
<v-card>
<v-card-media :src="appDetails.image" height="200px">
</v-card-media>
<v-flex xs6 sm6 md3 offset-xs3 offset-lg4>
<v-list-tile-avatar size="150px" style="width:100%">
<img :src="appDetails.image" alt="logo" style="width:150px" >
</v-list-tile-avatar>
</v-flex>
<v-card-title primary-title>
<div>
<h3 class="headline mb-0">{{appDetails.name}}</h3>
Expand Down
17 changes: 15 additions & 2 deletions src/pages/app-store/AppList.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<template>
<div>
<br>
<h4>{{this.categories.name}}</h4>
<blockquote>{{this.categories.Description}}</blockquote>
<v-layout row>
<v-flex xs12 sm10 offset-sm1>
<v-card>
<v-list two-lines>
<!-- <br> -->
<!-- <br> -->
<!-- <v-divider v-bind:inset="app.inset"></v-divider> -->
<v-list-tile :to="{ name: 'app-store-details', params: { appSlug: slug } }"
v-for="(app, slug) in allAppsByCategory" :key="app.name">
Expand All @@ -21,7 +23,6 @@
</v-list-tile-content>
<!-- <v-divider></v-divider> -->
<v-icon>keyboard_arrow_right</v-icon>

</v-list-tile>
<!-- <v-divider></v-divider> -->
</v-list>
Expand All @@ -35,19 +36,24 @@
// import apps from '../../services/app-store/apps';
import {mapGetters, mapActions} from 'vuex';

import appsCategory from '../../services/app-store/categories';

export default {
name: 'app-list',
created() {
this.fetchAppLists(this.categorySlug);
this.fetchCategories();
},
data() {
return {
apps: false,
categories: false,
};
},
watch: {
$route() {
this.fetchAppLists(this.categorySlug);
this.fetchCategories();
},
},
computed: {
Expand All @@ -65,6 +71,13 @@
...mapActions([
'fetchAppLists',
]),
fetchCategories() {
if (appsCategory.all()[this.categorySlug] != null) {
this.categories = appsCategory.all()[this.categorySlug];
} else {
this.categories = appsCategory.handPicked()[this.categorySlug];
}
},
},
};
</script>
1 change: 1 addition & 0 deletions src/pages/app-store/AppStore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
>
<img src="../../assets/logos/logo-type-dark-grey.svg" height="20px">
<v-spacer></v-spacer>

<v-text-field
placeholder="Search..."
single-line
Expand Down
18 changes: 18 additions & 0 deletions src/services/app-store/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ export default {
image: 'https://logo.clearbit.com/github.com?s=128',
},
},
social_media: {
facebook: {
name: 'Facebook',
image: 'https://logo.clearbit.com/facebook.com?s=128',
},
twitter: {
name: 'Twitter',
image: 'https://logo.clearbit.com/twitter.com?s=128',
},
whatsapp: {
name: 'Whatsapp',
image: 'https://logo.clearbit.com/whatsapp.com?s=128',
},
},
productivity: {
slack: {
name: 'Slack',
Expand All @@ -64,6 +78,10 @@ export default {
name: 'Giphy',
image: 'https://logo.clearbit.com/giphy.com?s=128',
},
tictactoe: {
name: 'Tic Tac Toe',
image: 'https://logo.clearbit.com/tictactoe.cat?s=128',
},
},
};
},
Expand Down
10 changes: 10 additions & 0 deletions src/services/app-store/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ export default {
featured: {
name: 'Featured',
icon: 'star',
Description: 'We’ve picked popular and useful apps to get you off to a running start. Connect your tools and services with Base so your team can stay coordinated, work faster, and keep conversations and context all in one place.',
},
popular: {
name: 'Popular',
icon: 'timeline',
Description: 'Here you can find the most popular app.',
},
};
},
Expand All @@ -16,14 +18,22 @@ export default {
productivity: {
name: 'Productivity Tools',
icon: 'work',
Description: 'Optimize your workday: Get updates, make to-do lists, host standups, and more, right from Base.',
},
developer_tools: {
name: 'Developer Tools',
icon: 'computer',
Description: 'Connect your development tools to Base and raise visibility into builds, errors, or anything else that needs your attention.',
},
fun: {
name: 'Fun',
icon: 'insert_emoticon',
Description: 'Add social media to Base, organize the lunch order, or find a new way for team members to connect. Apps in this category bring human connection to the work day.',
},
social_media: {
name: 'Social Media',
icon: 'public',
Description: 'Add social media to Base, organize the lunch order, or find a new way for team members to connect. Apps in this category bring human connection to the work day.',
},
};
},
Expand Down