diff --git a/src/grants/pages/grant-list-page.tsx b/src/grants/pages/grant-list-page.tsx index 364d9605..2e92a09c 100644 --- a/src/grants/pages/grant-list-page.tsx +++ b/src/grants/pages/grant-list-page.tsx @@ -45,7 +45,7 @@ export const GrantListPage = async () => { return ( -
+

Grant Programs

diff --git a/src/search/components/search-category.tsx b/src/search/components/search-category.tsx index f51c08f9..d0a38469 100644 --- a/src/search/components/search-category.tsx +++ b/src/search/components/search-category.tsx @@ -22,7 +22,7 @@ const highlightText = (text: string, query: string): React.ReactNode => {
{parts.map((part, index) => regex.test(part) ? ( - + {part} ) : ( @@ -48,7 +48,7 @@ export const SearchCategory = ({ label, url, query }: Props) => { className="" endContent={} > - {highlightText(label, query)} + {highlightText(label, query)} ); }; diff --git a/src/search/components/search-result.tsx b/src/search/components/search-result.tsx index 86051ea6..e8d69462 100644 --- a/src/search/components/search-result.tsx +++ b/src/search/components/search-result.tsx @@ -9,8 +9,8 @@ export const SearchResultLayout = ({ categories: React.ReactNode; }) => { return ( -
- {label} +
+ {label}
{categories}
); @@ -23,7 +23,7 @@ interface Props extends SearchResultDto { export const SearchResult = ({ query, title, categories }: Props) => { return ( {title}} + label={{title}} categories={ <> {categories.map(({ label, url }) => ( diff --git a/src/search/components/search-results.tsx b/src/search/components/search-results.tsx index 39c6e04c..6f6cad80 100644 --- a/src/search/components/search-results.tsx +++ b/src/search/components/search-results.tsx @@ -14,7 +14,7 @@ export const SearchResults = () => { if (!data) return ; return ( -
+
{data.map(({ title: label, categories }) => ( diff --git a/src/search/pages/search-page.tsx b/src/search/pages/search-page.tsx index 78fefcda..bcfb0fb8 100644 --- a/src/search/pages/search-page.tsx +++ b/src/search/pages/search-page.tsx @@ -3,9 +3,11 @@ import { SearchResults } from '@/search/components/search-results'; export const SearchPage = () => { return ( -
- - +
+
+ + +
); };