File tree Expand file tree Collapse file tree 7 files changed +40
-15
lines changed Expand file tree Collapse file tree 7 files changed +40
-15
lines changed Original file line number Diff line number Diff line change 1
1
export const Routes = {
2
- projects : "/" ,
3
- issues : "/issues" ,
4
- alerts : "/alerts" ,
5
- users : "/users" ,
6
- settings : "/settings" ,
2
+ home : "/" ,
3
+ projects : "/dashboard/" ,
4
+ issues : "/dashboard/issues" ,
5
+ alerts : "/dashboard/alerts" ,
6
+ users : "/dashboard/users" ,
7
+ settings : "/dashboard/settings" ,
7
8
} ;
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import type { NextPage } from "next" ;
2
+ import { PageContainer } from "@features/ui" ;
3
+ import { ProjectList } from "@features/projects" ;
4
+
5
+ const Home : NextPage = ( ) => {
6
+ return (
7
+ < PageContainer
8
+ title = "Projects"
9
+ info = "Overview of your projects sorted by alert level."
10
+ >
11
+ < ProjectList />
12
+ </ PageContainer >
13
+ ) ;
14
+ } ;
15
+
16
+ export default Home ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import { Routes } from "@config/routes" ;
2
+ import styled from "styled-components" ;
1
3
import type { NextPage } from "next" ;
2
- import { PageContainer } from "@features/ui" ;
3
- import { ProjectList } from "@features/projects" ;
4
4
5
- const Home : NextPage = ( ) => {
5
+ const Header = styled . header `
6
+ width: 100%;
7
+ height: 80px;
8
+ padding: 0 2rem;
9
+ display: flex;
10
+ align-items: center;
11
+ background: white;
12
+ ` ;
13
+
14
+ const IssuesPage : NextPage = ( ) => {
6
15
return (
7
- < PageContainer
8
- title = "Projects"
9
- info = "Overview of your projects sorted by alert level."
10
- >
11
- < ProjectList />
12
- </ PageContainer >
16
+ < div >
17
+ < Header >
18
+ < a href = { Routes . projects } > Open Dashboard</ a >
19
+ </ Header >
20
+ </ div >
13
21
) ;
14
22
} ;
15
23
16
- export default Home ;
24
+ export default IssuesPage ;
You can’t perform that action at this time.
0 commit comments