Skip to content

Commit 316e391

Browse files
committed
Add powered by jupyter logo
1 parent 3669151 commit 316e391

File tree

3 files changed

+146
-13
lines changed

3 files changed

+146
-13
lines changed

src/app.jsx

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import failsLogo from './logo/logo2.svg'
4949
import failsLogoLong from './logo/logo1.svg'
5050
import failsLogoExp from './logo/logo2exp.svg'
5151
import failsLogoLongExp from './logo/logo1exp.svg'
52+
import powerByJupyterLogo from './jupyterlogo/poweredbyjupyter-rec-lightbg.svg'
5253
import Dexie from 'dexie'
5354
import JSZip from 'jszip'
5455
import QrScanner from 'qr-scanner'
@@ -2899,21 +2900,40 @@ class App extends Component {
28992900
</Fragment>
29002901
}
29012902
footer={
2902-
<Fragment>
2903-
Build upon the shoulders of giants, see{' '}
2904-
<button
2905-
onClick={() => {
2906-
if (this.jupyteredit.current) {
2907-
this.jupyterLicense()
2908-
}
2903+
<div
2904+
style={{
2905+
display: 'flex',
2906+
alignItems: 'center',
2907+
justifyContent: 'space-between'
2908+
}}
2909+
>
2910+
<img
2911+
src={powerByJupyterLogo}
2912+
style={{ width: '120px', marginRight: '10px' }}
2913+
alt='powered by jupyter logo'
2914+
/>
2915+
<div
2916+
style={{
2917+
marginLeft: 'auto',
2918+
wordWrap: 'break-word',
2919+
textAlign: 'right'
29092920
}}
2910-
className='link-button'
29112921
>
2912-
{' '}
2913-
OSS attribution and licensing
2914-
</button>
2915-
of Jupyter Lite related code.
2916-
</Fragment>
2922+
Build upon the shoulders of giants, see{' '}
2923+
<button
2924+
onClick={() => {
2925+
if (this.jupyteredit.current) {
2926+
this.jupyterLicense()
2927+
}
2928+
}}
2929+
className='link-button'
2930+
>
2931+
{' '}
2932+
OSS attribution and licensing
2933+
</button>
2934+
of Jupyter Lite related code.
2935+
</div>
2936+
</div>
29172937
}
29182938
style={
29192939
this.state?.selectedJupyterApp?.appid
Lines changed: 106 additions & 0 deletions
Loading

src/jupyterlogo/readme.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The logos in this directory are not covered by the license of this package.
2+
The logos indicate the use of Jupyter inside of FAILs and are subject
3+
to the trademark usage policy of Jupyter trademarks.
4+
5+
The Jupyter logos (in several variants) are trademarks of LF Charities.
6+
7+
The logos are used inside FAILs according to their nominative use policy.

0 commit comments

Comments
 (0)