Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
feat: add version to footer (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan authored Jan 9, 2024
1 parent 91170ad commit 0f60bac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@topos-protocol/faucet",
"version": "1.0.0",
"version": "1.2.0",
"description": "",
"scripts": {
"backend:build": "npm run build --workspace=backend",
Expand Down
17 changes: 13 additions & 4 deletions packages/frontend/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
import { Layout } from 'antd'
import { Col, Layout, Row } from 'antd'

import packageJson from '../../../../package.json'

const { Footer: AntdFooter } = Layout

const Footer = () => (
<AntdFooter style={{ textAlign: 'center' }}>zk Foundation ©2023</AntdFooter>
)
const Footer = () => {
return (
<AntdFooter>
<Row justify="center" gutter={8}>
<Col>zk Foundation © {new Date().getFullYear()}</Col>
<Col>v{packageJson.version}</Col>
</Row>
</AntdFooter>
)
}

export default Footer

0 comments on commit 0f60bac

Please sign in to comment.