From 40f7241550a34951db51df39b2f9438ed8eae865 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 7 Mar 2024 11:48:34 +0100 Subject: [PATCH] Formatting and typing --- frontend/postcss.config.js | 2 +- frontend/src/Components/BasicWindow.tsx | 24 +++++---- frontend/src/Components/Button.tsx | 24 ++++++--- frontend/src/Components/Footer.tsx | 8 +-- frontend/src/Components/Header.tsx | 45 ++++++++++------ .../ProjectManagerPages/PMProjectPage.tsx | 54 +++++++++++-------- .../src/Pages/UserPages/UserProjectPage.tsx | 54 +++++++++++-------- frontend/src/Pages/YourProjectsPage.tsx | 46 ++++++++-------- frontend/tailwind.config.js | 8 +-- 9 files changed, 155 insertions(+), 110 deletions(-) diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js index 2e7af2b..2aa7205 100644 --- a/frontend/postcss.config.js +++ b/frontend/postcss.config.js @@ -3,4 +3,4 @@ export default { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/frontend/src/Components/BasicWindow.tsx b/frontend/src/Components/BasicWindow.tsx index 9899fa1..1835d6a 100644 --- a/frontend/src/Components/BasicWindow.tsx +++ b/frontend/src/Components/BasicWindow.tsx @@ -1,18 +1,22 @@ -import Header from './Header'; -import Footer from './Footer'; +import Header from "./Header"; +import Footer from "./Footer"; -function BasicWindow({ username, content, buttons }: { username: string, content: React.ReactNode, buttons:React.ReactNode }) { +function BasicWindow({ + username, + content, + buttons, +}: { + username: string; + content: React.ReactNode; + buttons: React.ReactNode; +}): JSX.Element { return (