Skip to content

Commit

Permalink
add link to github releases, fix img styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisgsmith committed Aug 14, 2024
1 parent 17be306 commit 95a825c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ VITE_CWMS_API_URL=https://cwms-data.usace.army.mil/cwms-data
# Keycloak
VITE_KC_URL=https://identity.sec.usace.army.mil/auth/
VITE_KC_REALM=cwbi
VITE_KC_CLIENT_ID=midas
VITE_KC_CLIENT_ID=midas
20 changes: 19 additions & 1 deletion src/app-components/hero/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,29 @@ const Hero = () => (
<img
src={cwbiLogo}
title='CWBI Home'
height='150px'
height='143px'
className='pointer text-light'
alt='CWBI Logo'
onClick={() => window.open('https://cwbi.usace.army.mil/', '_blank')}
/>
<a
className='mt-4 d-block pointer'
title='Link to API Release Notes'
href='https://github.com/USACE/instrumentation-ui/releases'
target='_blank'
rel='noreferrer'
>
UI Release Notes
</a>
<a
className='mt-2 d-block pointer'
title='Link to API Release Notes'
href='https://github.com/USACE/instrumentation-api/releases'
target='_blank'
rel='noreferrer'
>
API Release Notes
</a>
</div>
<div className='d-flex justify-content-center align-items-center flex-column h-100'>
<h1 className='text-light'>
Expand Down
4 changes: 3 additions & 1 deletion src/app-components/hero/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
.logo-left {
margin-top: 108px;
margin-left: 35px;
text-align: center;
}

.logo-right {
margin-top: 95px;
margin-right: 25px;
text-align: center;
}
}
}

0 comments on commit 95a825c

Please sign in to comment.