11import { Badge } from "@acme/ui/badge" ;
2- import { Button , buttonVariants } from "@acme/ui/button" ;
3- import { Copy , ExternalLink , Eye } from "lucide-react" ;
2+ import { Info } from "lucide-react" ;
43import { HypePoints } from "~/app/_components/hype-points" ;
54import { Protocols , ProtocolsSkeleton } from "~/app/_components/protocols" ;
65import { isAddress } from "viem" ;
76import { notFound } from "next/navigation" ;
87import { Suspense } from "react" ;
9- import { cn } from "@acme/ui" ;
10- import {
11- Dialog ,
12- DialogContent ,
13- DialogHeader ,
14- DialogTitle ,
15- DialogDescription ,
16- DialogFooter ,
17- DialogTrigger ,
18- } from "@acme/ui/dialog" ;
19- import Link from "next/link" ;
8+
209import Image from "next/image" ;
2110import { Address } from "./_components/address" ;
2211import { Actions } from "./_components/actions" ;
12+ import { Alert , AlertDescription , AlertTitle } from "@acme/ui/alert" ;
2313
2414export default async function AddressPage ( {
2515 params,
@@ -33,20 +23,31 @@ export default async function AddressPage({
3323 return (
3424 < main className = "container h-screen py-12" >
3525 < div className = "flex flex-col items-center justify-center gap-6" >
36- < div className = "flex flex-row gap-3 w-full justify-start items-center" >
37- < h1 className = "text-2xl font-semibold text-foreground" >
38- Address Overview
39- </ h1 >
40- < Badge variant = "outline" className = "rounded-full space-x-2" >
41- < Image
42- src = "/hype.png"
43- alt = "HyperEvm"
44- width = { 16 }
45- height = { 16 }
46- className = "rounded-full"
47- />
48- < span className = "text-sm font-medium" > HyperEVM</ span >
49- </ Badge >
26+ < div className = "flex flex-row gap-3 w-full justify-between items-center" >
27+ < div className = "flex flex-row gap-3 items-center" >
28+ < h1 className = "text-2xl font-semibold text-foreground" >
29+ Address Overview
30+ </ h1 >
31+ < Badge variant = "outline" className = "rounded-full space-x-2" >
32+ < Image
33+ src = "/hype.png"
34+ alt = "HyperEvm"
35+ width = { 16 }
36+ height = { 16 }
37+ className = "rounded-full"
38+ />
39+ < span className = "text-sm font-medium" > HyperEVM</ span >
40+ </ Badge >
41+ </ div >
42+ < Alert className = "max-w-lg" >
43+ < Info className = "w-4 h-4" />
44+ < AlertTitle className = "font-semibold" > Disclaimer</ AlertTitle >
45+ < AlertDescription className = "text-muted-foreground text-balance" >
46+ Some protocols may arise issues with their API which will be fixed
47+ as soon as possible. More protocols will be added in the near
48+ future.
49+ </ AlertDescription >
50+ </ Alert >
5051 </ div >
5152 < div className = "flex flex-row gap-3 w-full justify-between items-center" >
5253 < Address address = { address } />
0 commit comments