Skip to content

Commit

Permalink
Modified Report Button (#365)
Browse files Browse the repository at this point in the history
Co-authored-by: Tamal Das <[email protected]>
  • Loading branch information
DhruvRathi2001 and tamalCodes authored Oct 5, 2022
1 parent babcedb commit ed89010
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,10 @@ const Footer = () => {
You can submit a report to us by filling a form below !
</p>
<div className="d-flex justify-content-center rounded mx-auto">
<button
<button
onClick={handleReportModalOpen}
className="btn btn-outline-danger p-3 d-flex align-items-center bg-light bg-opacity-25 text-black"
className=" btn-report p-3 d-flex align-items-center text-black"

>
<img
className="bottom-img"
Expand Down
12 changes: 12 additions & 0 deletions src/styles/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@
box-shadow: 0 2px 8px rgb(122, 122, 122);
}

.btn-report {
transition-duration: 0.4s;
border-radius: 5px;
border: none;
background-color: #9ac2fe;
}

.btn-report:hover {
transform: scale(1.2);
transition-duration: 0.5s;
}

.report img {
width: 20px;
}
Expand Down

1 comment on commit ed89010

@vercel
Copy link

@vercel vercel bot commented on ed89010 Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

milan – ./

milan-git-main-iamtamal.vercel.app
milan-iamtamal.vercel.app
milaan.vercel.app

Please sign in to comment.