diff --git a/components/search/Blurb.tsx b/components/search/Blurb.tsx index e773e08..353fca1 100644 --- a/components/search/Blurb.tsx +++ b/components/search/Blurb.tsx @@ -8,54 +8,26 @@ interface BlurbProps { ) => CollegeObject[]; data: CollegeObject[] | undefined; filterValues: FilterValues; - searchUniversity: string; - searchGE: string; } -const SearchBlurb = (props: BlurbProps) => { - const { filterData, data, filterValues, searchUniversity, searchGE } = - props; +const Blurb = (props: BlurbProps) => { + const { filterData, data, filterValues } = props; return ( <> -
-
- Search Results -
-
+
+
We found{" "} {data ? filterData(data, filterValues).length : "x"}{" "} courses {" "} - that may articulate to{" "} - {searchUniversity} for{" "} - {`${searchGE?.split( - " ", - )[0]} Category ${searchGE?.split(" ")[1]}`}{" "} - based on{" "} - - Assist.org - {" "} - and{" "} - - CVC.edu - - . Please consult an academic advisor for further - information. + based on your search and filters. Please consult an + academic advisor for further information.
-
+ +
{"GE-Z's"} data was last updated on 3/7
@@ -66,4 +38,4 @@ const SearchBlurb = (props: BlurbProps) => { ); }; -export default SearchBlurb; +export default Blurb; diff --git a/components/search/Search.tsx b/components/search/Search.tsx index 91ed6a9..c074f9e 100644 --- a/components/search/Search.tsx +++ b/components/search/Search.tsx @@ -8,7 +8,7 @@ import SearchResults from "./SearchResults"; import ScrollToTop from "./ScrollToTop"; import { FaFilter } from "react-icons/fa6"; import { SearchFilterPage, SearchFilters } from "./Filters"; -import SearchBlurb from "./Blurb"; +import Blurb from "./Blurb"; import { filterData } from "./filter-utils"; import { UNIVERSITY_GE } from "@/lib/constants"; @@ -256,7 +256,7 @@ const Search = () => { courses={courses} /> ) : ( -
+
Search{" "} @@ -280,12 +280,10 @@ const Search = () => {
-