parent
8b32a3a831
commit
5b93bc42db
28 changed files with 126 additions and 164 deletions
@ -1,21 +1,19 @@ |
|||||||
--- |
--- |
||||||
import Icon from "../Icon.astro"; |
import Icon from '../Icon.astro'; |
||||||
--- |
--- |
||||||
|
|
||||||
<script src="./topics.js" /> |
<script src='./topics.js'></script> |
||||||
|
|
||||||
<div class="sm:-mb-[68px] mt-5 sm:mt-6 relative"> |
<div class='sm:-mb-[68px] mt-5 sm:mt-6 relative'> |
||||||
<input |
<input |
||||||
autofocus |
autofocus |
||||||
type="text" |
type='text' |
||||||
id="search-topic-input" |
id='search-topic-input' |
||||||
class="border border-gray-300 text-gray-900 text-sm sm:text-md rounded-md focus:ring-blue-500 focus:border-blue-500 block w-full px-2.5 sm:px-3 py-2" |
class='border border-gray-300 text-gray-900 text-sm sm:text-md rounded-md focus:ring-blue-500 focus:border-blue-500 block w-full px-2.5 sm:px-3 py-2' |
||||||
placeholder="Search for a topic" |
placeholder='Search for a topic' |
||||||
/> |
/> |
||||||
|
|
||||||
<span |
<span class='absolute top-1/2 -translate-y-1/2 right-4 flex items-center text-sm text-gray-500'> |
||||||
class="absolute top-1/2 -translate-y-1/2 right-4 flex items-center text-sm text-gray-500" |
<Icon icon='search' /> |
||||||
> |
|
||||||
<Icon icon="search" /> |
|
||||||
</span> |
</span> |
||||||
</div> |
</div> |
||||||
|
Loading…
Reference in new issue