The Footer
component is a simple yet powerful section of your website that contains:
Social Media Icons: Links to platforms like Instagram, Twitch, and YouTube.
Brand Logo: Displays your logo with optional text.
Copyright Notice: A customizable copyright message.
Project Resources
Tutorial
This guide will help you understand how to edit the Footer
component to suit your needs.
Step 1: Updating Social Media Links
The SocialMediaIcons
component handles links to your social media platforms.
How to Update:
Replace the URLs with your actual social media profile links.
Add or remove platforms by modifying the props passed to
SocialMediaIcons
.
Step 2: Customizing the Logo
The Logo
component is used to display your brand logo and optional text.
How to Update:
logoSrc
: Replace with the path to your logo image.text
: Change "UI Now" to your brand name.showTextWithImage
: Set tofalse
if you want to hide the text.
Example:
Step 3: Editing the Copyright Text
The copyright text is displayed below the logo:
How to Update:
Replace
2025 Your Company, Inc.
with your company's name and the current year.
Example:
Step 4: Adjusting Layout and Styling
Change Background and Border:
The footer uses Tailwind CSS for styling. Update the background and border styles:
Change Background Color:
This sets a dark background.
Change Border:
Center or Align Content:
The layout uses
flex
andjustify-center
. Modify these for alignment.
Step 5: Adding More Content
You can easily add additional sections, such as navigation links or a newsletter signup.
Example: Adding Navigation Links:
Testing Your Footer
Run Your App:
Verify Responsiveness:
Ensure the layout works on both mobile and desktop screens.
Check Links:
Test social media and navigation links to confirm they point to the correct destinations.
Final Thoughts
By customizing this Footer
component, you can:
Create a cohesive brand identity.
Provide important links for your users.
Highlight your presence on social media platforms.