Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Added a header to index.tsx #91

Merged
merged 3 commits into from
Feb 10, 2024
Merged

Added a header to index.tsx #91

merged 3 commits into from
Feb 10, 2024

Conversation

fyang151
Copy link
Contributor

@fyang151 fyang151 commented Feb 2, 2024

Description

Added Header component to index.tsx
Created Header.tsx inside components
Added SailbotLogo.png inside public

Verification

  • there was some white space around the header, used negative margin to eliminate this, looking for more intuitive solution

Resources

@fyang151 fyang151 requested a review from jahn18 as a code owner February 2, 2024 10:40
Copy link
Member

@jahn18 jahn18 left a comment

Choose a reason for hiding this comment

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

Solid work!

@fyang151 fyang151 changed the title Added a dashboard to index.tsx Added a header to index.tsx Feb 3, 2024
@jahn18
Copy link
Member

jahn18 commented Feb 3, 2024

Todo:

Copy link
Member

@jahn18 jahn18 left a comment

Choose a reason for hiding this comment

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

Very minor comments:

  • You left a console.log in the code so that needs to be removed.
  • The pipeline is failing because of lint checks. To fix this, you want to go into the docker desktop, click on the website container, go into the tab labelled exec, then run the commands npm run format and npm run lint. Then commit whatever files the linter has reformatted.

Thanks for getting rid of the extra vertical scroll :)

views/components/Header/Header.tsx Outdated Show resolved Hide resolved
@fyang151
Copy link
Contributor Author

fyang151 commented Feb 9, 2024 via email

Copy link
Member

@jahn18 jahn18 left a comment

Choose a reason for hiding this comment

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

Thanks, looks great!

@fyang151 fyang151 merged commit 9db9660 into main Feb 10, 2024
10 checks passed
@fyang151 fyang151 deleted the freds-dashboard-branch branch February 10, 2024 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UBC Sailbot Header to Website
2 participants