Skip to content

Commit

Permalink
fix: more unfinished routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sampiiiii committed Apr 16, 2024
1 parent e043855 commit f4f72b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
20 changes: 4 additions & 16 deletions apps/forge/src/routes/socials/index.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
import {createFileRoute} from "@tanstack/react-router";
import Title from "@/components/title";
import { createFileRoute } from "@tanstack/react-router";
import { RouteUnfinished } from "@/components/routing/RouteUnfinished.tsx";

const SocialsIndexPageComponent = () => {
return (
<>
<Title prompt="SOCIALS"/>
<div className="p-2">
<h3>iForge Social Media Page</h3>
<p>WIP</p>
</div>
</>
);
};

export const Route = createFileRoute('/socials/')({
component: SocialsIndexPageComponent,
export const Route = createFileRoute("/socials/")({
component: RouteUnfinished,
});
9 changes: 5 additions & 4 deletions apps/forge/src/routes/training/approved-materials.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createFileRoute } from '@tanstack/react-router'
import { createFileRoute } from "@tanstack/react-router";
import { RouteUnfinished } from "@/components/routing/RouteUnfinished.tsx";

export const Route = createFileRoute('/training/approved-materials')({
component: () => <div>Hello /training/approved-materials!</div>
})
export const Route = createFileRoute("/training/approved-materials")({
component: RouteUnfinished,
});
3 changes: 2 additions & 1 deletion apps/forge/src/routes/training/risk-assessments.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createFileRoute } from "@tanstack/react-router";
import { RouteUnfinished } from "@/components/routing/RouteUnfinished.tsx";

export const Route = createFileRoute("/training/risk-assessments")({
component: () => <div>Hello /training/risk-assessments!</div>,
component: RouteUnfinished,
});

0 comments on commit f4f72b3

Please sign in to comment.