Merge branch 'main' of https://gitea.armco.dev/Restruct-Corporate-Advantage/configs into development
Some checks failed
armco-org/configs/pipeline/head There was a failure building this commit
armco-org/configs/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2025-11-09 01:28:33 +05:30
4 changed files with 93 additions and 3 deletions

1
.gitignore vendored
View File

@@ -4,4 +4,3 @@ node_modules
.DS_Store
constants
endpoints
navigator

View File

@@ -33,4 +33,4 @@ fi
echo "[BUILD:SH] Running post processor scripts..."
# Run Post processors: Update style imports in .js files, create component modules
node "$SCRIPT_DIR/post-processor.js" build/cjs $DEV_FLAG
node "$SCRIPT_DIR/post-processor.js" build/es $DEV_FLAG
node "$SCRIPT_DIR/post-processor.js" build/es $DEV_FLAG

View File

@@ -1,2 +1,2 @@
export const SESSION_TOKEN_NAME = "x-access-token"
export const SESSION_USER_TOKEN_NAME = "auth-session-user"
export const SESSION_USER_TOKEN_NAME = "auth-session-user"

91
src/navigator.ts Normal file
View File

@@ -0,0 +1,91 @@
import { v4 as uuid } from "uuid"
import { AppNavigatorDataType } from "@armco/types"
const navigator: Array<AppNavigatorDataType> = [
{
label: "Playgrounds",
icon: "tb.TbSoccerField",
color: "cornflowerblue",
id: uuid(),
url: "/playground",
items: [
{
label: "Components",
icon: "cg/CgComponents",
description: [
"Stuffle's opinionated component library.",
"Save effort by including this component library to your project.",
"Also exists as npm package",
],
url: "/components",
},
{
label: "Icon Viewer",
icon: "gr/GrOverview",
url: "/icon",
},
{
label: "Armory",
icon: "io5/IoLogoWebComponent",
url: "/",
},
],
},
{
label: "Assets",
icon: "fa/FaBuromobelexperte",
color: "darkcyan",
id: uuid(),
url: "/assets",
items: [
{
label: "Icons",
icon: "fa/FaIcons",
url: "/icons",
},
{
label: "Fonts",
icon: "bi/BiFontFamily",
url: "/fonts",
},
],
},
{
label: "Tools & Services",
icon: "fc/FcServices",
id: uuid(),
url: "/tools-and-services",
items: [
{
label: "IAM",
icon: "fi.FiUsers",
url: "/config",
},
{
label: "Analytics",
icon: "io/IoMdAnalytics",
url: "/config",
},
{
label: "Confitron",
icon: "fc.FcDataConfiguration",
url: "/config",
},
{
label: "Tasker",
icon: "ri.RiPlayList2Fill",
url: "/tasks",
},
{
label: "Png to Svg",
icon: "si/SiConvertio",
},
{
label: "Svg to Png",
icon: "si/SiConvertio",
},
],
},
]
export default navigator