Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new search graphic #376

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed site/public/searching.png
Binary file not shown.
Binary file added site/src/asset/searching.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion site/src/component/SearchPopup/SearchPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import "./SearchPopup.scss";
import GradeDist from "../GradeDist/GradeDist";
import Button from "react-bootstrap/Button";
import Carousel from "react-multi-carousel";
import searching from '../../asset/searching.webp'

import { useAppSelector } from "../../store/hooks";
import { selectCourse, selectProfessor } from "../../store/slices/popupSlice";
Expand Down Expand Up @@ -44,7 +45,7 @@ const SearchPopup: FC<SearchPopupProps> = (props) => {
return (
<div className="search-popup">
<div className="search-popup-missing">
<img style={{ width: "100%" }} src="/searching.png" alt="searching" />
<img style={{ width: "80%" }} src={searching} alt="searching" />
<p>Click on a {props.searchType} card to view more information!</p>
</div>
</div>
Expand Down