Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HeaderComponent #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tschanomis
Copy link
Contributor

@tschanomis tschanomis commented Jan 23, 2025

Move the page header into a new HeaderComponent.

Comment on lines +3 to +6

import Status from "../statusComponent/StatusComponent";

import { StatusProps } from "../statusComponent/type";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import Status from "../statusComponent/StatusComponent";
import { StatusProps } from "../statusComponent/type";
import Status from "../statusComponent/StatusComponent";
import { StatusProps } from "../statusComponent/type";

@@ -2,12 +2,11 @@

import { useState } from "react";
import useWebSocket from "react-use-websocket";

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Comment on lines -45 to -48
<div className="flex flex-row justify-center">
<div className="pt-10 pb-20 px-10">
<div className="flex flex-row min-w-fit justify-center flex-nowrap text-nowrap">
<div className="basis-1/4 flex flex-col justify-center items-center">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's some magic in there which broke the page center alignment when being removed.

@TheoBrigitte TheoBrigitte changed the title feat HeaderComponent Add HeaderComponent Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants