Skip to content

Commit

Permalink
About.vue: add logos to tech list
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent 937ae02 commit 1a95fea
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 9 deletions.
Binary file added src/assets/img/express.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/node-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/ts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/vue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/img/vuetify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 50 additions & 8 deletions src/components/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,56 @@
If you discover any bugs or would like to have a feature being added, feel free to file an <a :href="data.meta.bugs.url" target="_blank">issue</a> or contribute to this project.
</p>
<h2 class="subheading">Technologies</h2>
<ul>
<li><ExternalLink href="https://vuejs.org" text="Vue.js"></ExternalLink></li>
<li><ExternalLink href="https://www.typescriptlang.org/" text="TypeScript"></ExternalLink></li>
<li><ExternalLink href="http://vuetifyjs.com" text="Vuetify"></ExternalLink></li>
<li><ExternalLink href="https://nodejs.org/" text="node.js"></ExternalLink></li>
<li><ExternalLink href="http://expressjs.com/" text="Express"></ExternalLink></li>
<li><ExternalLink href="https://github.com/axios/axios" text="Axios"></ExternalLink></li>
</ul>
<v-list>
<v-list-tile>
<v-list-tile-avatar>
<img :src="require('@/assets/img/vue.png')">
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="https://vuejs.org" text="Vue.js"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
<v-list-tile>
<v-list-tile-avatar>
<img :src="require('@/assets/img/ts.png')">
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="https://www.typescriptlang.org/" text="TypeScript"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
<v-list-tile>
<v-list-tile-avatar>
<img :src="require('@/assets/img/vuetify.svg')">
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="http://vuetifyjs.com" text="Vuetify"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
<v-list-tile>
<v-list-tile-avatar>
<img :src="require('@/assets/img/node-icon.png')">
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="https://nodejs.org/" text="node.js"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
<v-list-tile>
<v-list-tile-avatar>
<img :src="require('@/assets/img/express.png')">
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="http://expressjs.com/" text="Express"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
<v-list-tile>
<v-list-tile-avatar>
<v-icon>{{$vuetify.icons.transfer}}</v-icon>
</v-list-tile-avatar>
<v-list-tile-content>
<ExternalLink href="https://github.com/axios/axios" text="Axios"></ExternalLink>
</v-list-tile-content>
</v-list-tile>
</v-list>
<br>
<v-divider />
<p>
Expand Down
9 changes: 8 additions & 1 deletion src/components/ExternalLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
target="_blank"
:title="title"
>
<v-icon>{{icon || $vuetify.icons.arrowTopRight}}</v-icon>
<img :src="img" v-if="img">
<v-icon v-else>{{icon || $vuetify.icons.arrowTopRight}}</v-icon>
{{text || href}}
</a>
</template>
Expand All @@ -20,6 +21,7 @@ export default class ExternalLink extends Vue {
@Prop() private href!: string;
@Prop() private text?: string;
@Prop() private icon?: string;
@Prop() private img?: string;
}
</script>

Expand All @@ -30,4 +32,9 @@ export default class ExternalLink extends Vue {
line-height: inherit;
}
img {
width: auto;
height: 1em;
}
</style>
1 change: 1 addition & 0 deletions src/plugins/vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const icons = {
email: 'far fa-envelope',
home: 'fas fa-home',
upload: 'fas fa-upload',
transfer: 'fas fa-exchange-alt',
};

icons.keywords = icons.tags;
Expand Down

0 comments on commit 1a95fea

Please sign in to comment.