diff --git a/packages/app/src/components/Settings/index.jsx b/packages/app/src/components/Settings/index.jsx index 19847625..6a6999da 100755 --- a/packages/app/src/components/Settings/index.jsx +++ b/packages/app/src/components/Settings/index.jsx @@ -24,6 +24,34 @@ const ItemTypes = { SliderColorPicker: SliderPicker, } +const SettingsFooter = () => { + const isDevMode = window.__evite?.env?.NODE_ENV !== "production" + + return
+
+
{config.app?.siteName}
+
+ + v{window.app.version} + +
+
+ + {isDevMode ? : } + {isDevMode ? "development" : "stable"} + +
+
+
+ + + {t => t("about")} + + +
+
+} + const SettingItem = (props) => { let { item } = props @@ -397,42 +425,17 @@ export default class SettingsMenu extends React.PureComponent { } render() { - const isDevMode = window.__evite?.env?.NODE_ENV !== "production" + return
+ + {this.generateSettingsTabs()} + - return ( -
- - {this.generateSettingsTabs()} - -
-
-
{config.app?.siteName}
-
- - v{window.app.version} - -
-
- - {isDevMode ? : } - {isDevMode ? "development" : "stable"} - -
-
-
- - - {t => t("about")} - - -
-
-
- ) + +
} } \ No newline at end of file