-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ improve search functionality and ui
- Loading branch information
1 parent
dff6c0a
commit 5fbc9d9
Showing
4 changed files
with
127 additions
and
27 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...ite/similar-react-native-libraries/components/search_component/SearchComponent.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* SearchComponent.module.css */ | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: left; | ||
width: 100%; | ||
} | ||
|
||
.searchInput { | ||
width: 100%; | ||
max-width: 800px; | ||
padding: 1rem; | ||
font-size: 1.5rem; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
} | ||
|
||
.resultsContainer { | ||
width: 100%; | ||
max-width: 800px; | ||
margin-top: 1rem; | ||
} | ||
|
||
.resultItem { | ||
border-bottom: 1px solid #ddd; | ||
padding: 1rem 0; | ||
} | ||
|
||
.noResultsSpace { | ||
margin-top: 2rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
website/similar-react-native-libraries/docs/getting-started.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* getting-started.module.css */ | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
justify-content: space-between; | ||
} | ||
|
||
.searchContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: center; | ||
flex-grow: 1; | ||
justify-content: center; | ||
padding: 2rem; | ||
} | ||
|
||
.searchContainer h1 { | ||
font-size: 2rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.searchContainer input[type="text"] { | ||
width: 100%; | ||
max-width: 1000px; | ||
/* Increase the max-width to make the input field wider */ | ||
padding: 1.5rem; | ||
/* Increase the padding for better visibility */ | ||
font-size: 1.5rem; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
} | ||
|
||
.footer { | ||
text-align: center; | ||
margin-top: 2rem; | ||
padding: 2rem; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.footer h2 { | ||
font-size: 1.2rem; | ||
} | ||
|
||
.footer p { | ||
font-size: 0.9rem; | ||
} | ||
|
||
.footer a { | ||
color: #0070f3; | ||
text-decoration: none; | ||
} | ||
|
||
.footer a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.noResultsSpace { | ||
margin-top: 2rem; | ||
} |