@@ -40,24 +40,50 @@ export function OASSelector() {
4040 } ;
4141
4242 return (
43- < Card className = "mx-auto max-w-sm " >
43+ < Card className = "mx-auto max-w-2xl " >
4444 < CardHeader >
45- < CardTitle className = "text-2xl" > AEP UI</ CardTitle >
46- < CardDescription >
47- Enter a URL to your AEP-compliant OpenAPI Spec to continue.
45+ < CardTitle className = "text-2xl" > AEP Explorer</ CardTitle >
46+ < CardDescription className = "space-y-2" >
47+ < p >
48+ A web interface for exploring and interacting with{ " " }
49+ < a
50+ href = "https://aep.dev"
51+ target = "_blank"
52+ rel = "noopener noreferrer"
53+ className = "underline hover:text-foreground"
54+ >
55+ AEP-compliant
56+ </ a > { " " }
57+ APIs.
58+ </ p >
59+ < p className = "pt-2" >
60+ < strong > What you can do:</ strong >
61+ </ p >
62+ < ul className = "list-disc list-inside space-y-1 text-sm" >
63+ < li > View all resources exposed by your API</ li >
64+ < li > Browse and filter objects within collections</ li >
65+ < li > Create, read, update, and delete resources</ li >
66+ < li > Explore resource relationships and custom methods</ li >
67+ </ ul >
68+ < p className = "pt-2" >
69+ Enter your AEP-compliant OpenAPI Spec URL below to get started.
70+ </ p >
4871 </ CardDescription >
4972 </ CardHeader >
5073 < CardContent >
5174 < div className = "grid gap-4" >
5275 < div className = "grid gap-2" >
53- < Label htmlFor = "spec" > OpenAPI Spec</ Label >
76+ < Label htmlFor = "spec" > OpenAPI Spec URL </ Label >
5477 < Input
5578 id = "spec"
5679 type = "url"
57- placeholder = "example.com/openapi.json"
80+ placeholder = "https:// example.com/openapi.json"
5881 onChange = { ( event ) => setState ( { ...state , url : event . target . value } ) }
5982 required
6083 />
84+ < p className = "text-xs text-muted-foreground" >
85+ The URL should point to a valid OpenAPI 3.0+ specification for an AEP-compliant API.
86+ </ p >
6187 </ div >
6288 < div className = "grid gap-2" >
6389 < Label htmlFor = "prefix" > Path Prefix (optional)</ Label >
@@ -67,9 +93,12 @@ export function OASSelector() {
6793 placeholder = "/api/v1"
6894 onChange = { ( event ) => setState ( { ...state , prefix : event . target . value } ) }
6995 />
96+ < p className = "text-xs text-muted-foreground" >
97+ If your API uses a path prefix (e.g., /api/v1), specify it here.
98+ </ p >
7099 </ div >
71100 < Button onClick = { onSubmit } type = "submit" className = "w-full" >
72- Continue
101+ Explore Resources
73102 </ Button >
74103 </ div >
75104 </ CardContent >
0 commit comments