Skip to content

Commit 44386a7

Browse files
ostermanclaude
andcommitted
Update Slack and Office Hours embeds with improved sizing and security
- Replace HubspotForm with iframe embed for Office Hours - Update Slack embed with optimized height (380px) and left-justified layout - Add allow-popups to sandbox attributes for proper link functionality - Standardize iframe styling across both embeds using inline styles 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent db1ac16 commit 44386a7

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

website/docs/community/office-hours.mdx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,10 @@ sidebar_label: Office Hours
55
description: Office Hours with Cloud Posse
66
id: office-hours
77
---
8-
import HubspotForm from 'react-hubspot-form'
98

10-
# Office Hours Registration
11-
12-
<HubspotForm
13-
portalId='2197148'
14-
region="na1"
15-
formId='bbcd46fe-0b11-43aa-9214-33f319e52a01'
16-
onSubmit={() => console.log('Submit!')}
17-
onReady={(form) => console.log('Form ready!')}
18-
loading={<div>Loading...</div>}
9+
<iframe
10+
src="https://cloudposse.com/embed/office-hours?theme=dark&bg=transparent"
11+
style={{height: '380px', width: '100%', maxWidth: '80rem', borderRadius: '0.375rem', border: '0'}}
12+
title="Office Hours Registration"
13+
sandbox="allow-same-origin allow-scripts allow-forms allow-popups"
1914
/>

website/docs/community/slack.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Atmos has a great community of active users who are all more than willing to hel
1212

1313
<iframe
1414
src="https://cloudposse.com/embed/slack?theme=dark&bg=transparent"
15-
className="h-[700px] w-full max-w-3xl mx-auto rounded-md border-0"
15+
style={{height: '380px', width: '100%', maxWidth: '80rem', borderRadius: '0.375rem', border: '0'}}
1616
title="Join our Slack Community"
17-
sandbox="allow-same-origin allow-scripts allow-forms"
17+
sandbox="allow-same-origin allow-scripts allow-forms allow-popups"
1818
/>

0 commit comments

Comments
 (0)