Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Redesign the 'broken' warning page

Kailash Nadh2a161a567ae0
diff --git a/frontend/my/src/App.js b/frontend/my/src/App.js
index 73a5d08d..3bdb86bc 100644
--- a/frontend/my/src/App.js
+++ b/frontend/my/src/App.js
@@ -5,6 +5,7 @@ import { Icon, notification } from "antd"
import axios from 'axios'
import qs from 'qs'
+import logo from "./static/listmonk.svg"
import Layout from './Layout'
import * as cs from './constants'
@@ -124,7 +125,12 @@ class App extends React.PureComponent {
if(!window.CONFIG) {
return(
<div className="broken">
- <h1><Icon type="frown" /> Something's not right</h1>
+ <p>
+ <img src={logo} alt="listmonk logo" />
+ </p>
+ <hr />
+
+ <h1><Icon type="warning" /> Something's not right</h1>
<p>The app configuration could not be loaded.
Please ensure that the app is running and then refresh this page.</p>
</div>
diff --git a/frontend/my/src/Layout.js b/frontend/my/src/Layout.js
index adb91cc2..dc3d7deb 100644
--- a/frontend/my/src/Layout.js
+++ b/frontend/my/src/Layout.js
@@ -3,7 +3,6 @@ import { Switch, Route } from "react-router-dom"
import { Link } from "react-router-dom"
import { Layout, Menu, Icon } from "antd"
-// import "antd/dist/antd.css"
import logo from "./static/listmonk.svg"
// Views.