|
| 1 | +import { Column, Img, Row } from '@react-email/components'; |
| 2 | +import { Layout } from '../_components/layout'; |
| 3 | + |
| 4 | +export const component = ( |
| 5 | + <Row |
| 6 | + width={undefined} |
| 7 | + style={{ |
| 8 | + tableLayout: 'fixed', |
| 9 | + borderCollapse: 'collapse', |
| 10 | + borderSpacing: 0, |
| 11 | + }} |
| 12 | + > |
| 13 | + <Column |
| 14 | + width="44" |
| 15 | + height="44" |
| 16 | + style={{ |
| 17 | + height: '44px', |
| 18 | + width: '44px', |
| 19 | + padding: 0, |
| 20 | + textAlign: 'center', |
| 21 | + verticalAlign: 'middle', |
| 22 | + lineHeight: '0px', |
| 23 | + }} |
| 24 | + > |
| 25 | + <div |
| 26 | + style={{ |
| 27 | + boxSizing: 'border-box', |
| 28 | + height: '100%', |
| 29 | + width: '100%', |
| 30 | + overflow: 'hidden', |
| 31 | + borderRadius: '9999px', |
| 32 | + border: '4px solid white', |
| 33 | + backgroundColor: '#030712', |
| 34 | + }} |
| 35 | + > |
| 36 | + <Img |
| 37 | + src="https://github.com/bukinoshita.png?size=100" |
| 38 | + alt="Bu Kinoshita" |
| 39 | + width="40" |
| 40 | + height="40" |
| 41 | + style={{ |
| 42 | + display: 'inline-block', |
| 43 | + height: '100%', |
| 44 | + width: '100%', |
| 45 | + objectFit: 'cover', |
| 46 | + objectPosition: 'center', |
| 47 | + }} |
| 48 | + /> |
| 49 | + </div> |
| 50 | + </Column> |
| 51 | + <Column |
| 52 | + width="44" |
| 53 | + height="44" |
| 54 | + style={{ |
| 55 | + position: 'relative', |
| 56 | + left: '-12px', |
| 57 | + height: '44px', |
| 58 | + width: '44px', |
| 59 | + padding: 0, |
| 60 | + textAlign: 'center', |
| 61 | + verticalAlign: 'middle', |
| 62 | + lineHeight: '0px', |
| 63 | + }} |
| 64 | + > |
| 65 | + <div |
| 66 | + style={{ |
| 67 | + boxSizing: 'border-box', |
| 68 | + height: '100%', |
| 69 | + width: '100%', |
| 70 | + overflow: 'hidden', |
| 71 | + borderRadius: '9999px', |
| 72 | + border: '4px solid white', |
| 73 | + backgroundColor: '#030712', |
| 74 | + }} |
| 75 | + > |
| 76 | + <Img |
| 77 | + src="https://github.com/bukinoshita.png?size=100" |
| 78 | + alt="Bu Kinoshita" |
| 79 | + width="40" |
| 80 | + height="40" |
| 81 | + style={{ |
| 82 | + display: 'inline-block', |
| 83 | + height: '100%', |
| 84 | + width: '100%', |
| 85 | + objectFit: 'cover', |
| 86 | + objectPosition: 'center', |
| 87 | + }} |
| 88 | + /> |
| 89 | + </div> |
| 90 | + </Column> |
| 91 | + <Column |
| 92 | + width="44" |
| 93 | + height="44" |
| 94 | + style={{ |
| 95 | + position: 'relative', |
| 96 | + left: '-24px', |
| 97 | + height: '44px', |
| 98 | + width: '44px', |
| 99 | + padding: 0, |
| 100 | + textAlign: 'center', |
| 101 | + verticalAlign: 'middle', |
| 102 | + lineHeight: '0px', |
| 103 | + }} |
| 104 | + > |
| 105 | + <div |
| 106 | + style={{ |
| 107 | + boxSizing: 'border-box', |
| 108 | + height: '100%', |
| 109 | + width: '100%', |
| 110 | + overflow: 'hidden', |
| 111 | + borderRadius: '9999px', |
| 112 | + border: '4px solid white', |
| 113 | + backgroundColor: '#030712', |
| 114 | + }} |
| 115 | + > |
| 116 | + <Img |
| 117 | + src="https://github.com/bukinoshita.png?size=100" |
| 118 | + alt="Bu Kinoshita" |
| 119 | + width="40" |
| 120 | + height="40" |
| 121 | + style={{ |
| 122 | + display: 'inline-block', |
| 123 | + height: '100%', |
| 124 | + width: '100%', |
| 125 | + objectFit: 'cover', |
| 126 | + objectPosition: 'center', |
| 127 | + }} |
| 128 | + /> |
| 129 | + </div> |
| 130 | + </Column> |
| 131 | + </Row> |
| 132 | +); |
| 133 | + |
| 134 | +export default () => { |
| 135 | + return <Layout>{component}</Layout>; |
| 136 | +}; |
0 commit comments