Skip to content

Commit fa33e6f

Browse files
committed
add CTA
1 parent 46fcb8e commit fa33e6f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.changeset/few-apes-play.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"htmldocs": patch
3+
---
4+
5+
Add CTA

packages/htmldocs/src/app/components/context-editor-modal.tsx

+13
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,19 @@ const ContextEditorModal: React.FC<ContextEditorModalProps> = ({
114114
<DialogTitle>Fill Document</DialogTitle>
115115
</DialogHeader>
116116
<div className="flex flex-col flex-1 min-h-0 h-full">
117+
<div className="flex items-center justify-end bg-muted/50 -mx-6">
118+
<div className="px-6 py-2 text-sm text-muted-foreground">
119+
Want to generate documents via API?
120+
<a
121+
href="https://htmldocs.com/signup"
122+
target="_blank"
123+
rel="noopener noreferrer"
124+
className="text-primary hover:underline ml-1"
125+
>
126+
Sign up for an account
127+
</a>
128+
</div>
129+
</div>
117130
<div className="h-px bg-secondary w-full" />
118131
<div className="py-4 overflow-y-auto flex-1 min-h-0 h-full pr-4 w-[calc(100%+1rem)]">
119132
{documentSchema ? <ContextEditor /> : <p>Loading schema...</p>}

0 commit comments

Comments
 (0)