Commit fbe2531 1 parent 56aedf1 commit fbe2531 Copy full SHA for fbe2531
File tree 2 files changed +5
-5
lines changed
component-library/pages/legacy/Layout
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ export const RucioAppLayout = (props: QueryContextLayoutProps) => {
39
39
siteHeaderViewModel . availableAccounts ?. map ( ( user : User ) => {
40
40
return user . rucioAccount ;
41
41
} ) ?? [ ] ,
42
- rucioProjectLink : 'rucio.cern.ch' ,
43
- experimentProjectLink : 'atlas.cern' ,
42
+ rucioProjectLink : 'https:// rucio.cern.ch' ,
43
+ experimentProjectLink : process . env . PROJECT_URL ,
44
44
} }
45
45
>
46
46
{ props . children }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface LayoutViewModel {
15
15
accountActive : string ;
16
16
accountsPossible : string [ ] ;
17
17
rucioProjectLink : string ;
18
- experimentProjectLink : string ;
18
+ experimentProjectLink ? : string ;
19
19
}
20
20
21
21
export const Layout = ( props : { children : React . ReactNode ; LVM : LayoutViewModel } ) => {
@@ -155,10 +155,10 @@ export const Layout = (props: { children: React.ReactNode; LVM: LayoutViewModel
155
155
</ span >
156
156
157
157
< span className = "flex flex-row space-x-1" >
158
- < a className = "w-12 h-12" href = { '//' + props . LVM . rucioProjectLink } >
158
+ < a className = "w-12 h-12" href = { props . LVM . rucioProjectLink } >
159
159
< Image src = "/logocropped.svg" alt = "Rucio Logo" width = { 43 } height = { 43 } />
160
160
</ a >
161
- < a className = "w-12 h-12" href = { '//' + props . LVM . experimentProjectLink } >
161
+ < a className = "w-12 h-12" href = { props . LVM . experimentProjectLink } >
162
162
< Image src = "/experiment-logo.png" alt = "Experiment Logo" width = { 53 } height = { 53 } />
163
163
</ a >
164
164
</ span >
You can’t perform that action at this time.
0 commit comments