Skip to content

Commit d33940e

Browse files
committed
Create projects component BP
1 parent 082af38 commit d33940e

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

src/components/ProjectSingle.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<template>
2+
<div></div>
3+
</template>
4+
5+
<script>
6+
export default {};
7+
</script>
8+
9+
<style lang="scss" scoped></style>

src/components/project/ProjectsGrid.vue renamed to src/components/Projects.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,37 +71,37 @@ export default {
7171
id: 1,
7272
title: 'Google Health Platform',
7373
category: 'Wen Application',
74-
img: require('../../assets/images/web-project-2.jpg'),
74+
img: require('@/assets/images/web-project-2.jpg'),
7575
},
7676
{
7777
id: 2,
7878
title: 'Pheonix Digital Agenncy',
7979
category: 'Mobile Application',
80-
img: require('../../assets/images/mobile-project-2.jpg'),
80+
img: require('@/assets/images/mobile-project-2.jpg'),
8181
},
8282
{
8383
id: 3,
8484
title: 'Project Management UI',
8585
category: 'UI / Frontend',
86-
img: require('../../assets/images/ui-project-1.jpg'),
86+
img: require('@/assets/images/ui-project-1.jpg'),
8787
},
8888
{
8989
id: 4,
9090
title: 'Cloud Storage Platform',
9191
category: 'UI / Frontend',
92-
img: require('../../assets/images/ui-project-2.jpg'),
92+
img: require('@/assets/images/ui-project-2.jpg'),
9393
},
9494
{
9595
id: 5,
9696
title: 'Kabul Social App',
9797
category: 'Mobile Application',
98-
img: require('../../assets/images/mobile-project-1.jpg'),
98+
img: require('@/assets/images/mobile-project-1.jpg'),
9999
},
100100
{
101101
id: 6,
102102
title: 'Apple Design System',
103103
category: 'Web Application',
104-
img: require('../../assets/images/web-project-1.jpg'),
104+
img: require('@/assets/images/web-project-1.jpg'),
105105
},
106106
],
107107
// publicPath: process.env.BASE_URL,

src/views/Home.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
<!-- Banner snd -->
66

77
<!-- Projects start -->
8-
<ProjectsGrid />
8+
<Projects />
99
<!-- Projects end -->
1010
</div>
1111
</template>
1212

1313
<script>
14-
import AppBanner from '@/components/AppBanner';
15-
import ProjectsGrid from '@/components/project/ProjectsGrid';
1614
import feather from 'feather-icons';
15+
import AppBanner from '@/components/AppBanner';
16+
import Projects from '../components/Projects.vue';
1717
1818
export default {
1919
name: 'Home',
2020
components: {
2121
AppBanner,
22-
ProjectsGrid,
22+
Projects,
2323
},
2424
data: () => {
2525
return {};

src/views/Projects.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<template>
22
<div class="container mx-auto">
33
<!-- Projects start -->
4-
<ProjectsGrid />
4+
<Projects />
55
<!-- Projects end -->
66
</div>
77
</template>
88

99
<script>
10-
import ProjectsGrid from '@/components/project/ProjectsGrid';
1110
import feather from 'feather-icons';
11+
import Projects from '../components/Projects.vue';
1212
1313
export default {
1414
name: 'Projects',
1515
components: {
16-
ProjectsGrid,
16+
Projects,
1717
},
1818
data: () => {
1919
return {};

0 commit comments

Comments
 (0)