Arm Feed Pages - Individual feed views for each arm
cgen-3ef6eb8f0ccb43018960cded39b7119e
This commit is contained in:
parent
a210ddf360
commit
c65d093371
1 changed files with 42 additions and 0 deletions
42
client/pages/ArmFeeds.tsx
Normal file
42
client/pages/ArmFeeds.tsx
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
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",
|
||||
devlink: "devlink",
|
||||
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 DevLinkFeed() {
|
||||
return <ArmFeed arm="devlink" />;
|
||||
}
|
||||
|
||||
export function NexusFeed() {
|
||||
return <ArmFeed arm="nexus" />;
|
||||
}
|
||||
|
||||
export function StaffFeed() {
|
||||
return <ArmFeed arm="staff" />;
|
||||
}
|
||||
Loading…
Reference in a new issue