Files
2026-04-13 14:29:49 -03:00

82 lines
1.9 KiB
TypeScript

import { Button, Column, Heading, Row, Section, Text } from 'react-email';
import { Layout } from '../_components/layout';
export const component = (
<Section
style={{
textAlign: 'center',
paddingTop: 16,
paddingBottom: 16,
}}
>
<Text
style={{
marginTop: 8,
marginBottom: 8,
fontSize: 18,
lineHeight: '28px',
fontWeight: 600,
color: 'rgb(79,70,229)',
}}
>
Your opinion matters
</Text>
<Heading
as="h1"
style={{
margin: '0px',
marginTop: 8,
fontSize: 30,
lineHeight: '36px',
fontWeight: 600,
color: 'rgb(17,24,39)',
}}
>
We want to hear you
</Heading>
<Text
style={{
fontSize: 16,
lineHeight: '24px',
color: 'rgb(55,65,81)',
}}
>
How would you rate your experience using our product in a scale from 1 to
5?
</Text>
<Row>
<Column align="center">
<table>
<tr>
{[1, 2, 3, 4, 5].map((number) => (
<td align="center" key={number} style={{ padding: 4 }}>
<Button
// Replace with the proper URL that saves the selected number
href="https://react.email"
style={{
height: 20,
width: 20,
borderRadius: 8,
borderWidth: 1,
borderStyle: 'solid',
borderColor: 'rgb(79,70,229)',
padding: 8,
fontWeight: 600,
color: 'rgb(79,70,229)',
}}
>
{number}
</Button>
</td>
))}
</tr>
</table>
</Column>
</Row>
</Section>
);
export default () => {
return <Layout>{component}</Layout>;
};