Skip to content

Commit

Permalink
chore: search for api (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel authored Aug 7, 2024
1 parent 9e9bb1f commit 11af526
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Sidebar/SidebarList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export const SidebarList = component$(
<>
<input
class="input input-primary w-full my-2"
placeholder="Search here"
placeholder={sidebarMode === "reference"
? "Search for API..."
: "Search for Rguides..."}
bind:value={filter}
ref={searchInputRef}
onKeyPress$={(e) => {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const englishLocales = {
"home": "Home",
"playground": "Playground",
"guides": "Guides",
"refdoc": "Reference Docs",
"refdoc": "API Docs",
"blog": "Blog",
},
"guides": {
Expand Down

0 comments on commit 11af526

Please sign in to comment.