mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-05 18:26:45 -05:00
29 lines
782 B
TypeScript
29 lines
782 B
TypeScript
import { sectionLinks } from "@/app/lib/linkList/sectionLinks";
|
|
import Link from "next/link";
|
|
import armoryLinks from "@/app/lib/linkList/sectionLinks";
|
|
|
|
let linksArray = [
|
|
sectionLinks.UPPERS,
|
|
sectionLinks.LOWERS,
|
|
sectionLinks.BARRELS,
|
|
sectionLinks.OPTICS,
|
|
sectionLinks.ACCESSORIES,
|
|
];
|
|
export const Armory = (props) => {
|
|
return (
|
|
(<div>
|
|
{armoryLinks.length}
|
|
<h4>{props.titleText}</h4>
|
|
<ul>
|
|
{linksArray.map((link, index) => (
|
|
<li key={index}>
|
|
<Link href={link.URL}>
|
|
{link.TEXT}
|
|
</Link>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</div>)
|
|
);
|
|
}
|
|
export default Armory; |