Skip to content

Commit 0587acc

Browse files
committed
feat: improve homepage
1 parent c1ab0f7 commit 0587acc

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

src/components/Homepage.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ export default function Homepage() {
142142
}]'
143143
# 2. Tell Gotenberg where to upload the result (S3 PUT) \\
144144
--header 'Gotenberg-Webhook-Url: https://my-bucket.s3.amazonaws.com/out.pdf?Start=...' \\
145-
--header 'Gotenberg-Webhook-Method: PUT'
145+
--header 'Gotenberg-Webhook-Error-Url: https://my-api.com/errors' \\
146+
--header 'Gotenberg-Webhook-Method: PUT' \\
147+
# 3. Get notified when it's done \\
148+
--header 'Gotenberg-Webhook-Events-Url: https://my-api.com/events'
146149
`;
147150

148151
return (
@@ -461,6 +464,13 @@ export default function Homepage() {
461464
Gotenberg pushes the result to an S3 Presigned PUT URL.
462465
</span>
463466
</div>
467+
<div className={styles.capItem}>
468+
<strong>Webhook Events</strong>
469+
<span>
470+
Get notified with structured JSON events on completion or
471+
failure, separate from the result delivery.
472+
</span>
473+
</div>
464474
<div className={styles.capItem}>
465475
<strong>Efficiency</strong>
466476
<span>

src/components/Homepage.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,15 @@
811811
}
812812

813813
@media (max-width: 996px) {
814+
.radiantSection {
815+
overflow: visible;
816+
}
814817
.splitVisual {
818+
position: relative;
819+
top: auto;
820+
padding-top: 0;
821+
}
822+
.splitVisual::before {
815823
display: none;
816824
}
817825
.splitRow {

0 commit comments

Comments
 (0)