diff --git a/.changeset/smooth-terms-stare.md b/.changeset/smooth-terms-stare.md new file mode 100644 index 0000000000..845148fadd --- /dev/null +++ b/.changeset/smooth-terms-stare.md @@ -0,0 +1,5 @@ +--- +'web-neutron': major +--- + +updated params page and token display in staking component diff --git a/apps/web-neutron/src/chainConfig/types.ts b/apps/web-neutron/src/chainConfig/types.ts index 45a4065b3d..eba5e2a6f5 100644 --- a/apps/web-neutron/src/chainConfig/types.ts +++ b/apps/web-neutron/src/chainConfig/types.ts @@ -147,7 +147,7 @@ export interface ChainConfig extends ChainSettings { keplr: string | undefined; provider: { primaryTokenUnit: string; - tokenunits: { + tokenUnits: { [token: string]: { display: string; exponent: number; diff --git a/apps/web-neutron/src/components/layout/index.tsx b/apps/web-neutron/src/components/layout/index.tsx new file mode 100644 index 0000000000..3a7e0aa70b --- /dev/null +++ b/apps/web-neutron/src/components/layout/index.tsx @@ -0,0 +1,54 @@ +import { motion, Transition, Variants } from 'framer-motion'; +import Banner, { getBannersLinks } from '@/components/banner'; +import Footer from '@/components/footer'; +import useStyles from '@/components/layout/styles'; +import type { LayoutProps } from '@/components/layout/types'; +import Nav from '@/components/nav'; +import Typography from '@mui/material/Typography'; +import useAppTranslation from '@/hooks/useAppTranslation'; + +const bannerLinks = getBannersLinks(); + +const variants: Variants = { + initial: { filter: 'blur(4px)' }, + animate: { filter: 'blur(0px)' }, + exit: { filter: 'blur(4px)' }, +}; + +const transition: Transition = { + duration: 1, +}; + +const Layout = (props: LayoutProps) => { + const { classes, cx } = useStyles(); + const { children, navTitle, className } = props; + const { t } = useAppTranslation('validators'); + + return ( + +
+