Skip to content

Commit f69dce9

Browse files
committed
Home banner titles and cv button
1 parent 44f455c commit f69dce9

File tree

2 files changed

+49
-38
lines changed

2 files changed

+49
-38
lines changed

src/components/Home.vue

Lines changed: 46 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,55 @@
11
<template>
2-
<div class="container mx-auto px-4 py-10">
3-
<!-- Banner Start -->
4-
<section class="flex flex-col sm:flex-row justify-between">
5-
<div class="w-full sm:w-1/2 text-left">
6-
<h1>Hi Iam Stoman</h1>
7-
</div>
8-
<div class="w-full sm:w-1/2 text-right">
9-
<img src="@/assets/images/developer.svg" alt="Developer">
10-
</div>
11-
</section>
12-
<!-- Banner End -->
2+
<div class="container mx-auto px-4 py-10">
3+
<!-- Banner Start -->
4+
<section class="flex flex-col items-center sm:flex-row justify-between">
5+
<div class="w-full sm:w-1/3 text-left">
6+
<h1 class="text-5xl font-semibold text-gray-700 uppercase">
7+
Hi, Iam Stoman
8+
</h1>
9+
<p
10+
class="mt-4 text-4xl font-semibold leading-none text-gray-400"
11+
>
12+
A Full-Stack Developer & Design Enthusiast
13+
</p>
14+
<a
15+
href="#"
16+
class="flex w-48 mt-10 text-lg border border-indigo-500 py-3 shadow-sm rounded-xl bg-indigo-50 hover:bg-indigo-500 hover:text-white"
17+
>
18+
<i data-feather="download" class="ml-4 mr-3"></i>
19+
<span>Download CV</span></a
20+
>
21+
</div>
22+
<div class="w-full sm:w-2/3 text-right">
23+
<img src="@/assets/images/developer.svg" alt="Developer" />
24+
</div>
25+
</section>
26+
<!-- Banner End -->
1327

14-
<!-- Home Poject Section Start -->
15-
<section>
16-
<div>
17-
<p>lorem10 </p>
18-
</div>
19-
</section>
20-
<!-- Home Poject Section End -->
21-
22-
</div>
28+
<!-- Home Poject Section Start -->
29+
<section>
30+
<div>
31+
<p>lorem10</p>
32+
</div>
33+
</section>
34+
<!-- Home Poject Section End -->
35+
</div>
2336
</template>
2437

2538
<script>
26-
import feather from 'feather-icons'
39+
import feather from 'feather-icons';
2740
2841
export default {
29-
name: 'Home',
30-
props: {
31-
msg: String
32-
},
33-
mounted() {
34-
feather.replace();
35-
},
36-
updated() {
37-
feather.replace();
38-
}
39-
}
42+
name: 'Home',
43+
props: {
44+
msg: String,
45+
},
46+
mounted() {
47+
feather.replace();
48+
},
49+
updated() {
50+
feather.replace();
51+
},
52+
};
4053
</script>
4154

42-
<style scoped>
43-
44-
</style>
55+
<style scoped></style>

src/components/shared/Header.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@
3737
<div class="flex justify-between items-center flex-col md:flex-row">
3838
<div>
3939
<button
40-
class="text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5"
40+
class="text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5 uppercase"
4141
>
4242
Hire Me
4343
</button>
4444
</div>
4545
<div
46-
class=" sm:ml-10 bg-gray-50 p-2 rounded-lg shadow-sm cursor-pointer"
46+
class=" sm:ml-7 bg-gray-50 p-2 rounded-lg shadow-sm cursor-pointer"
4747
>
4848
<a href="#"
4949
><i
5050
data-feather="moon"
51-
class="text-gray-600 hover:text-gray-400"
51+
class="text-gray-500 hover:text-gray-400"
5252
></i
5353
></a>
5454
</div>

0 commit comments

Comments
 (0)