| 19 | } |
| 20 | |
| 21 | export function ExtensionRejected({ |
| 22 | authorName = "Developer", |
| 23 | extensionName = "My Extension", |
| 24 | productId = "my-extension", |
| 25 | rejectionReason = "Please provide more details about your extension.", |
| 26 | }: ExtensionRejectedProps) { |
| 27 | const editUrl = `https://opencode.cafe/submit/${productId}/edit` |
| 28 | const guidelinesUrl = "https://opencode.cafe/guidelines" |
| 29 | |
| 30 | return ( |
| 31 | <Html> |
| 32 | <Head /> |
| 33 | <Preview>Your extension "{extensionName}" needs changes</Preview> |
| 34 | <Body style={main}> |
| 35 | <Container style={container}> |
| 36 | <Section style={logoSection}> |
| 37 | <Img |
| 38 | src="https://opencode.cafe/opencode_cafe_email.png" |
| 39 | width="150" |
| 40 | height="17" |
| 41 | alt="opencode.cafe" |
| 42 | /> |
| 43 | </Section> |
| 44 | |
| 45 | <Heading style={heading}>Extension Not Approved</Heading> |
| 46 | |
| 47 | <Text style={text}>Hi {authorName},</Text> |
| 48 | |
| 49 | <Text style={text}> |
| 50 | Your extension <strong>{extensionName}</strong> was reviewed but |
| 51 | wasn't approved at this time. |
| 52 | </Text> |
| 53 | |
| 54 | <Section style={reasonSection}> |
| 55 | <Text style={reasonLabel}>Reason:</Text> |
| 56 | <Text style={reasonText}>{rejectionReason}</Text> |
| 57 | </Section> |
| 58 | |
| 59 | <Text style={text}> |
| 60 | You can update your extension and resubmit for review. Check out our{" "} |
| 61 | <Link href={guidelinesUrl} style={link}> |
| 62 | submission guidelines |
| 63 | </Link>{" "} |
| 64 | for tips on what we look for. |
| 65 | </Text> |
| 66 | |
| 67 | <Section style={buttonSection}> |
| 68 | <Link href={editUrl} style={button}> |
| 69 | Edit & Resubmit |
| 70 | </Link> |
| 71 | </Section> |
| 72 | |
| 73 | <Section style={footer}> |
| 74 | <Text style={footerText}> |
| 75 | Questions? Visit our{" "} |
| 76 | <Link href="https://github.com/R44VC0RP/opencode.cafe" style={link}> |
| 77 | GitHub |
| 78 | </Link>{" "} |