Use tabler-react-typescript, updated frontend deps

This commit is contained in:
Jamie Curnow
2021-07-04 16:11:55 +10:00
parent 0f6498603e
commit 4fbb354d54
16 changed files with 419 additions and 332 deletions

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function AccessLists() {
return <Root>AccessLists</Root>;
}
export default AccessLists;

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function AuditLog() {
return <Root>AuditLog</Root>;
}
export default AuditLog;

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function Certificates() {
return <Root>Certificates</Root>;
}
export default Certificates;

View File

@@ -1,6 +1,5 @@
import React from "react";
import { useAuthState } from "context";
import styled from "styled-components";
const Root = styled.div`
@@ -9,16 +8,7 @@ const Root = styled.div`
`;
function Dashboard() {
const { logout } = useAuthState();
return (
<Root>
Dashboard
<div>
<button onClick={logout}>Logout</button>
</div>
</Root>
);
return <Root>Dashboard</Root>;
}
export default Dashboard;

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function Hosts() {
return <Root>Hosts</Root>;
}
export default Hosts;

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function Settings() {
return <Root>Settings</Root>;
}
export default Settings;

View File

@@ -0,0 +1,14 @@
import React from "react";
import styled from "styled-components";
const Root = styled.div`
display: flex;
flex-direction: column;
`;
function Users() {
return <Root>Users</Root>;
}
export default Users;