This repository was archived by the owner on Mar 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export interface BaseLayoutProps {
1414 extraHeaderStyle ?: SystemStyleObject ;
1515 extraStyle ?: SystemStyleObject ;
1616 showHeader ?: boolean ;
17+ logoText ?: string ;
1718}
1819
1920export default ( {
@@ -23,6 +24,7 @@ export default ({
2324 extraHeaderStyle = { } ,
2425 extraStyle = { } ,
2526 showHeader = true ,
27+ logoText = "Splitgraph" ,
2628} : BaseLayoutProps ) => {
2729 const containerStyle = {
2830 // maxWidth: '100vw',
@@ -66,7 +68,7 @@ export default ({
6668 < LogoImage
6769 logoURL = { "/static/splitgraph_logo_light_nocircle.svg" }
6870 />
69- < LogoText />
71+ < LogoText text = { logoText } />
7072 </ a >
7173 </ HeaderLeft >
7274 < HeaderCenter > { headerCenter } </ HeaderCenter >
Original file line number Diff line number Diff line change 11// @jsx jsx
22// @ts -ignore
3- import { jsx } from ' theme-ui' ;
4- import * as React from ' react' ;
3+ import { jsx } from " theme-ui" ;
4+ import * as React from " react" ;
55
6- export interface ILogoTextProps { }
6+ export interface ILogoTextProps {
7+ text ?: string ;
8+ }
79
8- export default ( { } : ILogoTextProps ) => {
9- return < span className = "logo-text" > Splitgraph </ span > ;
10+ export default ( { text = "Splitgraph" } : ILogoTextProps ) => {
11+ return < span className = "logo-text" > { text } </ span > ;
1012} ;
You can’t perform that action at this time.
0 commit comments