mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2025-02-10 19:14:47 +00:00
35 lines
664 B
TypeScript
35 lines
664 B
TypeScript
![]() |
import { IRouteProps } from "inferno-router/dist/Route";
|
||
|
import { Main } from "./components/main";
|
||
|
import { Apps } from "./components/apps";
|
||
|
import { Join } from "./components/join";
|
||
|
import { Contact } from "./components/contact";
|
||
|
import { Sponsors } from "./components/sponsors";
|
||
|
|
||
|
export const routes: IRouteProps[] = [
|
||
|
{
|
||
|
path: `/`,
|
||
|
exact: true,
|
||
|
component: Main,
|
||
|
},
|
||
|
{
|
||
|
path: `/apps`,
|
||
|
exact: true,
|
||
|
component: Apps,
|
||
|
},
|
||
|
{
|
||
|
path: `/join`,
|
||
|
exact: true,
|
||
|
component: Join,
|
||
|
},
|
||
|
{
|
||
|
path: `/contact`,
|
||
|
exact: true,
|
||
|
component: Contact,
|
||
|
},
|
||
|
{
|
||
|
path: `/sponsors`,
|
||
|
exact: true,
|
||
|
component: Sponsors,
|
||
|
},
|
||
|
];
|