Moved tabler compoments into this project for more control

This commit is contained in:
Jamie Curnow
2021-07-14 20:48:05 +10:00
parent 5ad5ad41c7
commit 52f3801b4e
37 changed files with 1247 additions and 12883 deletions

View File

@@ -1,9 +1,9 @@
import React, { ReactNode } from "react";
import { Footer } from "components";
import { Avatar, Dropdown, Navigation } from "components";
import { useAuthState, useUserState } from "context";
import styled from "styled-components";
import { Avatar, Dropdown, Navigation } from "tabler-react-typescript";
import { NavMenu } from "./NavMenu";
@@ -23,14 +23,12 @@ function SiteWrapper({ children }: Props) {
<Navigation.Header
theme="light"
brandContent={
<a href=".">
<img
src="/images/logo-bold-horizontal-grey.svg"
alt="Nginx Proxy Manager"
className="navbar-brand-image"
height="32"
/>
</a>
<img
src="/images/logo-bold-horizontal-grey.svg"
alt="Nginx Proxy Manager"
className="navbar-brand-image"
height="32"
/>
}
avatar={<Avatar size="sm" url={user.gravatarUrl} />}
profileName={user.nickname}