diff --git a/src/pages/About.tsx b/src/pages/About.tsx index 931300b..ba56ef0 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -106,7 +106,87 @@ class AboutPage extends Component { return (
-
+
+ { + this.state.repository? + + + + + : null + } +
+
+ + {this.state.brandName? this.state.brandName: "Hyperspace"} + + Version {`${this.state? this.state.versionNumber: "1.0.x"} ${this.state && this.state.brandName !== "Hyperspace"? "(Hyperspace-like)": ""}`} +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
{ - {this.state.instance ? this.state.instance.uri: "Loading..."} +
+ {this.state.instance ? this.state.instance.uri: "Loading..."} + Server version {this.state.instance? this.state.instance.version: "x.x.x"} +
{(localStorage['isPleroma'] == "false") && @@ -124,7 +207,7 @@ class AboutPage extends Component { @@ -175,101 +258,6 @@ class AboutPage extends Component { - - - - - - - - - -
- -
- - -
-
- { - this.state.repository? - - - - - : null - } -
- - {this.state.brandName? this.state.brandName: "Hyperspace"} - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

diff --git a/src/pages/PageLayout.styles.tsx b/src/pages/PageLayout.styles.tsx index 70a0cd7..c7c81c3 100644 --- a/src/pages/PageLayout.styles.tsx +++ b/src/pages/PageLayout.styles.tsx @@ -253,7 +253,7 @@ export const styles = (theme: Theme) => createStyles({ height: 128 }, instanceHeaderPaper: { - height: 200, + height: 150, backgroundPosition: "center", backgroundRepeat: "no-repeat", backgroundSize: "cover", @@ -266,9 +266,11 @@ export const styles = (theme: Theme) => createStyles({ position: "absolute", bottom: theme.spacing.unit, left: theme.spacing.unit * 2, - color: theme.palette.common.white, - textShadow: `0 0 4px ${theme.palette.grey[700]}`, - fontWeight: 600 + '& *': { + color: theme.palette.common.white, + textShadow: `0 0 4px ${theme.palette.grey[700]}`, + fontWeight: 600, + }, }, instanceToolbar: { position: "absolute",