import { sectionLinks } from "@/app/lib/linkList/sectionLinks";
import Link from "next/link";

let linksArray = [
    sectionLinks.BLOG,
    sectionLinks.PRICEDROPS,
    sectionLinks.BUILDS,
    sectionLinks.BUILDGUIDES,
];

export const GroundZero = (props) => {
    return (
        (<div>
            <h4>{props.titleText}</h4>
            <ul>
                {linksArray.map((link, index) => (
                    <li key={index}>
                        <Link href={link.URL}>
                            {link.TEXT}
                        </Link>
                    </li>
                ))}
            </ul>
        </div>)
    );
}
export default GroundZero;