Skip to content

Commit

Permalink
Merge pull request #13 from uwcirg/feature/frontend-upates
Browse files Browse the repository at this point in the history
frontend logo, menu updates
  • Loading branch information
achen2401 authored Dec 31, 2024
2 parents 3943b12 + 5988c21 commit aef5ff0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/ui-client/src/containers/Attestation/Attestation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ class Attestation extends React.PureComponent<Props, State> {

{/* Top logo row (Leaf, ITHS, CD2H) */}
<div className={`${c}-leaf-logo-wrapper`}>
<img alt='leaf-logo' className={`${c}-leaf-logo`} src={process.env.PUBLIC_URL + '/images/logos/apps/leaf.png'} />
<img alt="leaf-logo" className="logo" src={process.env.PUBLIC_URL + '/images/logos/apps/logo_dark.png'} />
<div className={`${c}-title`}>
leaf
<span className={`${c}-leaf-version`}>v{pkg.version}</span>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/ui-client/src/containers/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class Header extends React.PureComponent<Props> {
<Navbar id={`${c}-container`} className="d-flex justify-content-between mb-3">
<div className={`${c}-content-side`}>
<div className={`${c}-title`} >
<img alt="leaf-logo" className="logo" src={process.env.PUBLIC_URL + '/images/logos/apps/leaf.png'} />
<div className="title">leaf</div>
<img alt="leaf-logo" className="logo" src={process.env.PUBLIC_URL + '/images/logos/apps/logo_light.png'} />
{/* <div className="title">leaf</div> */}
</div>
</div>
<div className="mx-auto">
Expand Down
12 changes: 12 additions & 0 deletions src/ui-client/src/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
margin-left: 8px;
font-size: 1.8rem;
}
#header-container .header-role:has(.header-role-icon-phi) {
display: none;
}
.header-content-side .header-title {

/* Example
Expand Down Expand Up @@ -125,8 +128,17 @@ button.concept-search-roots-dropdown-toggle.dropdown-toggle.btn.btn-secondary:ho
}

/* Attestation modal */
.attestation-leaf-logo {
border-radius: 0;
}
.attestation-modal-wrap .attestation-title {
margin-left: 4px;
font-size: 2rem;
}

/* Visualize */
.visualization-no-data-container {
color: #777;
margin-top: 24px;
}

0 comments on commit aef5ff0

Please sign in to comment.