File tree Expand file tree Collapse file tree 9 files changed +88
-224
lines changed Expand file tree Collapse file tree 9 files changed +88
-224
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <!-- Banner Start -->
3
+ <section class =" flex flex-col items-center sm:flex-row justify-between" >
4
+ <div class =" w-full sm:w-1/3 text-left" >
5
+ <h1
6
+ class =" text-3xl sm:text-5xl text-center sm:text-left font-semibold text-gray-700 uppercase"
7
+ >
8
+ Hi, Iam Stoman
9
+ </h1 >
10
+ <p
11
+ class =" mt-4 text-2xml sm:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400"
12
+ >
13
+ A Full-Stack Developer & Design Enthusiast
14
+ </p >
15
+ <div class =" flex justify-center sm:block" >
16
+ <a
17
+ href =" #"
18
+ class =" flex justify-center items-center w-36 sm:w-48 mt-10 mb-6 sm:mb-0 text-lg border border-indigo-200 py-2.5 sm:py-3 shadow-lg rounded-xl bg-indigo-50 hover:bg-indigo-500 hover:text-white"
19
+ >
20
+ <i
21
+ data-feather =" arrow-down-circle"
22
+ class =" ml-0 sm:ml-1 mr-2 sm:mr-3 w-5 sm:w-6"
23
+ ></i >
24
+ <span class =" text-sm sm:text-lg" >Download CV</span ></a
25
+ >
26
+ </div >
27
+ </div >
28
+ <div class =" w-full sm:w-2/3 text-right" >
29
+ <img src =" @/assets/images/developer.svg" alt =" Developer" />
30
+ </div >
31
+ </section >
32
+ <!-- Banner End -->
33
+ </template >
34
+
35
+ <script >
36
+ import feather from ' feather-icons' ;
37
+
38
+ export default {
39
+ name: ' Home' ,
40
+ props: {
41
+ msg: String ,
42
+ },
43
+ data : () => {
44
+ return {};
45
+ },
46
+ mounted () {
47
+ feather .replace ();
48
+ },
49
+ updated () {
50
+ feather .replace ();
51
+ },
52
+ methods: {},
53
+ };
54
+ </script >
55
+
56
+ <style scoped></style >
Original file line number Diff line number Diff line change 29
29
<div class =" sm:ml-4 mt-3" >
30
30
<router-link
31
31
to =" /projects"
32
- class =" text-lg font-medium text-gray-400 uppercase md:mx-6 mb-2 sm:py-2"
32
+ class =" text-lg font-medium text-gray-500 md:mx-6 mb-2 sm:py-2"
33
33
>Projects</router-link
34
34
>
35
35
<router-link
36
36
to =" /about"
37
- class =" text-lg font-medium text-gray-400 uppercase md:mx-2 mb-2 sm:py-2"
37
+ class =" text-lg font-medium text-gray-500 md:mx-2 mb-2 sm:py-2"
38
38
>About Me</router-link
39
39
>
40
40
<router-link
41
41
to =" /contact"
42
- class =" text-lg font-medium text-gray-400 uppercase md:mx-2 mb-2 sm:py-2"
42
+ class =" text-lg font-medium text-gray-500 md:mx-2 mb-2 sm:py-2"
43
43
>Contact</router-link
44
44
>
45
45
</div >
46
46
</div >
47
47
<div class =" flex justify-between items-center flex-col md:flex-row" >
48
48
<div >
49
49
<button
50
- class =" text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5 uppercase "
50
+ class =" text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5"
51
51
>
52
52
Hire Me
53
53
</button >
@@ -81,6 +81,6 @@ export default {
81
81
82
82
<style scoped>
83
83
#nav a .router-link-exact-active {
84
- @apply text-gray- 700 ;
84
+ @apply text-gray- 900 ;
85
85
}
86
86
</style >
Original file line number Diff line number Diff line change 1
1
import { createRouter , createWebHistory } from 'vue-router' ;
2
- import Home from '../components /Home.vue' ;
2
+ import Home from '../views /Home.vue' ;
3
3
4
4
const routes = [
5
5
{
Original file line number Diff line number Diff line change 1
- <template >
2
- <div class =" about" >
3
- <h1 >This is an about page</h1 >
4
- </div >
5
- </template >
Original file line number Diff line number Diff line change
1
+
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" home" >
3
- <img alt =" Vue logo" src =" ../assets/logo.png" >
4
- <HelloWorld msg =" Welcome to Your Vue.js App" />
5
- </div >
2
+ <!-- Banner Start -->
3
+ <Banner />
4
+ <!-- Banner End -->
6
5
</template >
7
6
8
7
<script >
9
- // @ is an alias to /src
10
- import HelloWorld from ' @/components/HelloWorld.vue '
8
+ import Banner from ' @/components/home/Banner ' ;
9
+ import feather from ' feather-icons ' ;
11
10
12
11
export default {
13
- name: ' Home' ,
14
- components: {
15
- HelloWorld
16
- }
17
- }
12
+ name: ' Home' ,
13
+ components: {
14
+ Banner,
15
+ },
16
+ props: {
17
+ msg: String ,
18
+ },
19
+ data : () => {
20
+ return {};
21
+ },
22
+ mounted () {
23
+ feather .replace ();
24
+ },
25
+ updated () {
26
+ feather .replace ();
27
+ },
28
+ methods: {},
29
+ };
18
30
</script >
31
+
32
+ <style scoped></style >
You can’t perform that action at this time.
0 commit comments