@@ -202,28 +202,15 @@ export default function CouponsPage() {
202202
203203 return (
204204 < div className = "flex flex-col gap-6 py-4" >
205- < div className = "flex items-start justify-between gap-4" >
206- < div className = "flex flex-col gap-1" >
207- < Header1 > Coupon Deals</ Header1 >
208- < Paragraph variant = "small" className = "text-text-dimmed max-w-prose" >
209- Apply a Stripe-tagged coupon to a customer's subscription. Lookup is
210- by Stripe customer email — often different from the user's
211- Trigger.dev email. Catalog is built from coupons in Stripe whose
212- metadata carries{ " " }
213- < code className = "rounded bg-charcoal-700 px-1" > trigger_deal_key</ code > .
214- </ Paragraph >
215- </ div >
216- < Form method = "post" reloadDocument >
217- < input type = "hidden" name = "intent" value = "refresh" />
218- < SimpleTooltip
219- button = {
220- < Button type = "submit" variant = "tertiary/small" >
221- Refresh deals
222- </ Button >
223- }
224- content = "Pull the latest tagged coupons from Stripe."
225- />
226- </ Form >
205+ < div className = "flex flex-col gap-1" >
206+ < Header1 > Coupon Deals</ Header1 >
207+ < Paragraph variant = "small" className = "text-text-dimmed max-w-prose" >
208+ Apply a Stripe-tagged coupon to a customer's subscription. Lookup is
209+ by Stripe customer email — often different from the user's
210+ Trigger.dev email. Catalog is built from coupons in Stripe whose
211+ metadata carries{ " " }
212+ < code className = "rounded bg-charcoal-700 px-1" > trigger_deal_key</ code > .
213+ </ Paragraph >
227214 </ div >
228215
229216 { appliedDeal && (
@@ -248,24 +235,26 @@ export default function CouponsPage() {
248235 </ div >
249236 ) }
250237
251- < Form method = "get" className = "flex items-end gap-3" >
252- < div className = "flex flex-1 flex-col gap-1" >
253- < Label > Stripe customer email</ Label >
254- < Input
255- type = "email"
256- name = "email"
257- defaultValue = { email ?? "" }
258- placeholder = "customer@example.com"
259- autoFocus = { ! email }
260- />
261- < Hint >
262- This is the email on the Stripe customer record, not necessarily the
263- user's Trigger.dev email.
264- </ Hint >
238+ < Form method = "get" className = "flex flex-col gap-1" >
239+ < Label > Stripe customer email</ Label >
240+ < div className = "flex items-center gap-3" >
241+ < div className = "flex-1" >
242+ < Input
243+ type = "email"
244+ name = "email"
245+ defaultValue = { email ?? "" }
246+ placeholder = "customer@example.com"
247+ autoFocus = { ! email }
248+ />
249+ </ div >
250+ < Button type = "submit" variant = "primary/medium" >
251+ Find orgs
252+ </ Button >
265253 </ div >
266- < Button type = "submit" variant = "primary/medium" >
267- Find orgs
268- </ Button >
254+ < Hint >
255+ This is the email on the Stripe customer record, not necessarily the
256+ user's Trigger.dev email.
257+ </ Hint >
269258 </ Form >
270259
271260 { matches === null ? (
0 commit comments