mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-28 11:40:04 +00:00
Use tabler-react-typescript, updated frontend deps
This commit is contained in:
14
frontend/src/pages/AccessLists/index.tsx
Normal file
14
frontend/src/pages/AccessLists/index.tsx
Normal 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;
|
14
frontend/src/pages/AuditLog/index.tsx
Normal file
14
frontend/src/pages/AuditLog/index.tsx
Normal 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;
|
14
frontend/src/pages/Certificates/index.tsx
Normal file
14
frontend/src/pages/Certificates/index.tsx
Normal 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;
|
@@ -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;
|
||||
|
14
frontend/src/pages/Hosts/index.tsx
Normal file
14
frontend/src/pages/Hosts/index.tsx
Normal 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;
|
14
frontend/src/pages/Settings/index.tsx
Normal file
14
frontend/src/pages/Settings/index.tsx
Normal 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;
|
14
frontend/src/pages/Users/index.tsx
Normal file
14
frontend/src/pages/Users/index.tsx
Normal 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;
|
Reference in New Issue
Block a user