Merge branch 'main' of https://gitea.armco.dev/Restruct-Corporate-Advantage/configs into development
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,4 +4,3 @@ node_modules
|
||||
.DS_Store
|
||||
constants
|
||||
endpoints
|
||||
navigator
|
||||
@@ -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
|
||||
|
||||
@@ -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
91
src/navigator.ts
Normal 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
|
||||
Reference in New Issue
Block a user