Added small icons
This commit is contained in:
@@ -7,21 +7,31 @@ import mockupPreview from '../../assets/projects/mockupPreview.png';
|
||||
import vkmutePreview from '../../assets/projects/vkmutePreview.png';
|
||||
import musanthropePreview from '../../assets/projects/musanthropePreview.png';
|
||||
|
||||
import {
|
||||
Icon, npm, extension, pwa, github
|
||||
} from './iconList';
|
||||
|
||||
export class Project {
|
||||
name: string;
|
||||
preview: string;
|
||||
link: string;
|
||||
repo?: string;
|
||||
npm?: string;
|
||||
descriptionSlug: string;
|
||||
previewStyle?: string;
|
||||
halfWidth?: boolean;
|
||||
icons?: Icon[];
|
||||
|
||||
constructor(project: Project) {
|
||||
this.name = project.name
|
||||
this.preview = project.preview
|
||||
this.link = project.link
|
||||
this.repo = project.repo
|
||||
this.npm = project.npm
|
||||
this.descriptionSlug = project.descriptionSlug
|
||||
this.previewStyle = project.previewStyle
|
||||
this.halfWidth = project.halfWidth
|
||||
this.icons = project.icons
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,21 +46,28 @@ export default [
|
||||
name: 'Worktime',
|
||||
preview: worktimePreview,
|
||||
link: 'https://anatolykopyl.github.io/worktime',
|
||||
descriptionSlug: 'worktime_desc'
|
||||
repo: 'https://github.com/anatolykopyl/worktime',
|
||||
descriptionSlug: 'worktime_desc',
|
||||
icons: [ pwa, github ]
|
||||
}),
|
||||
new Project({
|
||||
name: 'VK Mute',
|
||||
preview: vkmutePreview,
|
||||
link: 'https://chrome.google.com/webstore/detail/vk-mute/mcnkfnjggkbenehgfelnnkklpkpjeibl',
|
||||
repo: 'https://github.com/anatolykopyl/vk-mute',
|
||||
descriptionSlug: 'vkmute_desc',
|
||||
halfWidth: true
|
||||
halfWidth: true,
|
||||
icons: [ extension, github ]
|
||||
}),
|
||||
new Project({
|
||||
name: 'Vue 3D Mockup',
|
||||
preview: mockupPreview,
|
||||
link: 'https://anatolykopyl.github.io/vue-three-d-mockup/',
|
||||
repo: 'https://github.com/anatolykopyl/vue-three-d-mockup',
|
||||
npm: 'https://www.npmjs.com/package/vue-three-d-mockup',
|
||||
descriptionSlug: 'mockup_desc',
|
||||
halfWidth: true,
|
||||
icons: [ npm, github ]
|
||||
// previewStyle: 'position: absolute; height: 50%;'
|
||||
}),
|
||||
new Project({
|
||||
|
||||
Reference in New Issue
Block a user