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:
27
app/Fragments/Information/index.tsx
Normal file
27
app/Fragments/Information/index.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import { infoLinks } from "@/app/lib/linkList/infoLinks";
|
||||
import Link from "next/link";
|
||||
let linksArray = [
|
||||
infoLinks.ABOUT,
|
||||
infoLinks.FAQ,
|
||||
infoLinks.DISCLOSURE,
|
||||
infoLinks.PRIVACYPOLICY,
|
||||
infoLinks.PIP,
|
||||
infoLinks.TOS
|
||||
];
|
||||
export const Information = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<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 Information;
|
||||
Reference in New Issue
Block a user