Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit baeebd7

Browse files
committed
Set files as LandingPage
1 parent be6099e commit baeebd7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/components/Router/Router.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ import Profile from "../pages/User/Profile";
1010
export default function Router(): ReactElement {
1111
return (
1212
<Switch>
13-
<Route exact path={"/"} component={Health} />
1413
<Route path={"/login"} component={Login} />
14+
<Route exact path={"/"}>
15+
<Redirect to={filesBaseUrl}/>
16+
</Route>
1517
<Route path={"/start"}>
1618
<Redirect to={"/"} />
1719
</Route>
20+
<Route path={"/health"} component={Health}/>
1821
<Route path={filesBaseUrl} component={FileSystem} />
19-
<Route path={"/health"}>
20-
<Redirect to={"/"} />
21-
</Route>
2222
<Route path={"/registration"} component={Registration} />
2323
{<Route path={"/profile"} component={Profile} />}
2424
<Route path={"*"} component={Error404} />

src/components/basicElements/topArea/Header.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function Header(props: PropsFromRedux): ReactElement {
3535
const history = useHistory();
3636
const navBarElements: navBarElement_Interface[] = [
3737
{
38-
name: "main",
39-
text: "Main",
40-
link: "/",
41-
deviantVisibleLink: "/start",
38+
name: "health",
39+
text: "Health",
40+
link: "/health",
41+
deviantVisibleLink: "/health",
4242
logo: null
4343
},
4444
{

0 commit comments

Comments
 (0)