Skip to content

Commit

Permalink
added image in header
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradeepvarma333 committed Dec 19, 2023
1 parent 6f0fd83 commit 994aad8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion web/frontend/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function Footer() {
<footer className={styles.Footer}>
<p><Link className={styles.Footerlink} to="/about">About</Link></p>
<p><Link className={styles.Footerlink} to="/about">Code</Link></p>
<p><Link className={styles.Footerlink} to="/about">manuscript</Link></p>
<p><Link className={styles.Footerlink} to="/about">Manuscript</Link></p>
<p ><a className={styles.Footerlink} href="https://www.tri.global/privacy-policy/" target="_blank" rel="noreferrer">Privacy Policy</a></p>
<p className={styles.Footercopyright}>© Copyright Toyota Research Institute {year}</p>
</footer>
Expand Down
8 changes: 5 additions & 3 deletions web/frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import { AmplifySignOut } from '@aws-amplify/ui-react';
import styles from './components.module.css';

import logo from '../images/blackimage.png'

export default function Header() {
//var logo = require('../images/Toyota_Research_Institute_Logo.png')
console.log(logo)
return (
<header className={styles.AppHeader}>
<img src={logo} alt="Logo" width={"150px"}/>
<h3>Piro Synthesis Analyzer</h3>
<a href="/about" className={styles.Aboutlink}>About</a>
<button className={styles.Signout}>Sign Out</button>
<button className={styles.Signout}>SIGN OUT</button>
{AMPLIFY_ENABLED && <AmplifySignOut />}

</header>
);
}
13 changes: 7 additions & 6 deletions web/frontend/src/components/components.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
background: var(--grey-900, #212121);
.Signout{
display: flex;
height: 36px;
padding: 8px 14px;
justify-content: center;
align-items: center;
gap: 8px;
height: 36px;
padding: 8px 14px;
justify-content: center;
align-items: center;
gap: 8px;
border-radius: 8px;
font-size: 13px;
background: var(--white, #FFF);
box-shadow: 0px 2px 4px -2px rgba(33, 33, 33, 0.20), 0px 4px 6px -1px rgba(33, 33, 33, 0.20);
}
Expand All @@ -31,7 +32,7 @@ gap: 8px;
}
.Footer{
display: flex;
padding: 30px;
padding: 25px;
gap: 24px;
background: var(--grey-900, #212121);
align-items: center;
Expand Down
Binary file added web/frontend/src/images/blackimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion web/frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ code {

.app {
background-color: rgb(246, 246, 248);
min-height: 100%;
min-height: 76.2%;
padding: 12px;
}

0 comments on commit 994aad8

Please sign in to comment.