File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import styles from 'components/Sidebar/Sidebar.scss' ;
3+
4+ export default function NoodlSidebarHeader ( props ) {
5+ return (
6+ < div className = { styles . noodlheader } >
7+ < div className = { styles . version } >
8+ < div >
9+ Noodl Cloud Services
10+ </ div >
11+ </ div >
12+ </ div >
13+ ) ;
14+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import FooterMenu from 'components/Sidebar/FooterMenu.react';
1313import React , { useState } from 'react' ;
1414import ParseApp from 'lib/ParseApp' ;
1515import SidebarHeader from 'components/Sidebar/SidebarHeader.react' ;
16+ import NoodlSidebarHeader from 'components/Sidebar/NoodlSidebarHeader.react' ;
1617import SidebarSection from 'components/Sidebar/SidebarSection.react' ;
1718import SidebarSubItem from 'components/Sidebar/SidebarSubItem.react' ;
1819import styles from 'components/Sidebar/Sidebar.scss' ;
@@ -102,8 +103,11 @@ const Sidebar = ({
102103 }
103104
104105 return < div className = { styles . sidebar } >
105- < SidebarHeader />
106+ < NoodlSidebarHeader />
106107 { sidebarContent }
108+ < div style = { { position : 'absolute' , bottom : 0 , left : 0 , right : 0 } } >
109+ < SidebarHeader />
110+ </ div >
107111 { /* <div className={styles.footer}> */ }
108112 { /* <a target='_blank' href='http://parseplatform.org/'>Open Source Hub</a>
109113 <a target='_blank' href='https://github.com/parse-community'>GitHub</a>
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ $footerHeight: 36px;
106106}
107107
108108.header {
109- background : #05283c ;
110109 height : $headerHeight ;
111110 padding : 10px 14px ;
112111
@@ -117,6 +116,12 @@ $footerHeight: 36px;
117116 }
118117}
119118
119+ .noodlheader {
120+ background : #05283c ;
121+ height : $headerHeight ;
122+ padding : 10px 14px ;
123+ }
124+
120125.currentApp , .menuRow {
121126 @include ellipsis ();
122127 display : block ;
You can’t perform that action at this time.
0 commit comments