Skip to content

Commit 2ce74ba

Browse files
committed
Title section responsive design
1 parent 0c1c12a commit 2ce74ba

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

src/components/Home.vue

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,28 @@
33
<!-- Banner Start -->
44
<section class="flex flex-col items-center sm:flex-row justify-between">
55
<div class="w-full sm:w-1/3 text-left">
6-
<h1 class="text-5xl font-semibold text-gray-700 uppercase">
6+
<h1
7+
class="text-3xl sm:text-5xl text-center sm:text-left font-semibold text-gray-700 uppercase"
8+
>
79
Hi, Iam Stoman
810
</h1>
911
<p
10-
class="mt-4 text-4xl font-semibold leading-none text-gray-400"
12+
class="mt-4 text-2xml sm:text-4xl text-center sm:text-left font-semibold leading-none text-gray-400"
1113
>
1214
A Full-Stack Developer & Design Enthusiast
1315
</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="arrow-down-circle" class="ml-4 mr-3"></i>
19-
<span>Download CV</span></a
20-
>
16+
<div class="flex justify-center sm:block">
17+
<a
18+
href="#"
19+
class="flex justify-center items-center w-36 sm:w-48 mt-10 mb-6 sm:mb-0 text-lg border border-indigo-500 py-2.5 sm:py-3 shadow-sm rounded-xl bg-indigo-50 hover:bg-indigo-500 hover:text-white"
20+
>
21+
<i
22+
data-feather="arrow-down-circle"
23+
class="ml-0 sm:ml-1 mr-2 sm:mr-3 w-5 sm:w-6"
24+
></i>
25+
<span class="text-sm sm:text-lg">Download CV</span></a
26+
>
27+
</div>
2128
</div>
2229
<div class="w-full sm:w-2/3 text-right">
2330
<img src="@/assets/images/developer.svg" alt="Developer" />

0 commit comments

Comments
 (0)