feat: add beta badge

This commit is contained in:
0xzion
2024-08-16 00:07:13 +08:00
parent f7ef69d10f
commit a0c8b573d1
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ import { Logo } from '@/components/Logo'
import { Profile } from '@/components/Profile/Profile'
import { SocialNav } from '@/components/SocialNav'
import { SpaceFooter } from '@/components/SpaceFooter'
import { Badge } from '@/components/ui/badge'
import { Nav } from './Nav'
export default function Layout({ children }: PropsWithChildren) {
@@ -14,6 +15,9 @@ export default function Layout({ children }: PropsWithChildren) {
<div className="font-bold" style={{ fontFamily: 'Merienda' }}>
PenX
</div>
<Badge variant="outline" className="border-black font-semibold">
Beta on Arbitrum sepolia
</Badge>
</div>
<Nav />

View File

@@ -5,7 +5,7 @@ import { UserAvatar } from '@/components/UserAvatar'
import { PostWithSpace } from '@/hooks/usePost'
import { usePostTrades } from '@/hooks/usePostTrades'
import { precision } from '@/lib/math'
import { cn, getEnsAvatar, shortenAddress } from '@/lib/utils'
import { cn, shortenAddress } from '@/lib/utils'
interface Props {
post: PostWithSpace