-
Notifications
You must be signed in to change notification settings - Fork 2
feat: π Complete UI Overhaul - Glassmorphism, Dark Mode & Interactive Effects #1
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
Open
Ziqian-Huang0607
wants to merge
1
commit into
Drive-for-Java:main
Choose a base branch
from
Ziqian-Huang0607:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,146 +1,122 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <html lang="en" data-theme="dark"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <title>Drive For Java</title> | ||
|
|
||
| <!-- CSS --> | ||
| <link rel="stylesheet" href="style.css"> | ||
|
|
||
| <!-- AOS Animations --> | ||
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <!-- Theme Toggle --> | ||
| <button id="theme-toggle" class="theme-toggle-btn" aria-label="Toggle Theme"> | ||
| <!-- Sun Icon --> | ||
| <svg class="sun-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg> | ||
| <!-- Moon Icon --> | ||
| <svg class="moon-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg> | ||
| </button> | ||
|
|
||
| <!-- Hero Section --> | ||
| <section id="hero"> | ||
| <div id="particles-js"></div> | ||
| <div class="hero-content" data-aos="zoom-in" data-aos-duration="1200"> | ||
| <img src="https://github.com/Drive-for-Java.png" alt="Drive For Java Logo" class="logo"> | ||
| <div class="logo-container"> | ||
| <img src="https://github.com/Drive-for-Java.png" alt="Drive For Java Logo" class="logo"> | ||
| </div> | ||
| <h1>Drive For Java</h1> | ||
| <p class="tagline">Connect Β· Code Β· Collaborate</p> | ||
| <a href="#bio" class="cta-btn">Explore More</a> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- Bio Section --> | ||
| <section id="bio" data-aos="fade-up"> | ||
| <h2>About Us</h2> | ||
| <p> | ||
| Drive For Java is a passionate global community dedicated to empowering developers. | ||
| Our mission is simple: to connect learners and professionals, to share knowledge, and to build | ||
| powerful projects together. | ||
| </p> | ||
| <p> | ||
| Beyond code, we foster meaningful collaboration and mentorship, ensuring that everyone | ||
| has the opportunity to grow their skills. | ||
| Whether you are a beginner eager to contribute or a seasoned developer looking to | ||
| collaborate on advanced projects β this is your home. | ||
| </p> | ||
| <p> | ||
| At <b>Drive For Java</b>, collaboration is not just encouraged, it is celebrated. | ||
| Together, weβre creating innovative tools, open-source repositories, and a | ||
| supportive network that inspires future generations of developers. | ||
| </p> | ||
| </section> | ||
| <!-- Main Content Wrapper --> | ||
| <main class="content-wrapper"> | ||
|
|
||
| <!-- Code of Conduct Section --> | ||
| <section id="coc" data-aos="fade-up"> | ||
| <h2>Code of Conduct</h2> | ||
| <p> | ||
| To ensure a welcoming and inclusive environment, we ask all members of our community | ||
| to follow this Code of Conduct: | ||
| </p> | ||
| <ul> | ||
| <li><b>Respect and Inclusivity:</b> Treat all contributors with kindness. We do not tolerate harassment, discrimination, or disrespectful behavior.</li> | ||
| <li><b>Collaboration:</b> Support one another, share knowledge, and contribute constructively to discussions and code reviews.</li> | ||
| <li><b>Openness:</b> Value diverse perspectives and experiences. Different backgrounds bring stronger solutions.</li> | ||
| <li><b>Professionalism:</b> Use welcoming and appropriate language across all interactions, whether in code, issues, or discussions.</li> | ||
| <li><b>Constructive Feedback:</b> Critique ideas, not people. Provide actionable and respectful suggestions.</li> | ||
| <li><b>Zero Tolerance for Harassment:</b> Any form of intimidation, offensive comments, or personal attacks are prohibited.</li> | ||
| <li><b>Reporting Issues:</b> If you experience or witness a violation, report it to the maintainers immediately. | ||
| We are committed to investigating and addressing issues promptly.</li> | ||
| <li><b>Shared Responsibility:</b> Every member is responsible for creating a safe and positive community space.</li> | ||
| </ul> | ||
| <p> | ||
| By participating in this community, you agree to uphold these values and contribute to an environment | ||
| where collaboration thrives and every voice matters. | ||
| </p> | ||
| </section> | ||
| <!-- Bio Section --> | ||
| <section id="bio" class="glass-card" data-aos="fade-up"> | ||
| <div class="card-glow"></div> | ||
| <h2>About Us</h2> | ||
| <div class="text-content"> | ||
| <p>Drive For Java is a passionate global community dedicated to empowering developers. Our mission is simple: to connect learners and professionals, to share knowledge, and to build powerful projects together.</p> | ||
| <p>Beyond code, we foster meaningful collaboration and mentorship, ensuring that everyone has the opportunity to grow their skills. Whether you are a beginner eager to contribute or a seasoned developer looking to collaborate on advanced projects β this is your home.</p> | ||
| <p>At <b>Drive For Java</b>, collaboration is not just encouraged, it is celebrated. Together, weβre creating innovative tools, open-source repositories, and a supportive network that inspires future generations of developers.</p> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- Importance of Collaboration --> | ||
| <section id="importance" data-aos="fade-up"> | ||
| <h2>Why Collaboration Matters</h2> | ||
| <p> | ||
| Collaboration is the heartbeat of Drive For Java. | ||
| In the world of software development, teamwork fuels innovation and leads to impactful outcomes. | ||
| </p> | ||
| <ul> | ||
| <li><b>Learn Faster:</b> Share experiences and learn from peers worldwide.</li> | ||
| <li><b>Build Bigger:</b> Collaborate on projects beyond the scope of individual effort.</li> | ||
| <li><b>Stronger Network:</b> Connect with developers, mentors, and innovators across the globe.</li> | ||
| <li><b>Empower Others:</b> Contributing to open-source inspires and helps future developers.</li> | ||
| </ul> | ||
| <p> | ||
| Together, we are not just coding β we are building a better tomorrow for developers everywhere. | ||
| </p> | ||
| </section> | ||
| <!-- Code of Conduct --> | ||
| <section id="coc" class="glass-card" data-aos="fade-up"> | ||
| <div class="card-glow"></div> | ||
| <h2>Code of Conduct</h2> | ||
| <div class="text-content"> | ||
| <p>To ensure a welcoming and inclusive environment, we ask all members of our community to follow this Code of Conduct:</p> | ||
| <ul class="interactive-list"> | ||
| <li><b>Respect and Inclusivity:</b> Treat all contributors with kindness. We do not tolerate harassment, discrimination, or disrespectful behavior.</li> | ||
| <li><b>Collaboration:</b> Support one another, share knowledge, and contribute constructively to discussions and code reviews.</li> | ||
| <li><b>Openness:</b> Value diverse perspectives and experiences. Different backgrounds bring stronger solutions.</li> | ||
| <li><b>Professionalism:</b> Use welcoming and appropriate language across all interactions, whether in code, issues, or discussions.</li> | ||
| <li><b>Constructive Feedback:</b> Critique ideas, not people. Provide actionable and respectful suggestions.</li> | ||
| <li><b>Zero Tolerance for Harassment:</b> Any form of intimidation, offensive comments, or personal attacks are prohibited.</li> | ||
| <li><b>Reporting Issues:</b> If you experience or witness a violation, report it to the maintainers immediately. We are committed to investigating and addressing issues promptly.</li> | ||
| <li><b>Shared Responsibility:</b> Every member is responsible for creating a safe and positive community space.</li> | ||
| </ul> | ||
| <p>By participating in this community, you agree to uphold these values and contribute to an environment where collaboration thrives and every voice matters.</p> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- Invitation Section --> | ||
| <section id="invite" data-aos="fade-up"> | ||
| <h2>Join Us</h2> | ||
| <p> | ||
| Weβre always looking for <b>passionate members</b> to collaborate. | ||
| Join our Community and Contribute to our awesome repos. | ||
| </p> | ||
| <div align="center">π Your Work can make this community glow and shine in Moonlight π</div> | ||
| <!-- Importance of Collaboration --> | ||
| <section id="importance" class="glass-card" data-aos="fade-up"> | ||
| <div class="card-glow"></div> | ||
| <h2>Why Collaboration Matters</h2> | ||
| <div class="text-content"> | ||
| <p>Collaboration is the heartbeat of Drive For Java. In the world of software development, teamwork fuels innovation and leads to impactful outcomes.</p> | ||
| <ul class="interactive-list"> | ||
| <li><b>Learn Faster:</b> Share experiences and learn from peers worldwide.</li> | ||
| <li><b>Build Bigger:</b> Collaborate on projects beyond the scope of individual effort.</li> | ||
| <li><b>Stronger Network:</b> Connect with developers, mentors, and innovators across the globe.</li> | ||
| <li><b>Empower Others:</b> Contributing to open-source inspires and helps future developers.</li> | ||
| </ul> | ||
| <p>Together, we are not just coding β we are building a better tomorrow for developers everywhere.</p> | ||
| </div> | ||
| </section> | ||
|
|
||
| <div align="center"> | ||
| <h3>π Your Face Here?</h3> | ||
| <table> | ||
| <tr> | ||
| <td> | ||
| <p> | ||
| <a href="https://github.com/Drive-for-Java/support/issues/new?assignees=&labels=invite+me+to+the+organisation&template=invitation.yml&title=Please+invite+me+to+the+GitHub+Community+Organization"> | ||
| <img src="https://avatars.githubusercontent.com/u/0?v=4" width="80" alt="Your Avatar" title="Your Avatar" /><br /> | ||
| <sub><b>Future Legend</b></sub><br /> | ||
| <sup>@yourusername</sup> | ||
| </a> | ||
| </p> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <p> | ||
| We're on the lookout for <strong>elite-level developers</strong> to join our fast-moving, global, modern team. <br /> | ||
| If you're a builder with vision, speed, and taste - we want to see you here. | ||
| </p> | ||
| <p> | ||
| <a href="https://github.com/Drive-for-Java/support/issues/new?assignees=&labels=invite+me+to+the+organisation&template=invitation.yml&title=Please+invite+me+to+the+GitHub+Community+Organization">πΎ Join the Drive-for-Java</a> and make your mark on the future. | ||
| </p> | ||
| </div> | ||
| </section> | ||
| <!-- Invitation Section --> | ||
| <section id="invite" class="glass-card" data-aos="fade-up"> | ||
| <div class="card-glow"></div> | ||
| <h2>Join Us</h2> | ||
| <div class="text-content center-align"> | ||
| <p>Weβre always looking for <b>passionate members</b> to collaborate. Join our Community and Contribute to our awesome repos.</p> | ||
|
|
||
| <div class="shimmer-text"> | ||
| π Your Work can make this community glow and shine in Moonlight π | ||
| </div> | ||
|
|
||
| <div class="invite-box"> | ||
| <h3>π Your Face Here?</h3> | ||
| <div class="avatar-wrap"> | ||
| <a href="https://github.com/Drive-for-Java/support/issues/new?assignees=&labels=invite+me+to+the+organisation&template=invitation.yml&title=Please+invite+me+to+the+GitHub+Community+Organization" class="profile-link"> | ||
| <img src="https://avatars.githubusercontent.com/u/0?v=4" alt="Your Avatar"> | ||
| <div class="profile-info"> | ||
| <span class="rank">Future Legend</span> | ||
| <span class="handle">@yourusername</span> | ||
| </div> | ||
| </a> | ||
| </div> | ||
| <p>We're on the lookout for <strong>elite-level developers</strong> to join our fast-moving, global, modern team. <br>If you're a builder with vision, speed, and taste - we want to see you here.</p> | ||
| <a href="https://github.com/Drive-for-Java/support/issues/new?assignees=&labels=invite+me+to+the+organisation&template=invitation.yml&title=Please+invite+me+to+the+GitHub+Community+Organization" class="cta-btn small">πΎ Join the Drive-for-Java</a> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| </main> | ||
|
|
||
| <!-- Footer --> | ||
| <footer> | ||
| <p>Β© 2025 Drive For Java. All rights reserved.</p> | ||
| <div class="socials"> | ||
| <!-- Paste your social block here --> | ||
| <div align="center"> | ||
| <!-- β Your full socials block from earlier goes here --> | ||
| </div> | ||
| </div> | ||
| </footer> | ||
|
|
||
| <!-- Libraries --> | ||
| <!-- Scripts --> | ||
| <script src="https://cdn.jsdelivr.net/npm/particles.js"></script> | ||
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | ||
| <script> | ||
| AOS.init(); | ||
| </script> | ||
|
|
||
| <!-- Custom JS --> | ||
| <script src="script.js"></script> | ||
| </body> | ||
| </html> | ||
|
|
||
| </html> |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,49 +1,56 @@ | ||
| /* Particles.js configuration */ | ||
| particlesJS("particles-js", { | ||
| "particles": { | ||
| "number": { | ||
| "value": 80, | ||
| "density": { "enable": true, "value_area": 800 } | ||
| }, | ||
| "color": { "value": "#ffffff" }, | ||
| "shape": { | ||
| "type": "circle", | ||
| "stroke": { "width": 0, "color": "#000000" } | ||
| }, | ||
| "opacity": { | ||
| "value": 0.5, | ||
| "random": false | ||
| }, | ||
| "size": { | ||
| "value": 4, | ||
| "random": true | ||
| }, | ||
| "line_linked": { | ||
| "enable": true, | ||
| "distance": 150, | ||
| "color": "#ffffff", | ||
| "opacity": 0.3, | ||
| "width": 1 | ||
| // Init AOS | ||
| document.addEventListener("DOMContentLoaded", function() { | ||
| AOS.init({ once: true, offset: 50, duration: 800 }); | ||
| initTheme(); | ||
| }); | ||
|
|
||
| function initTheme() { | ||
| const toggleBtn = document.getElementById('theme-toggle'); | ||
| const html = document.documentElement; | ||
|
|
||
| // Check Storage or System Preference | ||
| const savedTheme = localStorage.getItem('theme'); | ||
| const sysTheme = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'; | ||
|
|
||
| const currentTheme = savedTheme || sysTheme; | ||
| html.setAttribute('data-theme', currentTheme); | ||
| updateParticles(currentTheme); | ||
|
|
||
| // Toggle Event | ||
| toggleBtn.addEventListener('click', () => { | ||
| const theme = html.getAttribute('data-theme'); | ||
| const newTheme = theme === 'dark' ? 'light' : 'dark'; | ||
|
|
||
| html.setAttribute('data-theme', newTheme); | ||
| localStorage.setItem('theme', newTheme); | ||
| updateParticles(newTheme); | ||
| }); | ||
| } | ||
|
|
||
| function updateParticles(theme) { | ||
| const color = theme === 'dark' ? '#00f2ff' : '#4f46e5'; | ||
| const opacity = theme === 'dark' ? 0.4 : 0.6; | ||
|
|
||
| particlesJS("particles-js", { | ||
| "particles": { | ||
| "number": { "value": 60, "density": { "enable": true, "value_area": 800 } }, | ||
| "color": { "value": color }, | ||
| "shape": { "type": "circle" }, | ||
| "opacity": { "value": opacity, "random": true }, | ||
| "size": { "value": 3, "random": true }, | ||
| "line_linked": { | ||
| "enable": true, "distance": 150, "color": color, "opacity": 0.2, "width": 1 | ||
| }, | ||
| "move": { "enable": true, "speed": 2, "direction": "none", "out_mode": "out" } | ||
| }, | ||
| "move": { | ||
| "enable": true, | ||
| "speed": 3, | ||
| "direction": "none", | ||
| "random": false, | ||
| "straight": false, | ||
| "out_mode": "out" | ||
| } | ||
| }, | ||
| "interactivity": { | ||
| "detect_on": "canvas", | ||
| "events": { | ||
| "onhover": { "enable": true, "mode": "repulse" }, | ||
| "onclick": { "enable": true, "mode": "push" } | ||
| "interactivity": { | ||
| "detect_on": "canvas", | ||
| "events": { | ||
| "onhover": { "enable": true, "mode": "repulse" }, | ||
| "onclick": { "enable": true, "mode": "push" } | ||
| }, | ||
| "modes": { "repulse": { "distance": 100 }, "push": { "particles_nb": 4 } } | ||
| }, | ||
| "modes": { | ||
| "repulse": { "distance": 100 }, | ||
| "push": { "particles_nb": 4 } | ||
| } | ||
| }, | ||
| "retina_detect": true | ||
| }); | ||
| "retina_detect": true | ||
| }); | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.