Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Fix to display the footer dynamically #372

Merged
merged 1 commit into from
Mar 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ui/src/views/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { shallowEqual } from "react-redux"
import { Layout, Menu, Row, Col, Result, Button, Drawer, Avatar, Dropdown, Badge} from "antd"
import { SettingFilled } from "@ant-design/icons"
import { Helmet } from "react-helmet"
import moment from "moment"

import { useAppSelector, useAppDispatch } from "../redux/hooks"
import { init, searchDeployments, searchReviews, fetchLicense, notifyDeploymentEvent, notifyReviewmentEvent, mainSlice as slice } from "../redux/main"
Expand Down Expand Up @@ -157,7 +158,7 @@ export default function Main(props: any) {
</Col>
</Row>
</Header>
<Content style={{ padding: '50px 50px' }}>
<Content style={{ padding: "50px 50px" }}>
<Row>
<Col
span={22}
Expand All @@ -168,9 +169,9 @@ export default function Main(props: any) {
</Col>
</Row>
</Content>
<Footer style={{ textAlign: 'center' }}>
<Footer style={{ textAlign: "center" }}>
<LicenseFooter license={license} />
Gitploy ©2021 Created by Gitploy.IO
Gitploy ©{moment().format("YYYY")} Created by Gitploy.IO
</Footer>
</Layout>
)
Expand Down