Skip to content
New issue

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

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

Already on GitHub? # to your account

Improved the changes made to resolve issue #7 #18

Merged
merged 2 commits into from
Jun 11, 2024
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: 6 additions & 5 deletions src/components/Homeque.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,22 @@ const Homeque = () => {
<div className="flex justify-between items-center w-full max-w-xl mb-8">
<Link
to={`/api/chapter/${chap}/shlok/${ver - 1}`}
className="transform rotate-180"
>
className="transform rotate-180">
<img
className="w-8 h-6 sm:w-10 sm:h-8 opacity-20 hover:opacity-50 duration-300 cursor-pointer"
className="w-10 h-8 sm:w-10 sm:h-8 opacity-45 hover:opacity-100 duration-300 cursor-pointer"
onClick={handlePrevious}
src={icon}
alt="Previous"
title="Previous Shlok"
/>
</Link>
<Link to={`/api/chapter/${chap}/shlok/${ver + 1}`}>
<img
className="w-8 h-6 sm:w-10 sm:h-8 opacity-20 hover:opacity-50 duration-300 cursor-pointer"
className="w-10 h-8 sm:w-10 sm:h-8 opacity-45 hover:opacity-100 duration-300 cursor-pointer"
onClick={handleNext}
src={icon}
alt="Next"
src={icon}
title="Next Shlok"
/>
</Link>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
width: 100%;
position: fixed;
z-index: 99;
color: white;
color:white;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -27,7 +27,7 @@
#welcome_container {
background-color: #fff;
border: 1px solid #ddd;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px #0000001a;
padding: 2rem;
border-radius: 8px;
margin: 2rem 0;
Expand Down