Fix text in global footer

This commit is contained in:
Kailash Nadh 2019-01-04 18:41:21 +05:30
parent ac2234a838
commit 9fc23a89de
1 changed files with 7 additions and 2 deletions

View File

@ -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 &copy; 2018. MIT License. <span className="text-small">
<a href="https://listmonk.app" rel="noreferrer noopener" target="_blank">listmonk</a>
{" "}
&copy; 2019 { year != 2019 ? " - " + year : "" }
</span>
</Footer> </Footer>
</Layout> </Layout>
</Layout> </Layout>