Removes the "Dev-Link" identifier and associated configurations from various UI components and navigation elements, consolidating its functionality into the "Nexus" realm. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: c78d9734-c653-46ad-a86e-c692f7d13621 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/aPpJgbb Replit-Helium-Checkpoint-Created: true
38 lines
764 B
TypeScript
38 lines
764 B
TypeScript
import { useParams } from "react-router-dom";
|
|
import ArmFeed from "@/components/feed/ArmFeed";
|
|
import { ArmType } from "@/components/feed/ArmFeed";
|
|
|
|
// Map URL paths to arm types
|
|
const ARM_MAP: Record<string, ArmType> = {
|
|
labs: "labs",
|
|
gameforge: "gameforge",
|
|
corp: "corp",
|
|
foundation: "foundation",
|
|
nexus: "nexus",
|
|
staff: "staff",
|
|
};
|
|
|
|
export function LabsFeed() {
|
|
return <ArmFeed arm="labs" />;
|
|
}
|
|
|
|
export function GameForgeFeed() {
|
|
return <ArmFeed arm="gameforge" />;
|
|
}
|
|
|
|
export function CorpFeed() {
|
|
return <ArmFeed arm="corp" />;
|
|
}
|
|
|
|
export function FoundationFeed() {
|
|
return <ArmFeed arm="foundation" />;
|
|
}
|
|
|
|
|
|
export function NexusFeed() {
|
|
return <ArmFeed arm="nexus" />;
|
|
}
|
|
|
|
export function StaffFeed() {
|
|
return <ArmFeed arm="staff" />;
|
|
}
|