Skip to content

Commit

Permalink
add sidebar message
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Sep 11, 2024
1 parent ceb038f commit 735341e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
24 changes: 17 additions & 7 deletions src/components/routes/platoons/PlatoonSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,23 @@ function Search(): React.ReactElement {
</select>
{/* <button className="bigButtonSecondary" type="submit">{t("serverSearch.search")} <RightArrow/></button> */}
</div>
<h1
style={{
marginTop: "2rem",
}}
>
{t("platoonSearch.results")}
</h1>
<div className="align">
<h1
style={{
marginTop: "2rem",
}}
>
{t("platoonSearch.results")}
</h1>
<p
style={{
marginTop: "2rem",
}}
className={styles.altDescription}
>
{t("platoonSearch.sidebarInfo")}
</p>
</div>
<Results
loading={loading}
platoons={platoons}
Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"search": "Search",
"searchPlaceholder": "Search for platoon by name...",
"results": "Search results",
"sidebarInfo": "Clicking a result will display on the side if it can fit on your monitor",
"resultNotFound": "No results found. To search for platoons, you need a minimum of 3 characters."
},
"stats": {
Expand Down

0 comments on commit 735341e

Please sign in to comment.