4
4
import { TapSearchPanel } from 'firefly/ui/tap/TapSearchRootPanel.jsx' ;
5
5
import { defaultTheme } from 'firefly/ui/ThemeSetup.js' ;
6
6
import React from 'react' ;
7
+ import { set } from 'lodash' ;
8
+
7
9
import { firefly } from 'firefly/Firefly.js' ;
8
10
import {
9
11
makeDefImageSearchActions ,
@@ -15,6 +17,7 @@ import {getFireflyViewerWebApiCommands} from 'firefly/api/webApiCommands/ViewerW
15
17
import './suit.css' ;
16
18
import { makeLsstClickToAction , makeLsstTapEntry , LSST_DP02_DC2 , LSST_DP03_SSO } from './actions.jsx' ;
17
19
import { RubinLanding } from './RubinLanding.jsx' ;
20
+ import APP_ICON from '../html/images/rubin-favicon-transparent-45px.png' ;
18
21
19
22
// import SUIT_ICO from 'html/images/rubin_logo_transparent-70.png';
20
23
@@ -30,9 +33,7 @@ const LSST_DP02_DC2_IMAGES= LSST_DP02_DC2+'-images';
30
33
*/
31
34
let props = {
32
35
showUserInfo : true ,
33
- // appIcon: getRootURL() +'images/rubin_logo_transparent-40.png',
34
- appIcon : getRootURL ( ) + 'images/rubin-favicon-transparent-45px.png' ,
35
- bannerLeftStyle :{ margin : '3px 10px 0 10px' } ,
36
+ appIcon : < img src = { APP_ICON } /> ,
36
37
showViewsSwitch : true ,
37
38
menu : [
38
39
{ label : 'DP0.2 Images' , action : LSST_DP02_DC2_IMAGES , primary :true , category :RUBIN ,
@@ -53,6 +54,7 @@ let props = {
53
54
appTitle : 'Rubin Portal' ,
54
55
landingPage : < RubinLanding /> ,
55
56
fileDropEventAction : 'FileUploadDropDownCmd' ,
57
+ slotProps : set ( { } , 'banner.slotProps.icon.style' , { margin : '3px 10px 0 10px' } ) ,
56
58
57
59
58
60
dropdownPanels : [
0 commit comments