import Link from 'next/link';
import footerData from './footer.json';

const FooterBottom = () => {
    const { bottom } = footerData;

    return (
        <div className="footer-bottom">
            <div className="container">
                <div className="footer-wrapper">
                    <p>
                        {bottom.copyright.text} <span>{bottom.copyright.brand}</span> {bottom.copyright.rights}
                    </p>
                    <ul className="bottom-list">
                        {bottom.menuLinks.map((item, index) => (
                            <li key={index}>
                                <Link href={item.href}>{item.label}</Link>
                            </li>
                        ))}
                    </ul>
                </div>
            </div>
        </div>
    );
};

export default FooterBottom;
