import {Column, Img, Link, Row, Section, Text} from '@react-email/components' import {DOMAIN} from 'common/envs/constants' import React from 'react' import {createT} from 'shared/locale' interface Props { email?: string unsubscribeUrl: string locale?: string } export const Footer = ({email, unsubscribeUrl, locale}: Props) => { const t = createT(locale) return (

GitHub Discord Patreon PayPal © {new Date().getFullYear()} Compass {t( 'email.footer.sent_to', 'The email was sent to {email}. To no longer receive these emails, unsubscribe', {email}, )}{' '} {t('email.footer.unsubscribe_link', 'here')}.
) } export const footer = { margin: '20px 0', textAlign: 'center' as const, } export const footerText = { fontSize: '11px', lineHeight: '22px', color: '#000000', fontFamily: 'Ubuntu, Helvetica, Arial, sans-serif', } export const blackLinks = { color: 'black', } // const footerLink = { // color: 'inherit', // textDecoration: 'none', // } export const main = { // backgroundColor: '#f4f4f4', fontFamily: 'Arial, sans-serif', wordSpacing: 'normal', } export const container = { margin: '0 auto', maxWidth: '600px', } export const logoContainer = { padding: '20px 0px 5px 0px', textAlign: 'center' as const, backgroundColor: '#ffffff', } export const content = { backgroundColor: '#ffffff', padding: '20px 25px', } export const paragraph = { // fontSize: '12px', lineHeight: '24px', margin: '10px 0', color: '#000000', // fontFamily: 'Arial, Helvetica, sans-serif', } export const imageContainer = { textAlign: 'center' as const, margin: '20px 0', } export const profileImage = { // border: '1px solid #ec489a', } export const button = { backgroundColor: '#4887ec', borderRadius: '12px', color: '#ffffff', fontFamily: 'Helvetica, Arial, sans-serif', fontSize: '16px', fontWeight: 'semibold', textDecoration: 'none', textAlign: 'center' as const, display: 'inline-block', padding: '6px 10px', margin: '10px 0', }