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

UI IMprovements #293

Merged
merged 1 commit into from
Oct 30, 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
11 changes: 7 additions & 4 deletions src/components/RestruarantCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ const RestruarantCards = (props) => {
aggregatedDiscountInfo,
} = resData;
return (
<div className="overflow-hidden shadow-md md:shadow-none py-4 px-4 md:py-2 hover:shadow-xl rounded flex flex-col gap-1 text-[0.7rem] text-[#535665] ">
<Link to={"/restaurants/" + id}>
<Link
className="shadow-md md:shadow-none hover:shadow-xl ease-in duration-200 rounded"
to={"/restaurants/" + id}
>
<div className="overflow-hidden py-4 px-4 md:py-2 flex flex-col gap-1 text-[0.7rem] text-[#535665] ">
<div className="relative">
<img
src={
Expand Down Expand Up @@ -82,8 +85,8 @@ const RestruarantCards = (props) => {
</span>
</div>
</div>
</Link>
</div>
</div>
</Link>
);
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/ScrollToTop.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const ScrollToTop = () => {
onClick={scrollToTop}
style={{ display: isVisible ? "block" : "none" }}
>
<div className="w-10 h-10 rounded-full relative cursor-pointer">
<div className="w-10 h-10 rounded-full relative cursor-pointer hover:shadow-xl ease-in duration-200 hover:scale-105">
<div
className="w-full h-full rounded-full"
style={{
Expand All @@ -58,6 +58,3 @@ const ScrollToTop = () => {
};

export default ScrollToTop;



Loading