change page titles
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
7f01cc4c60
commit
2fca4651cc
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.49",
|
"version": "0.7.50",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -49,7 +49,7 @@ const Bonds = ({ chainId, address, connect }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
<PageTitle name={"Protocol Bonding"} subtitle={`Buy ${ftsoSymbol} from the protocol at a discount`} />
|
<PageTitle name={"Protocol Bonds"} subtitle={`(1, 1) Buy ${ftsoSymbol} at a treasury-backed discount`} />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
@ -320,7 +320,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageTitle name="GHOST Bridge" subtitle={`Bridge $${ghstSymbol} via the only pure Web3 protocol`} />
|
<PageTitle name="GHOST Bridge" subtitle={`(10, 10) Bridge ${ghstSymbol} into (10, 10) Stake²`} />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
@ -67,6 +67,7 @@ const Dex = ({ chainId, address, connect, config }) => {
|
|||||||
const [tokenAddressTop, setTokenAddressTop] = useState(EMPTY_ADDRESS);
|
const [tokenAddressTop, setTokenAddressTop] = useState(EMPTY_ADDRESS);
|
||||||
const [tokenAddressBottom, setTokenAddressBottom] = useState(FTSO_ADDRESSES[chainId]);
|
const [tokenAddressBottom, setTokenAddressBottom] = useState(FTSO_ADDRESSES[chainId]);
|
||||||
|
|
||||||
|
const { symbol: ftsoSymbol } = useTokenSymbol(chainId, "FTSO");
|
||||||
const { symbol: tokenNameTopInner } = useTokenSymbol(chainId, tokenAddressTop);
|
const { symbol: tokenNameTopInner } = useTokenSymbol(chainId, tokenAddressTop);
|
||||||
const { symbol: tokenNameBottomInner } = useTokenSymbol(chainId, tokenAddressBottom);
|
const { symbol: tokenNameBottomInner } = useTokenSymbol(chainId, tokenAddressBottom);
|
||||||
|
|
||||||
@ -240,8 +241,8 @@ const Dex = ({ chainId, address, connect, config }) => {
|
|||||||
</Helmet>
|
</Helmet>
|
||||||
|
|
||||||
<PageTitle
|
<PageTitle
|
||||||
name={`${pathname.name.charAt(0).toUpperCase() + pathname.name.slice(1).toLowerCase()} V2 Classic`}
|
name="DEX Swap"
|
||||||
subtitle="Swap via Uniswap V2 Fork"
|
subtitle={`(3, 3) Swap ${chainSymbol} for ${ftsoSymbol} and ${ftsoSymbol}-${chainSymbol} LP powered by ${pathname.name.charAt(0).toUpperCase() + pathname.name.slice(1).toLowerCase()} V2`}
|
||||||
/>
|
/>
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const Governance = ({ connect, config, address, chainId }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
<PageTitle name="Protocol Governance" subtitle={`Cast $${ghstSymbol} to facilitate DAO decisions`} />
|
<PageTitle name="Protocol Governance" subtitle={`Vote with ${ghstSymbol} on DAO proposals`} />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
@ -107,7 +107,7 @@ const NewProposal = ({ config, address, connect, chainId }) => {
|
|||||||
closeModal={() => setIsModalOpened(false)}
|
closeModal={() => setIsModalOpened(false)}
|
||||||
/>
|
/>
|
||||||
<Box>
|
<Box>
|
||||||
<PageTitle name="Create Proposal" subtitle="Submit your proposal to strengthen the DAO" />
|
<PageTitle name="Create Proposal" subtitle="Submit proposals to strengthen the DAO" />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
@ -193,7 +193,7 @@ const ProposalDetails = ({ chainId, address, connect, config }) => {
|
|||||||
name={`GDP-${id.slice(-5)}`}
|
name={`GDP-${id.slice(-5)}`}
|
||||||
subtitle={
|
subtitle={
|
||||||
<Typography component="span">
|
<Typography component="span">
|
||||||
{`Cast $${ghstSymbol} to shape this proposal's outcome`}
|
{`Cast ${ghstSymbol} to shape this proposal's outcome`}
|
||||||
</Typography>
|
</Typography>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -50,7 +50,7 @@ export const StakeContainer = ({ chainId, address, connect }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
<PageTitle name="Protocol Staking" subtitle={`Stake your ${ftsoSymbol} to earn rebase yields`} />
|
<PageTitle name="Protocol Staking" subtitle={`(3, 3) Stake ${ftsoSymbol} to earn rebase yields backed by protocol revenue`} />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
@ -82,7 +82,7 @@ const TreasuryDashboard = ({ chainId }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageTitle name="Protocol Metrics" subtitle="Confirm protocol health by auditing supply and reserves" />
|
<PageTitle name="Protocol Overview" subtitle="Confirm protocol health by monitoring supply and reserves" />
|
||||||
<Container
|
<Container
|
||||||
style={{
|
style={{
|
||||||
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
paddingLeft: isSmallScreen || isVerySmallScreen ? "0" : "3.3rem",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user