-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Related Issue CLOSES #328 ## Description As Mentioned in the Issue, This is a complete revamp of the Landing Page UI, I have developed it to a more modern look. Here's Everything I have done: 1. Made the site fully responsive on all devices and viewports 2. Added a New NavBar: - Removed The Previous One and Made This One - Fixed the Logo - Added Buttons Instead Of Direct Links - Responsive - Supports Login and Display Of Prompt after Login 3. Changed the background to give it a more professional look 4. Removed code related to background animations. 5. Added Bulma Framework CSS to uniformly style elements 6. Moved Much JavaScript and CSS from `index.html` to newly created `index.js` and `index.js` 7. Removed Loader. (And the JS Code associated with it) 8. Improved the Headings and The SearchBox, they now use Bulma Framework stylings 9. Implemented the already present Fonts, that were previously not being used. 10. Implemented an actual Table instead of the divs 11. Made the table dynamic, now a function `fillTable()` creates the table taking the data from a JS Array. 12. Implemented a New Footer. 13. Implemented Login in the New NavBar. ## Type of PR - [ X] Feature enhancement ## Screenshots / Videos (if applicable) Now It Looks Like This: ![image](https://github.com/user-attachments/assets/a40c7ab0-40c4-4576-83cd-bd8807ae4d1b) ![image](https://github.com/user-attachments/assets/45523d96-dcb0-40d0-99a5-855311f813d2) ![image](https://github.com/user-attachments/assets/b61bcf2e-ecec-4a5e-8770-cea49b269d8b) ## Checklist - [X] I have performed a self-review of my code. - [X ] I have read and followed the Contribution Guidelines. - [X] I have tested the changes thoroughly before submitting this pull request. - [X] I have provided relevant issue numbers, screenshots, and videos after making the changes. - [X] I have commented my code, particularly in hard-to-understand areas. - [X] I have followed the code style guidelines of this project. - [X] I have checked for any existing open issues that my pull request may address. - [X] I have ensured that my changes do not break any existing functionality. - [X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently. - [X] I have read the resources for guidance listed below. - [X] I have followed security best practices in my code changes. ## Additional Context phew, this took some time but I'm glad I could revamp your page, it's a good project, happy to contribute ;).
- Loading branch information
Showing
6 changed files
with
219 additions
and
1,323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
document.addEventListener('DOMContentLoaded', () => { | ||
|
||
// Get all "navbar-burger" elements | ||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0); | ||
|
||
// Add a click event on each of them | ||
$navbarBurgers.forEach( el => { | ||
el.addEventListener('click', () => { | ||
// Get the target from the "data-target" attribute | ||
const target = el.dataset.target; | ||
const $target = document.getElementById("navbar-menu"); | ||
|
||
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu" | ||
el.classList.toggle('is-active'); | ||
$target.classList.toggle('is-active'); | ||
|
||
}); | ||
}); | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.