From 057a6f9b1302939232bad86621b0ebac3dfe9c64 Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Sun, 9 Feb 2020 17:55:32 +0100 Subject: [PATCH] tab router header --- client/src/App.tsx | 10 +-- client/src/components/AvatarList.tsx | 4 +- client/src/components/Header.tsx | 4 +- client/src/components/ProgressBar.tsx | 33 +++++++-- client/src/components/TabRouter.tsx | 22 ++++++ client/src/components/TabRouterHeader.tsx | 77 ++++++++++++++++++++ client/src/controllers/ProjectController.tsx | 34 ++++++++- client/src/pages/Layout.tsx | 15 ++++ client/src/pages/ProjectPage.tsx | 28 +++++-- client/src/types/Project.ts | 3 +- client/src/types/Ticket.ts | 1 + client/src/types/User.ts | 4 +- client/src/viewModels/ProjectVM.ts | 27 ++++--- 13 files changed, 222 insertions(+), 40 deletions(-) create mode 100644 client/src/components/TabRouter.tsx create mode 100644 client/src/components/TabRouterHeader.tsx create mode 100644 client/src/pages/Layout.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx index 60f0aca..2400e59 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -1,16 +1,10 @@ import React, { FC } from "react"; import { AppRouter } from "./utils/router"; import "./App.css"; +import Layout from "./pages/Layout"; const App: FC = () => { - return ( - <> - {/* - */} - - {/*