Fix text in global footer
This commit is contained in:
parent
ac2234a838
commit
9fc23a89de
|
@ -20,6 +20,7 @@ import Media from "./Media";
|
||||||
|
|
||||||
const { Content, Footer, Sider } = Layout
|
const { Content, Footer, Sider } = Layout
|
||||||
const SubMenu = Menu.SubMenu
|
const SubMenu = Menu.SubMenu
|
||||||
|
const year = new Date().getUTCFullYear()
|
||||||
|
|
||||||
class Base extends React.Component {
|
class Base extends React.Component {
|
||||||
state = {
|
state = {
|
||||||
|
@ -99,8 +100,12 @@ class Base extends React.Component {
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</Content>
|
</Content>
|
||||||
<Footer style={{ textAlign: "center" }}>
|
<Footer>
|
||||||
listmonk © 2018. MIT License.
|
<span className="text-small">
|
||||||
|
<a href="https://listmonk.app" rel="noreferrer noopener" target="_blank">listmonk</a>
|
||||||
|
{" "}
|
||||||
|
© 2019 { year != 2019 ? " - " + year : "" }
|
||||||
|
</span>
|
||||||
</Footer>
|
</Footer>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Loading…
Reference in New Issue