Skip to content

Commit 682c4d4

Browse files
committed
added the search component
1 parent fa447b3 commit 682c4d4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/components/shared/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<router-link
7777
to="/blog"
7878
class="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light md:mx-2 mb-2 sm:py-3"
79-
>Blog</router-link
79+
>Search</router-link
8080
>
8181
</div>
8282
<div

src/views/Blog.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<template>
22
<div>
3-
<h1>Blog Coming Soon...</h1>
3+
<div class="flex items-center justify-center ">
4+
<div class="flex border-2 border-gray-200 rounded">
5+
<input type="text" class="px-4 py-2 w-80" placeholder="Search Todo...">
6+
<button class="px-4 text-white bg-gray-600 border-l ">
7+
Search
8+
</button>
9+
</div>
10+
</div>
411
</div>
512
</template>
613

0 commit comments

Comments
 (0)