pythontanzania / djangogirlstz

Django Girls Tanzania website
https://djangogirls.tz/
0 stars 1 forks source link

Footer Social Icons #16

Closed lupyana closed 3 weeks ago

lupyana commented 3 weeks ago

Description

Replace the current social media icons in the footer with Font Awesome icons, using either a CDN link or by downloading the Font Awesome library directly. Implement a custom hover effect where icons turn white with an orange background.

Current State

The footer contains custom icons for Instagram, Twitter (X), LinkedIn, and Facebook.

Tasks

Common Steps (after choosing A or B)

  1. Replace the current icon HTML with Font Awesome classes:

    <div class="footer-social-icons">
     <a href="#" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
     <a href="#" aria-label="Twitter"><i class="fab fa-x-twitter"></i></a>
     <a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
     <a href="#" aria-label="Facebook"><i class="fab fa-facebook-f"></i></a>
    </div>
  2. Add CSS for styling and the new hover effect:

    .footer-social-icons a {
     display: inline-block;
     color: #ff9900; /* Default icon color - adjust as needed */
     font-size: 24px; /* Adjust size as needed */
     margin: 0 10px; /* Adjust spacing as needed */
     width: 40px; /* Adjust for desired icon container size */
     height: 40px; /* Adjust for desired icon container size */
     line-height: 40px; /* Center icon vertically */
     text-align: center; /* Center icon horizontally */
     border-radius: 50%; /* Create circular background on hover */
     transition: all 0.3s ease;
    }
    
    .footer-social-icons a:hover {
     color: #ffffff; /* White icon on hover */
     background-color: #ff9900; /* Orange background on hover - adjust color as needed */
    }

Acceptance Criteria