add app version to the header
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
e4cad72c43
commit
9af710179f
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.2.12",
|
"version": "0.2.13",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -50,6 +50,7 @@ import ShowerIcon from '@mui/icons-material/Shower';
|
|||||||
import { useTokenSymbol } from "../../hooks/tokens";
|
import { useTokenSymbol } from "../../hooks/tokens";
|
||||||
import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices";
|
import { useFtsoPrice, useGhstPrice, useGhostedSupplyPrice } from "../../hooks/prices";
|
||||||
import { useLiveBonds } from "../../hooks/bonds/index";
|
import { useLiveBonds } from "../../hooks/bonds/index";
|
||||||
|
import pckg from "../../../package.json"
|
||||||
|
|
||||||
const PREFIX = "NavContent";
|
const PREFIX = "NavContent";
|
||||||
|
|
||||||
@ -84,6 +85,9 @@ const NavContent = ({ chainId, addressChainId }) => {
|
|||||||
component={GhostIcon}
|
component={GhostIcon}
|
||||||
style={{ width: "150px", height: "150px" }}
|
style={{ width: "150px", height: "150px" }}
|
||||||
/>
|
/>
|
||||||
|
<Box mb="10px" mt="-40px" fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
||||||
|
Version {pckg.version}
|
||||||
|
</Box>
|
||||||
</Link>
|
</Link>
|
||||||
<Box display="flex" flexDirection="column" mt="10px">
|
<Box display="flex" flexDirection="column" mt="10px">
|
||||||
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
<Box fontSize="12px" fontWeight="500" lineHeight={"15px"}>
|
||||||
|
Loading…
Reference in New Issue
Block a user