mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
restructuring folders
This commit is contained in:
29
app/Fragments/Armory/index.tsx
Normal file
29
app/Fragments/Armory/index.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
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}>
|
||||
<a>{link.TEXT}</a>
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
export default Armory;
|
||||
23
app/Fragments/Armory/package.json
Normal file
23
app/Fragments/Armory/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "armory",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"main": "./index",
|
||||
"author": {
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
{
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
app/Fragments/Armory/style.module.scss
Normal file
1
app/Fragments/Armory/style.module.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import '../../scss/variables.scss';
|
||||
Reference in New Issue
Block a user