First Commit

This commit is contained in:
2026-09-12 13:56:36 +01:00
commit 4d75af0418
426 changed files with 36452 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { TWUILink } from "../components/twui/elements/LinkList";
export const MainLinks: TWUILink[] = [
{
title: "About",
url: "/about",
},
];
+29
View File
@@ -0,0 +1,29 @@
export const MediaTypes = [
{
title: "Image",
value: "image",
},
{
title: "Video",
value: "video",
},
{
title: "Document",
value: "document",
},
] as const;
export const MediaParadigms = [
{
title: "User Profile Image",
value: "user-profile-image",
},
{
title: "Generic",
value: "generic",
},
{
title: "Event",
value: "event",
},
] as const;
+71
View File
@@ -0,0 +1,71 @@
import type { TWUI_LINK_LIST_LINK_OBJECT } from "../components/twui/elements/LinkList";
export const SBFSusidiaries = [
{
title: "Children's Home",
description:
"We stretch out a helping had to orphaned children located in different parts of Nigeria. We have our primary children's home in Port Harcourt, Rivers, but also visit orphaned children in different communites in rural Rivers State.",
url: `/childrens-home`,
image: `/images/susan_brown_orphans_1-2.webp`,
links: [
{
title: "Brown's Children's Home",
buttonProps: {
after_icon_name: "ArrowUpRight",
after_icon_props: { size: 17 },
color: "secondary",
},
linkProps: {
target: "_blank",
},
url: "/childrens-home",
},
{
title: "Learn More",
buttonProps: {
variant: "outlined",
color: "gray",
},
},
] as SubsidiaryLinkType[],
primary: true,
},
{
title: "Youth Development",
description:
"We provide mentorship and skill-building for Nigerian youths. This goal is to ensure a thriving economy and society, and prevent social vices.",
url: `/youth-development`,
image: `/images/young-man-apprentice-01.webp`,
links: [
{
title: "View Our Youth Programs",
buttonProps: {
variant: "outlined",
color: "secondary",
},
},
] as SubsidiaryLinkType[],
primary: false,
},
{
title: "Women Empowerment",
description:
"We have a stong focus on building women with character and resilience.",
url: `/women-empowerment`,
image: `/images/young-women-01.webp`,
links: [
{
title: "Learn More",
buttonProps: {
variant: "outlined",
color: "secondary",
},
},
] as SubsidiaryLinkType[],
primary: false,
},
] as const;
export type SubsidiaryLinkType = TWUI_LINK_LIST_LINK_OBJECT & {
// button_props: Omit<ComponentProps<typeof Button>,"title">
};
+23
View File
@@ -0,0 +1,23 @@
import type { UserType } from "../types";
export const UserTypes = [
{
value: "super_admin",
},
{
value: "admin",
},
{
value: "revoked",
},
] as const;
export const SuperAdminOnlyEditableUserTypes: UserType[] = ["revoked"];
export const UneditableUserTypes: UserType[] = ["super_admin"];
export const RolesAdminCantUpdate: UserType[] = [
"super_admin",
"admin",
"revoked",
];