joinlemmy-site/src/shared/routes.ts

41 lines
792 B
TypeScript
Raw Normal View History

import { IRouteProps } from "inferno-router/dist/Route";
import { Main } from "./components/main";
import { Apps } from "./components/apps";
2021-03-25 00:07:48 +00:00
import { Instances } from "./components/instances";
import { Contact } from "./components/contact";
import { Support } from "./components/support";
import { About } from "./components/about";
export const routes: IRouteProps[] = [
{
path: `/`,
exact: true,
component: Main,
},
{
path: `/apps`,
exact: true,
component: Apps,
},
{
path: `/about`,
exact: true,
component: About,
},
{
2021-03-25 00:07:48 +00:00
path: `/instances`,
exact: true,
2021-03-25 00:07:48 +00:00
component: Instances,
},
{
path: `/contact`,
exact: true,
component: Contact,
},
{
path: `/support`,
exact: true,
component: Support,
},
];