Skip to content

Commit

Permalink
updated the scroll-to-top
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshdev098 committed Oct 16, 2024
1 parent 2bfa75f commit b8ad852
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
19 changes: 3 additions & 16 deletions login-system/dbServer.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
const express = require("express");
const path = require("path");
const { upload, save, disp } = require(path.resolve(
__dirname,
"../file_upload/upload.js"
));
const { upload, save, disp } = require(path.resolve(__dirname,"../file_upload/upload.js"));
const { stk_signup, stk_signin } = require("../stakeholder/login");
const { info, check } = require("../file_upload/form_db");
const { signup, signin } = require("./login");
const rateLimiter = require("express-rate-limit");
const {
approve,
uploadedpapers,
displaydetail,
} = require("../stakeholder/stk_approval");
const { approve, uploadedpapers, displaydetail } = require("../stakeholder/stk_approval");
const { display } = require("../backend/profile");
const { stk_display } = require("../backend/stk_profile");
const { logout } = require("./logout");
const { setcriteria, evaluate } = require("../stakeholder/evaluation");
const { allot, DisplayPapers } = require("../stakeholder/allotment");
const {
Dis_fac_papers,
fac_signup,
fac_login,
dis_mail,
giverating,
} = require("../stakeholder/faculty");
const { Dis_fac_papers, fac_signup, fac_login, dis_mail, giverating } = require("../stakeholder/faculty");
const app = express();

const globalLimit = rateLimiter({
Expand Down
6 changes: 3 additions & 3 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1434,15 +1434,15 @@ color:#ed8309;

#scrollToTop {
position: fixed;
bottom: 20px;
bottom: 10%;
right: 20px;
z-index: 99;
background-color: orange;
color: white;
border: none;
padding: 20px;
padding: 14px 20px;
border-radius: 50%;
font-size: 18px;
font-size: 19px;
cursor: pointer;
transition: all 0.3s ease;
}
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ <h4 id="custom-follow-heading">Follow Us</h4>
</div>
</div>
</footer>
<button id="scrollToTop" title="Go to top" style="display: none;">
<button id="scrollToTop" title="Back to top">
<i class="fa-solid fa-arrow-up"></i>
</button>

Expand Down

0 comments on commit b8ad852

Please sign in to comment.