This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added a dashboard to index.tsx * for PR 91 * PR 91, also did format and lint
- Loading branch information
Showing
8 changed files
with
76 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
.maincontainer { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
margin-top: 0; | ||
height: 50vh; | ||
position: absolute; | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
margin-top: 0; | ||
height: 50vh; | ||
position: absolute; | ||
} | ||
|
||
.dashboardcontainer { | ||
overflow-y: scroll; | ||
height: 100vh; | ||
padding-left: 10px; | ||
overflow-y: scroll; | ||
padding-left: 10px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import styles from './header.module.css'; | ||
|
||
function Header() { | ||
return ( | ||
<header className={styles.header}> | ||
<img src='SailbotLogo.png' alt='Logo' className={styles.logo} /> | ||
<h1 className={styles.title}>UBC SAILBOT</h1> | ||
</header> | ||
); | ||
} | ||
|
||
export default Header; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.header { | ||
padding: 5px; | ||
margin: -10px; | ||
margin-bottom: 10px; | ||
display: flex; | ||
align-items: center; | ||
background: linear-gradient(to right, #26619c, #3498db); | ||
} | ||
|
||
.title { | ||
font-family: Verdana, Geneva, sans-serif; | ||
font-weight: 20px; | ||
color: white; | ||
margin-left: 20px; | ||
font-size: 30px; | ||
letter-spacing: 2px; | ||
} | ||
|
||
.logo { | ||
width: 30px; | ||
margin-left: 50px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters