Skip to content

Commit 456a51e

Browse files
committed
Header design changes
1 parent 9f238c4 commit 456a51e

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

src/App.vue

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="md:flex items-center justify-between px-4 py-5">
55
<div class="flex justify-between items-center">
66
<div class="text-2xl font-bold text-gray-800 md:text-3xl">
7-
<a href="#">Brand</a>
7+
<router-link to="/">Logo</router-link>
88
</div>
99
<div class="md:hidden">
1010
<button type="button" class="block text-gray-800 hover:text-gray-700 focus:text-gray-700 focus:outline-none">
@@ -15,13 +15,14 @@
1515
</button>
1616
</div>
1717
</div>
18-
<div class="flex flex-col md:flex-row md:block -mx-2">
19-
<router-link to="/" class="text-lg font-medium text-gray-800 md:mx-2 uppercase">Home</router-link>
20-
<router-link to="about" class="text-lg font-medium text-gray-800 md:mx-2 uppercase">About</router-link>
21-
</div>
22-
<div>
23-
<a href="#"><i data-feather="moon" class="text-gray-500"></i></a>
18+
<div class="flex justify-between items-center flex-col md:flex-row">
19+
<router-link to="/projects" class="text-lg font-medium text-gray-400 uppercase md:mx-6 mb-2 sm:py-2">Projects</router-link>
20+
<router-link to="/about" class="text-lg font-medium text-gray-400 uppercase md:mx-2 mb-2 sm:py-2">About Me</router-link>
21+
<div class="sm:-mt-3 sm:ml-10 bg-gray-50 hover:bg-gray-100 p-2 rounded-lg shadow-sm hover:shadow-md cursor-pointer">
22+
<a href="#"><i data-feather="moon" class="text-gray-500"></i></a>
23+
</div>
2424
</div>
25+
2526
</div>
2627
</nav>
2728
<!-- Header End -->
@@ -34,15 +35,15 @@
3435
<div class="container mx-auto bg-white px-4">
3536
<div class="md:flex items-center justify-between py-5">
3637
<div class="flex justify-between items-center">
37-
<div class="text-lg text-gray-800">
38-
&copy; Copyright 2021
38+
<div class="text-lg text-gray-500">
39+
&copy; Copyright 2021. <a href="https://stoman.me" target="__blank" class="text-gray-600 font-medium">Stoman</a>
3940
</div>
4041
</div>
4142
<div>
4243
<ul class="flex gap-4">
43-
<li class="text-gray-500 cursor-pointer"><i data-feather="twitter"></i></li>
44-
<li class="text-gray-500 cursor-pointer"><i data-feather="instagram"></i></li>
45-
<li class="text-gray-500 cursor-pointer"><i data-feather="github"></i></li>
44+
<li class="text-gray-400 hover:text-green-500 cursor-pointer"><i data-feather="twitter"></i></li>
45+
<li class="text-gray-400 hover:text-green-500 cursor-pointer"><i data-feather="instagram"></i></li>
46+
<li class="text-gray-400 hover:text-green-500 cursor-pointer"><i data-feather="github"></i></li>
4647
</ul>
4748
</div>
4849
</div>
@@ -73,6 +74,6 @@
7374
}
7475
7576
#nav a.router-link-exact-active {
76-
color: #42b983;
77+
@apply text-gray-700;
7778
}
7879
</style>

0 commit comments

Comments
 (0)