File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Container from '@components/Container' ;
2-
2+ import { E84Logo } from './../../utils/constants' ;
33import styles from './Footer.module.scss' ;
44
55const Footer = ( { ...rest } ) => {
66 return (
77 < footer className = { styles . footer } { ...rest } >
88 < Container className = { `${ styles . footerContainer } ${ styles . footerLegal } ` } >
99 < p >
10- powered by < a href = "https://element84.com" target = "_blank" > Element 84 </ a > © { new Date ( ) . getFullYear ( ) }
10+ powered by < a href = "https://element84.com" target = "_blank" > { E84Logo } </ a > © { new Date ( ) . getFullYear ( ) }
1111 </ p >
1212 </ Container >
1313 </ footer >
Original file line number Diff line number Diff line change 88 UTurnArrowLeft
99} from '@vectopus/atlas-icons-react' ;
1010
11+ import { STATLogo } from './../../utils/constants' ;
1112import styles from './Header.module.scss' ;
1213
1314const Header = ( ) => {
@@ -18,8 +19,8 @@ const Header = () => {
1819 < header className = { styles . header } >
1920 < Container className = { styles . headerContainer } >
2021 < p className = { styles . headerTitle } >
22+ { STATLogo }
2123 < Link href = "/" >
22- { /* <Image src="/logo.png" alt="logo" width={35} height={35} /> */ }
2324 Task a Satellite
2425 </ Link >
2526 </ p >
Original file line number Diff line number Diff line change 1515 justify-content : space-between ;
1616 align-items : center ;
1717 width : 100% ;
18-
1918}
2019
2120.headerTitle {
2221 font-size : 1.6em ;
2322 font-weight : bold ;
2423 margin : 0 ;
25- }
24+ display : inline ;
2625
27- .headerLogo {
28- height : 1.6em ;
26+ svg {
27+ margin-left : 20px ;
28+ margin-right : 10px ;
29+ vertical-align : middle ;
30+ }
2931}
3032
3133.headerLinks {
6163 height : 35px ;
6264 background-color : $color-light-gray ;
6365 z-index : 9999 ;
66+ padding-left : 20px ;
67+ padding-top : 4px ;
6468
6569 .resetSearch ,
6670 .resetSearchIcon {
Original file line number Diff line number Diff line change 2121 & :before {
2222 display : table-cell ;
2323 position : absolute ;
24- top : 6 px ;
25- left : 6 px ;
24+ top : 5 px ;
25+ left : 5 px ;
2626 content : " " ;
2727 border-radius : 50% ;
2828 background-color : #FA00FF ;
Original file line number Diff line number Diff line change 11import { formatToFriendlyString } from 'src/utils' ;
2- import styles from './Sidebar.module.scss'
2+ import styles from './Sidebar.module.scss' ;
3+ import Image from 'next/image'
4+
5+ const imageIdToPath = {
6+ 'earthsearch' : '/EarthSearchLogo.jpg' ,
7+ 'planet' : '/PlanetLogo.png' ,
8+ 'umbra' : '/UmbraLogo.png' ,
9+ 'blacksky' : '/BlackSkyLogo.png'
10+ }
311
412export default function Opportunity ( {
513 title,
@@ -18,8 +26,10 @@ export default function Opportunity({
1826 onMouseEnter = { onMouseEnter }
1927 onMouseLeave = { onMouseLeave }
2028 >
29+ < div className = { styles . logoContainer } >
30+ < Image src = { imageIdToPath [ provider ] ?? '/logo.png' } width = '25' height = '25' />
31+ </ div >
2132 < h1 > { title } </ h1 >
22- < h2 > { provider } </ h2 >
2333 < div className = { styles . previewStartDate } >
2434 { formatToFriendlyString ( start ) ?? 'no start date given' }
2535 </ div >
Original file line number Diff line number Diff line change 184184
185185.opportunityPreview > h1 {
186186 font-size : medium ;
187+ position : absolute ;
188+ left : 25% ;
187189}
188190
189191.previewStartDate {
209211 padding-left : 10px ;
210212 color : black ;
211213}
214+
215+ .logoContainer {
216+ position : absolute ;
217+ width : 25% ;
218+ top : 20px ;
219+
220+ img {
221+ width : 80% ;
222+ padding-right : 10px ;
223+ height : fit-content ;
224+ vertical-align : middle ;
225+ }
226+ }
227+
You can’t perform that action at this time.
0 commit comments