Skip to content

Commit 17df237

Browse files
authored
Merge pull request realstoman#10 from NangialaiStoman/ifix-home-illustration
Add developer illustration and more ui changes
2 parents 73f1247 + bc857fc commit 17df237

12 files changed

+706
-26
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ A simple portfolio starter theme built on the top of Vue.js V3 and TailwindCSS V
2828

2929
- The dark mode is highly inspired by [Gridsome Portfolio Starter by Andre Madarang](https://github.com/drehimself/gridsome-portfolio-starter). Since that project is based on Gridsome, I wanted to create a Vue.js and TailwindCSS portfolio with dark mode
3030
- Coming Soon [I'll be doing a screencast](https://www.youtube.com/c/StomanStudio). Soon I'll be uploading a video to my YouTube channel where I'll be going through the process of creating this portoflio
31-
- Illustrations from [unDraw](https://undraw.co)
31+
- Illustrations from [unDraw](https://undraw.co) and [Freepik](https://freepik.com)
3232
- Images from [Unsplash](https://unsplash.com)
33+
- I'll be constantly updating this repo as I'll be adding more sections to it
34+
- Feel free to use it as your own portfolio
3335
- Contributions are welcome
Binary file not shown.
Binary file not shown.

src/assets/images/developer-dark.svg

Lines changed: 341 additions & 0 deletions
Loading

src/assets/images/developer.svg

Lines changed: 341 additions & 0 deletions
Loading

src/components/home/Banner.vue

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- Banner start -->
33
<section
4-
class="flex flex-col sm:justify-between items-center sm:flex-row mt-12 sm:mt-20"
4+
class="flex flex-col sm:justify-between items-center sm:flex-row mt-12 sm:mt-2"
55
>
66
<div class="w-full sm:w-1/3 text-left">
77
<h1
@@ -28,7 +28,16 @@
2828
</div>
2929
</div>
3030
<div class="w-full sm:w-2/3 text-right float-right mt-8 sm:mt-0">
31-
<img src="@/assets/images/dev.svg" alt="Developer" />
31+
<img
32+
v-if="theme === 'light'"
33+
src="@/assets/images/developer.svg"
34+
alt="Developer"
35+
/>
36+
<img
37+
else
38+
src="@/assets/images/developer-dark.svg"
39+
alt="Developer"
40+
/>
3241
</div>
3342
</section>
3443
<!-- Banner end -->
@@ -39,11 +48,10 @@ import feather from 'feather-icons';
3948
4049
export default {
4150
name: 'Home',
42-
props: {
43-
msg: String,
44-
},
4551
data: () => {
46-
return {};
52+
return {
53+
theme: localStorage.getItem('theme'),
54+
};
4755
},
4856
mounted() {
4957
feather.replace();

src/components/project/ProjectsGrid.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ import feather from 'feather-icons';
169169
170170
export default {
171171
name: 'Projects',
172-
props: {
173-
msg: String,
174-
},
175172
mounted() {
176173
feather.replace();
177174
},

src/views/About.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ export default {
3131
AboutCounter,
3232
Clients,
3333
},
34-
props: {
35-
msg: String,
36-
},
3734
data: () => {
3835
return {};
3936
},

src/views/Home.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export default {
2121
Banner,
2222
ProjectsGrid,
2323
},
24-
props: {
25-
msg: String,
26-
},
2724
data: () => {
2825
return {};
2926
},

src/views/Projects.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ export default {
1515
components: {
1616
ProjectsGrid,
1717
},
18-
props: {
19-
msg: String,
20-
},
2118
data: () => {
2219
return {};
2320
},

src/views/SingleProject.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ export default {
3535
SingleProjectInfo,
3636
SingleProjectRelatedProjects,
3737
},
38-
props: {
39-
msg: String,
40-
},
4138
data: () => {
4239
return {};
4340
},

tailwind.config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
const colors = require('tailwindcss/colors');
22

33
module.exports = {
4-
// purge: [
5-
// './storage/framework/views/*.php',
6-
// './resources/views/**/*.blade.php',
7-
// ],
4+
purge: [
5+
'./src/**/*.vue',
6+
'./src/**/*.js',
7+
'./src/**/*.jsx',
8+
'./src/**/*.html',
9+
'./src/**/*.md',
10+
],
811
darkMode: 'class',
912
theme: {
1013
extend: {

0 commit comments

Comments
 (0)