Skip to content
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

Add Social Media Logos to Footer of home page for Enhanced User Engagement under Hacktoberfest and GSSoC-Extn #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NM3806
Copy link

@NM3806 NM3806 commented Oct 22, 2024

Issues Identification

Closes: #386

Description

Summary

This pull request adds social media logos (Facebook, Twitter, Instagram) to the footer of the home page. This enhancement is needed to improve user engagement and provide quick access to our social media channels.

Details

  • Added <i class="fab fa-facebook-f"></i> for Facebook.
  • Added <i class="fa-brands fa-x-twitter"></i> for Twitter X.
  • Included <i class="fab fa-instagram"></i> for Instagram.

These changes will make our social media presence more prominent and accessible, contributing to a better user experience and community growth.

Types of Changes

  • New feature (non-breaking change that adds functionality)
  • Bugfix (non-breaking change that fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (Documentation content changed)
  • Other (please describe):

Checklist

  • 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
  • I have made corresponding changes to the documentation
  • 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-22 173143

Additional Information

I would also like to request the addition of the labels gssoc-ext, hacktoberfest, hacktoberfest-accepted for this pull request.

Summary by CodeRabbit

  • New Features
    • Integrated Font Awesome for modern social media icons in the footer.
    • Enhanced layout and structure of the webpage for better clarity and consistency.
  • Style
    • Comprehensive updates to CSS for improved layout, responsiveness, and visual appeal.
    • Introduced hover effects and transitions for interactive elements.
    • Added dark mode styles for better readability.
  • Bug Fixes
    • Streamlined HTML structure by removing redundant tags and improving nesting.

Copy link
Contributor

coderabbitai bot commented Oct 22, 2024

Walkthrough

The pull request introduces significant updates to index.html and styles.css. It integrates Font Awesome for iconography, enhancing the footer with social media icons while streamlining the HTML structure. The CSS modifications focus on improving layout, responsiveness, and visual appeal across various sections, including the header, hero section, and feature cards. The overall changes aim to modernize the webpage's design and maintain functionality.

Changes

File Change Summary
index.html Added Font Awesome CSS and JS links; replaced boxicons; enhanced footer with social media icons; refined HTML structure.
styles.css Extensive CSS modifications for layout, responsiveness, and visual enhancements, including new styles for dark mode and hover effects.

Assessment against linked issues

Objective Addressed Explanation
Add social media logos to footer (#386)

Possibly related PRs

Suggested labels

gssoc-ext, hacktoberfest, level1, hacktoberfest-accepted

Suggested reviewers

  • GarimaSingh0109

Poem

🐰 In the footer, icons gleam,
Social links, a vibrant dream.
With styles that dance and play,
Our webpage shines in a new way!
Font Awesome brings a modern flair,
Hop along, come see what's there! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, NM3806, for creating this pull request and contributing to WasteManagement! 💗

The maintainers will review this Pull Request and provide feedback as soon as possible! 😇
We appreciate your patience and contribution, Keep up the great work! 😀

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for manageyourwaste failed. Why did it fail? →

Name Link
🔨 Latest commit b3eac95
🔍 Latest deploy log https://app.netlify.com/sites/manageyourwaste/deploys/67179b6acfc8020008940b03

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 11

🧹 Outside diff range and nitpick comments (6)
index.html (2)

593-595: Ensure accessibility by adding aria-labels to social media links

Adding aria-label attributes to the social media links enhances accessibility for screen readers.

Apply this enhancement:

<a href="#">
    <i class="fab fa-facebook-f"></i>
+</a aria-label="Facebook">
<a href="#">
    <i class="fab fa-twitter"></i>
+</a aria-label="Twitter">
<a href="#">
    <i class="fab fa-instagram"></i>
+</a aria-label="Instagram">
</a>

426-436: Add labels to form inputs for better accessibility

The feedback form inputs lack associated <label> elements, which are important for accessibility.

Consider adding labels like this:

<form id="feedback-form" name="feedback-form">
+    <label for="name">Your Name</label>
    <input type="text" id="name" placeholder="Your Name" required />
+    <label for="feedback">Your Feedback</label>
    <textarea id="feedback" placeholder="Your Feedback" required></textarea>
    <button type="submit">Submit</button>
</form>
styles.css (4)

Line range hint 1647-1659: Remove duplicate reset and base styles to avoid redundancy

The reset and base styles defined in lines 1647-1659 are duplicates of those defined at the beginning of the file (lines 1-13). This redundancy can lead to maintainability issues and an increase in file size. It's best to keep global styles defined only once to prevent potential conflicts and ensure consistency.

Apply this diff to remove the duplicated styles:

-/* Reset and Base Styles */
-* {
-  margin: 0;
-  padding: 0;
-  box-sizing: border-box;
-}
-
-body {
-  font-family: 'Poppins', sans-serif;
-  background-color: #e0f7fa;
-  color: #333;
-  line-height: 1.6;
-  transition: background-color 0.3s, color 0.3s;
-}
-
-a {
-  text-decoration: none;
-  color: inherit;
-}

Line range hint 1900-1912: Consolidate multiple definitions of the .faqs class to improve maintainability

The .faqs class is defined multiple times throughout the stylesheet with different properties (e.g., lines 545-552, 1900-1912, and 2000-2012). This can lead to confusion and unexpected styling issues due to CSS specificity and inheritance rules. It's recommended to consolidate these definitions into a single .faqs class definition or use more specific class names if different styles are intended.

As a follow-up, consider merging the styles or restructuring the CSS to ensure that the .faqs class has a consistent and predictable appearance across the site.


Line range hint 1903-1903: Correct the class selector from .faqisection to .faq-section

The class selector .faqisection at line 1903 appears to be a typo and may have been intended as .faq-section. This correction will improve readability and maintain consistency with common naming conventions.

Apply this diff to correct the class name:

-.faqisection{
+.faq-section {

Line range hint 126-139: Optimize media queries by combining duplicate breakpoints

There are multiple media queries targeting the same breakpoint (max-width: 768px) with overlapping styles (e.g., lines 126-139 and lines 708-748). Consolidating these media queries can reduce redundancy and improve maintainability.

As a follow-up, consider merging the styles within the same breakpoint into a single media query block to streamline the CSS.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 7880a0f and b3eac95.

📒 Files selected for processing (2)
  • index.html (1 hunks)
  • styles.css (1 hunks)
🧰 Additional context used
🔇 Additional comments (3)
index.html (3)

48-48: ⚠️ Potential issue

Duplicate closing </nav> tag

There is a duplicate closing </nav> tag on line 48, which may cause HTML parsing issues and affect the layout.

Apply this diff to fix the duplication:

        </nav>
-    </nav>
    <div class="nav-controls">

Likely invalid or redundant comment.


622-627: 🛠️ Refactor suggestion

Place scripts before closing </body> tag for better performance

Including scripts just before the closing </body> tag can improve page load times by allowing the HTML to render before loading JavaScript.

Move the scripts as shown:

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

Likely invalid or redundant comment.


593-595: ⚠️ Potential issue

Incorrect Font Awesome class for Twitter icon

The class used for the Twitter icon seems incorrect. It should be fab fa-twitter instead of fa-brands fa-x-twitter.

Apply this diff to correct the icon class:

<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#">
-    <i class="fa-brands fa-x-twitter"></i>
+    <i class="fab fa-twitter"></i>
</a>
<a href="#"><i class="fab fa-instagram"></i></a>

Likely invalid or redundant comment.

Comment on lines +88 to +91
</section>

</div>
</section>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Misplaced closing tags affecting layout

There are misplaced closing tags between lines 88 and 91, which may disrupt the structure of the page.

Ensure that all opening tags have corresponding closing tags and are properly nested. Specifically, check the <section> and <div> tags in this area.

Comment on lines +115 to +164
<section class="features" id="features">
<h2>Our Features</h2>
<div class="feature-slider">
<div class="slider-wrapper">

<div class="feature-card">
<h3>Real-time Monitoring</h3>
<blockquote id="eco-fact">
Did you know that <span id="fact-highlight">over 2 billion tons of waste are generated
globally every year, but only 16% is recycled?</span>
</blockquote>

<p><span class="highlight">Track, Reduce, and Make a Difference</span> With real-time waste monitoring, you can be part of the solution by tracking
your waste habits, identifying areas for improvement, and contributing to a greener planet.
Take control of your impact – start monitoring your waste today and help reduce the overwhelming waste burden
on our environment. <strong>Every action counts.</strong></p>
<a href="realtime-monitoring.html" class="cta-button">Let's be on right track</a>
</div>
<div class="feature-card" id="eco-friendly">
<h3>Eco-Friendly Tips</h3>
<blockquote id="eco-fact">
Do you know <span id="fact-highlight">only 9% of plastic ever produced has been recycled?</span>
</blockquote>
<p>
Be <span class="highlight">Eco-savvy</span> by embracing simple, comprehensive, and quick solutions from the comfort of your home.
Contribute in managing the overwhelming burden of waste generation. Get personalized tips to manage waste sustainably and
<strong>be the change you want to see in the world!</strong>.
</p>
<a href="ecotips.html" id="eco-tips" class="cta-button">I'm in!</a>
</div>

<div class="feature-card">
<h3>Community Engagement</h3>
<p>Join community efforts to promote effective waste management.</p>
<a href="community.html" class="hero-btn">Join Community</a>
</div>

<div class="community-message">
<h3>Our Commitment to Sustainability</h3>
<p>At Waste Management, we are dedicated to building a greener future. Through our community recycling
programs and sustainability initiatives, we strive to reduce waste and protect the environment for
generations to come. Join us in our mission to create a cleaner, healthier planet.</p>
</div>

</div>
<button class="slider-btn left" id="prev">&#10094;</button>
<button class="slider-btn right" id="next">&#10095;</button>
</div>

</section>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Duplicate 'Features' section

The 'Features' section appears to be duplicated, first starting at line 115 and again at line 321. This can confuse users and clutter the homepage.

Consider consolidating the 'Features' section to a single instance to maintain clarity.

Comment on lines +167 to +215
<section class="faqs" id="faqs">

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

<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
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>

<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>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>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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Redundant 'FAQs' section

The FAQs section is duplicated between lines 167-215 and again at lines 355-425. This repetition may lead to longer page load times and a suboptimal user experience.

Remove one of the duplicated sections to streamline content presentation.

Comment on lines +584 to +607
<footer id="footer">
<h2>Stay Connected</h2>
<form id="newsletter-form" name="newsletter-form">
<input type="email" placeholder="Your Email" required />
<button type="submit">Subscribe</button>
</form>

<!-- Social Media Section -->
<div class="social-media">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</div>

<!-- Community Message Section -->
<div class="community-message">
<h3>Our Commitment to Sustainability</h3>
<p>
At Waste Management, we are dedicated to building a greener future.
Through our community recycling programs and sustainability initiatives,
we strive to reduce waste and protect the environment for generations to
come. Join us in our mission to create a cleaner, healthier planet.
</p>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Duplicate 'Our Commitment to Sustainability' section in footer

The 'Our Commitment to Sustainability' message appears twice in the footer, which may be redundant.

Consider removing one instance to avoid repetition.

Comment on lines +561 to +583
<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">
</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>
<button class="btn">SIGN UP</button>
<p>Have an Account? <a class="link" href="">Login Here!</a></p><a class="link" href="">
</a></div><a class="link" href="">

</a></form></div><a class="link" href="">
</a></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Signup form outside of appropriate section

The signup form starting at line 561 appears disjointed and may be better placed within a dedicated signup or registration page.

Consider moving the signup form to a separate page or a dedicated section to enhance user experience.

Comment on lines +273 to +275
</main>


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Unmatched closing </main> tag

There's an unmatched closing </main> tag without a corresponding opening <main> tag, which can cause HTML validation errors.

Apply this diff to remove the unnecessary tag:

-    </main>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
</main>

Comment on lines +426 to +436
<section class="feedback" id="feedback">
<h2>Your Feedback</h2>
<form id="feedback-form" name="feedback-form">
<input type="text" placeholder="Your Name" required="" />
<textarea
placeholder="Your Feedback"
required=""
></textarea>
<button type="submit">Submit</button>
</form>
</section>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Ensure form inputs have name attributes

Form inputs without name attributes won't be submitted correctly.

Add name attributes to the form fields:

<input type="text" id="name" placeholder="Your Name" required
+ name="user_name" />
<textarea id="feedback" placeholder="Your Feedback" required
+ name="user_feedback"></textarea>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<section class="feedback" id="feedback">
<h2>Your Feedback</h2>
<form id="feedback-form" name="feedback-form">
<input type="text" placeholder="Your Name" required="" />
<textarea
placeholder="Your Feedback"
required=""
></textarea>
<button type="submit">Submit</button>
</form>
</section>
<section class="feedback" id="feedback">
<h2>Your Feedback</h2>
<form id="feedback-form" name="feedback-form">
<input type="text" id="name" placeholder="Your Name" required="" name="user_name" />
<textarea
id="feedback"
placeholder="Your Feedback"
required=""
name="user_feedback"
></textarea>
<button type="submit">Submit</button>
</form>
</section>

Comment on lines +12 to +13
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/js/all.min.js" integrity="sha512-6sSYJqDreZRZGkJ3b+YfdhB3MzmuP9R7X1QZ6g5aIXhRvR1Y/N/P47jmnkENm7YL3oqsmI6AK+V6AD99uWDnIw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Redundant inclusion of Font Awesome JS script

Including the Font Awesome JS script might be unnecessary if you're only using static icons. The CSS file is sufficient for rendering icons, and removing the JS script can improve page load performance.

Apply this diff to remove the redundant script:

<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="index.css" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400&amp;display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
-<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/js/all.min.js" integrity="sha512-6sSYJqDreZRZGkJ3b+YfdhB3MzmuP9R7X1QZ6g5aIXhRvR1Y/N/P47jmnkENm7YL3oqsmI6AK+V6AD99uWDnIw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/js/all.min.js" integrity="sha512-6sSYJqDreZRZGkJ3b+YfdhB3MzmuP9R7X1QZ6g5aIXhRvR1Y/N/P47jmnkENm7YL3oqsmI6AK+V6AD99uWDnIw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />

Comment on lines +295 to +305
<box-icon type="logo" name="facebook"></box-icon>
</a>
<a href="#">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="24" height="24">
<path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/>
</svg>
</a>

<a href="#">
<box-icon type="logo" name="instagram"></box-icon>
</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Residual Boxicons code present

Boxicons elements are still present in the code, which may not display correctly if Boxicons are no longer included.

Apply this diff to remove unused Boxicons code:

<a href="#">
-    <box-icon type="logo" name="facebook"></box-icon>
-</a>
-<a href="#">
-    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="24" height="24">
-        <path d="M389.2 48h70.6L305.6 224.2..."></path>
-    </svg>
-</a>
<a href="#">
-    <box-icon type="logo" name="instagram"></box-icon>
</a>

Committable suggestion was skipped due to low confidence.

@@ -2572,3 +2572,4 @@ section {
color: #264143;
padding: 5px;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove duplicate closing brace to fix syntax error

There is an extra closing brace at line 2575, which may cause a syntax error in the CSS parsing.

Apply this diff to fix the syntax error:

-}

Committable suggestion was skipped due to low confidence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Enhancement: Added Social Media Logos in Footer of Home page
1 participant