Skip to content

Commit

Permalink
Updated Mission and Signup Section Interface (#398)
Browse files Browse the repository at this point in the history
<!-- Thank you for sending a pull request ❤️ -->

## Issues Identification

Closes: #(393)

## Description
Redesigned the Mission and Signup sections to improve user experience
and visual appeal. Enhanced layout, updated interface elements, and
optimized accessibility to create a more engaging and user-friendly
experience for visitors.


## Checklist

_Please check the boxes that apply_

- [ 👍] My code follows the style guidelines of this project
- [👍 ] I have performed a self-review of my own code
- [👍 ] I have commented my code, particularly in hard-to-understand
areas
- [ 👍] My changes generate no new warnings
- [👍 ] My changes do not break the current system and pass all existing
test cases
- [ 👍] I have added tests that prove my fix is effective or that my
feature works
- [👍 ] New and existing unit tests pass locally with my changes
- [ 👍] Any dependent changes have been merged and published in
downstream modules

## Screenshots

![Screenshot 2024-10-25
080822](https://github.com/user-attachments/assets/239bd6c9-f9a0-4946-ae90-e0da3051bd42)
![Screenshot 2024-10-25
080836](https://github.com/user-attachments/assets/2cb47b64-d2c7-45bb-8d1d-8e2052087598)

<!-- We're looking forward to merging your contribution!! -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced "Our Mission" and "Core Values" sections to highlight
organizational goals and principles.
	- Added a "Sign Up" section for user registration.
	- Updated FAQ section for improved clarity and structure.
	- Enhanced footer with newsletter subscription and social media links.

- **Style**
- Improved styling for various components, including new classes for
forms and buttons.
	- Enhanced layout for eco tips and user interaction elements.
	- Adjusted media queries for better responsiveness across devices.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
GarimaSingh0109 authored Oct 25, 2024
2 parents 7880a0f + 1e3b2d2 commit 74559d3
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 57 deletions.
189 changes: 151 additions & 38 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,53 +164,56 @@ <h3>Our Commitment to Sustainability</h3>

<section class="faqs" id="faqs">

<section class="faqs" id="faqs">
<h2>Frequently Asked Questions (FAQs)</h2>

<h2>Frequently Asked Questions (FAQs)</h2>

<div class="faq-item">
<h3>What is the difference between biodegradable and non-biodegradable waste?</h3>
<p>Biodegradable waste refers to organic materials such as food scraps and garden waste that
<div class="faq-item">
<h3>What is the difference between biodegradable and non-biodegradable waste?</h3>
<p>Biodegradable waste refers to organic materials such as food scraps and garden waste that
decompose naturally over time. Non-biodegradable waste includes plastics, metals, and other
materials that do not decompose easily and require recycling or special disposal methods.
</p>
</div>
</p>
</div>

<div class="faq-item">
<h3>How can I reduce household waste?</h3>
<p>You can reduce waste by buying reusable products, composting organic waste, recycling
materials like plastic and paper, and avoiding single-use items. Participating in community
waste reduction programs is also helpful.</p>
</div>
<div class="faq-item">
<h3>How can I reduce household waste?</h3>
<p>You can reduce waste by buying reusable products, composting organic waste, recycling
materials like plastic and paper, and avoiding single-use items. Participating in community
waste reduction programs is also helpful.
</p>
</div>

<div class="faq-item">
<h3>What should I do with hazardous waste?</h3>
<p>Hazardous waste, such as batteries, chemicals, and electronic waste, should be taken to
designated disposal sites or collection events. Do not dispose of them in regular household
trash as they can be harmful to the environment.</p>
</div>
<div class="faq-item">
<h3>What should I do with hazardous waste?</h3>
<p>Hazardous waste, such as batteries, chemicals, and electronic waste, should be taken to
designated disposal sites or collection events. Do not dispose of them in regular household
trash as they can be harmful to the environment.
</p>
</div>

<div class="faq-item">
<h3>Can all plastics be recycled?</h3>
<p>No, not all plastics are recyclable. Look for recycling symbols with numbers on plastic
products. Most recycling centers accept plastics marked with numbers 1 and 2, but it's
important to check with your local center for specific guidelines.</p>
</div>
<div class="faq-item">
<h3>Can all plastics be recycled?</h3>
<p>No, not all plastics are recyclable. Look for recycling symbols with numbers on plastic
products. Most recycling centers accept plastics marked with numbers 1 and 2, but it's
important to check with your local center for specific guidelines.
</p>
</div>

<div class="faq-item">
<h3>How do I start composting at home?</h3>
<p>To start composting, collect food scraps like fruit peels, vegetable leftovers, and coffee
grounds. Combine them with yard waste like leaves and grass clippings in a compost bin. Turn
the compost regularly to ensure proper aeration and decomposition.</p>
</div>
<div class="faq-item">
<h3>How do I start composting at home?</h3>
<p>To start composting, collect food scraps like fruit peels, vegetable leftovers, and coffee
grounds. Combine them with yard waste like leaves and grass clippings in a compost bin. Turn
the compost regularly to ensure proper aeration and decomposition.
</p>
</div>

<div class="faq-item">
<h3>Why is it important to sort waste?</h3>
<p>Sorting waste ensures that recyclable materials like paper, glass, and plastics are properly
processed, reducing the amount of waste sent to landfills. Proper sorting helps reduce
pollution, conserve resources, and protect the environment.</p>
</div>
</section>
<h3>Why is it important to sort waste?</h3>
<p>Sorting waste ensures that recyclable materials like paper, glass, and plastics are properly
processed, reducing the amount of waste sent to landfills. Proper sorting helps reduce
pollution, conserve resources, and protect the environment.
</p>
</div>
</section>


<section class="feedback" id="feedback">
Expand Down Expand Up @@ -245,6 +248,110 @@ <h2>About Us</h2>
<img src="./assets/about-us.jpg" alt="Waste Management team working towards sustainability">
</div>


<!-- Mission Section -->
<div class="mission-container">
<h3>Our Mission</h3>
<div class="mission-box">
<div class="mission-item">
<img src="./assets/recycling-bin_532768.png" alt="Reduce Waste">
<h4>Reduce Waste</h4>
<p>Minimize waste generation through innovative technologies and education.</p>
</div>
<div class="mission-item">
<img src="./assets/aluminum_4381614.png" alt="Promote Recycling">
<h4>Promote Recycling</h4>
<p>Encourage responsible disposal and recycling practices in every community.</p>
</div>
<div class="mission-item">
<img src="./assets/solidarity_16825525.png" alt="Empower Communities">
<h4>Empower Communities</h4>
<p>Equip individuals with knowledge and tools for sustainable living.</p>
</div>
<div class="mission-item">
<img src="./assets/exterior-cleaning_17073146.png" alt="Build a Cleaner Future">
<h4>Build a Cleaner Future</h4>
<p>Protect the environment for future generations.</p>
</div>
</div>
</div>
</div>
</section>


<section>
<div class="values-container">
<h3>Our Core Values</h3>
<div class="values-cards">
<div class="value-card">
<h4>Innovation</h4>
<p>We believe in continually evolving our waste management practices with cutting-edge
technologies to improve efficiency and reduce our environmental footprint.</p>
</div>
<div class="value-card">
<h4>Sustainability</h4>
<p>Environmental sustainability is at the heart of everything we do. We prioritize
reducing waste, reusing materials, and promoting recycling initiatives globally.</p>
</div>
<div class="value-card">
<h4>Community</h4>
<p>Collaboration is key. By working together with communities, we aim to foster
eco-consciousness and sustainable living across the globe.</p>
</div>
<div class="value-card">
<h4>Responsibility</h4>
<p>We are committed to acting with integrity and accountability, ensuring that our
practices positively impact both the environment and society.</p>
</div>
</div>
</div>
</section>





<div class="signup">
<div class="container">
<div class="form_area">
<p class="title">SIGN UP</p>
<form action="">
<div class="form_group">
<label class="sub_title" for="name">Name</label>
<input placeholder="Enter your full name" class="form_style" type="text" id="name">
</div>
<div class="form_group">
<label class="sub_title" for="email">Email</label>
<input placeholder="Enter your email" id="email" class="form_style" type="email">
</div>
<div class="form_group">
<label class="sub_title" for="password">Password</label>
<input placeholder="Enter your password" id="password" class="form_style" type="password">
</div>
<div class="form_action">
<button class="btn">SIGN UP</button>
<p>Have an Account? <a class="link" href="">Login Here!</a></p>
</div>
</form>
</div>
</div>
</div>

</main>
<br>
<footer id="footer">
<h2>Stay Connected</h2>
<form id="newsletter-form">
<input type="email" placeholder="Your Email" required>
<button type="submit">Subscribe</button>
</form>
<div class="social-media">

<a href="#">Facebook</a>
<a href="#">Twitter</a>
<a href="#">Instagram</a>
</div>

<div class="card-back">
<h3>Biodegradable Waste</h3>
<p>Includes food remains and garden waste. These can be composted to create manure and naturally
Expand All @@ -271,6 +378,7 @@ <h3>Non-Biodegradable Waste</h3>
</main>



<footer id="footer">
<h2>Stay Connected</h2>
<form id="newsletter-form">
Expand Down Expand Up @@ -313,6 +421,10 @@ <h3>Our Commitment to Sustainability</h3>
</button>
</footer>


<p>&copy; 2024 Waste Management. All rights reserved.</p>
</footer>

</div>
</div>
</div>
Expand Down Expand Up @@ -620,6 +732,7 @@ <h3>Our Commitment to Sustainability</h3>

<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script>


<script src="script.js"></script>

</body>
Expand Down
116 changes: 97 additions & 19 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,13 @@ main {
text-align: left;
}

.mission-item img {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 15px;
}

/* Hover Effect for Mission Items */
.mission-item:hover {
transform: translateY(-10px);
Expand Down Expand Up @@ -412,41 +419,112 @@ main {


/* Sign Up Section */
/* Container Styling */
.signup {
background-color: #f9f9f9;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
max-width: 400px;
margin: 0 auto 30px;
margin: 0 auto;
font-family: Arial, sans-serif;
}

.signup form {
display: flex;
flex-direction: column;
/* Title Styling */
.signup .title {
font-size: 1.8em;
font-weight: 600;
color: #333;
text-align: center;
margin-bottom: 25px;
}

.signup input {
margin: 10px 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
/* Form Group Styling */
.form_group {
margin-bottom: 20px;
}

.signup button {
background-color: #007b5f;
/* Label Styling */
.sub_title {
font-size: 1em;
color: #333;
margin-bottom: 5px;
display: block;
}

/* Input Styling */
.form_style {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 5px;
transition: border-color 0.3s;
font-size: 1em;
}

.form_style:focus {
border-color: #007b5f;
outline: none;
box-shadow: 0 0 8px rgba(0, 123, 95, 0.2);
}

/* Button Styling */
.btn {
width: 100%;
padding: 12px;
font-size: 1em;
font-weight: bold;
color: white;
padding: 10px;
background-color: #007b5f;
border: none;
border-radius: 4px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
transition: background-color 0.3s, transform 0.1s;
}

.signup button:hover {
.btn:hover {
background-color: #005f46;
}

.btn:active {
transform: scale(0.98);
}

/* Link Styling */
.link {
color: #007b5f;
text-decoration: none;
font-weight: bold;
}

.link:hover {
text-decoration: underline;
}

/* Text under button */
.form_action p {
text-align: center;
font-size: 0.9em;
margin-top: 15px;
}

/* Responsive Styling */
@media (max-width: 500px) {
.signup {
padding: 20px;
max-width: 90%;
margin: 0 auto;
}

.signup .title {
font-size: 1.6em;
}

.btn, .form_style {
font-size: 0.95em;
}
}

/*About Us */
.about-us {
max-width: 800px; /* Limit the width */
Expand Down

0 comments on commit 74559d3

Please sign in to comment.