Files
supabase/apps/www/_go/legal/amoe.tsx
Prashant Sridharan e2121aedd8 Fixed the sweepstakes landing page with new legal rules (#47246)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Added alternative means of entry forms and added a new email for legal
contest inquiries.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Updates**
* Updated the contact email for the contest winners list request in the
contest rules page, improving accessibility.
* Enhanced the legal/amoe form with integrated customer data management
capabilities for more efficient form submission and data handling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-23 22:26:28 +01:00

80 lines
2.0 KiB
TypeScript

import type { GoPageInput } from 'marketing'
const page: GoPageInput = {
template: 'lead-gen',
slug: 'legal/amoe',
metadata: {
title: 'Alternative Mode of Entry',
description: 'Submit your entry for Supabase promotions without making a purchase.',
},
hero: {
title: 'Alternative Mode of Entry',
description: 'Enter without purchase. Complete the form below.',
},
sections: [
{
type: 'form',
id: 'form',
title: 'Enter',
fields: [
{
type: 'text',
name: 'first_name',
label: 'First Name',
placeholder: 'First Name',
required: true,
half: true,
},
{
type: 'text',
name: 'last_name',
label: 'Last Name',
placeholder: 'Last Name',
required: true,
half: true,
},
{
type: 'email',
name: 'email_address',
label: 'Email Address',
placeholder: 'Work email',
required: true,
},
{
type: 'text',
name: 'company_name',
label: 'Company',
placeholder: 'Company (optional)',
required: false,
},
],
submitLabel: 'Submit',
successRedirect: '/go/legal/amoe-thankyou',
disclaimer:
'By submitting this form, I confirm that I have read and understood the [Privacy Policy](https://supabase.com/privacy).',
crm: {
customerio: {
event: 'amoe_entered',
profileMap: {
email_address: 'email',
first_name: 'first_name',
last_name: 'last_name',
company_name: 'company_name',
},
},
notion: {
database_id: '3885004b775f80b98198f7497946e54d',
columnMap: {
first_name: 'First Name',
last_name: 'Last Name',
email_address: 'Email',
company_name: 'Company',
},
},
},
},
],
}
export default page