I am using react-bootstrap
I want to make a navbar footer, but the alignment is not working for me.
This is how it looks right now:
I want the socials icons to be right-aligned and the rest centered.
here is my code for the Footer component:
import React from "react";
import { Container } from "react-bootstrap";
import { Nav } from "react-bootstrap";
import { Navbar } from "react-bootstrap";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faInstagram,
faFacebook,
faTwitter,
} from "@fortawesome/free-brands-svg-icons";
import "./Footer.css";
const Footer = () => {
return (
<Navbar
className="main-footer d-flex justify-content-center navbarContainer"
fixed="bottom"
>
<Nav>
<Nav.Link href="#">About us</Nav.Link>
<Nav.Link href="#">Contact us</Nav.Link>
<Nav.Link href="#">Join us</Nav.Link>
</Nav>
<Nav className="justify-content-end">
<Nav.Link href="">
<FontAwesomeIcon icon={faInstagram} />
</Nav.Link>
<Nav.Link href="">
<FontAwesomeIcon icon={faFacebook} />
</Nav.Link>
<Nav.Link href="">
<FontAwesomeIcon icon={faTwitter} />
</Nav.Link>
</Nav>
</Navbar>
);
};
export default Footer;