@@ -107,49 +107,51 @@ export const metadata: Metadata = {
107
107
} ;
108
108
109
109
export default function Templates ( ) {
110
- < >
111
- < Image
112
- alt = ""
113
- className = "pointer-events-none absolute inset-0 z-[3] select-none mix-blend-lighten"
114
- fill
115
- priority
116
- src = "/static/bg.png"
117
- />
118
- < PageTransition
119
- className = "mx-auto flex max-w-3xl flex-col justify-center px-1 py-10 md:px-0"
120
- key = "about"
121
- tag = "main"
122
- >
123
- < div className = "mb-12 text-pretty px-6 md:max-w-[46rem] md:px-0 md:text-center" >
124
- < Heading className = "text-white" size = "6" >
125
- Templates
126
- </ Heading >
127
- < Text as = "p" className = "mt-4 text-slate-11" size = "2" >
128
- { description } .
129
- </ Text >
130
- < Text as = "p" className = "mt-2 text-slate-11" size = "2" >
131
- Recreate an{ ' ' }
132
- < Anchor
133
- href = "https://github.com/resend/react-email/issues?q=is%3Aissue+is%3Aopen+label%3A%22app%3A+demo%22"
134
- target = "_blank"
135
- >
136
- existing email
137
- </ Anchor > { ' ' }
138
- or submit a{ ' ' }
139
- < Anchor
140
- href = "https://github.com/resend/react-email/tree/main/demo"
141
- target = "_blank"
142
- >
143
- pull request
144
- </ Anchor > { ' ' }
145
- to add your template here.
146
- </ Text >
147
- </ div >
148
- < div className = "grid grid-cols-1 gap-8 md:grid-cols-2" >
149
- { items . map ( ( item ) => (
150
- < Template key = { item . path } { ...item } />
151
- ) ) }
152
- </ div >
153
- </ PageTransition >
154
- </ > ;
110
+ return (
111
+ < >
112
+ < Image
113
+ alt = ""
114
+ className = "pointer-events-none absolute inset-0 z-[3] select-none mix-blend-lighten"
115
+ fill
116
+ priority
117
+ src = "/static/bg.png"
118
+ />
119
+ < PageTransition
120
+ className = "mx-auto flex max-w-3xl flex-col justify-center px-1 py-10 md:px-0"
121
+ key = "about"
122
+ tag = "main"
123
+ >
124
+ < div className = "mb-12 text-pretty px-6 md:max-w-[46rem] md:px-0 md:text-center" >
125
+ < Heading className = "text-white" size = "6" >
126
+ Templates
127
+ </ Heading >
128
+ < Text as = "p" className = "mt-4 text-slate-11" size = "2" >
129
+ { description } .
130
+ </ Text >
131
+ < Text as = "p" className = "mt-2 text-slate-11" size = "2" >
132
+ Recreate an{ ' ' }
133
+ < Anchor
134
+ href = "https://github.com/resend/react-email/issues?q=is%3Aissue+is%3Aopen+label%3A%22app%3A+demo%22"
135
+ target = "_blank"
136
+ >
137
+ existing email
138
+ </ Anchor > { ' ' }
139
+ or submit a{ ' ' }
140
+ < Anchor
141
+ href = "https://github.com/resend/react-email/tree/main/demo"
142
+ target = "_blank"
143
+ >
144
+ pull request
145
+ </ Anchor > { ' ' }
146
+ to add your template here.
147
+ </ Text >
148
+ </ div >
149
+ < div className = "grid grid-cols-1 gap-8 md:grid-cols-2" >
150
+ { items . map ( ( item ) => (
151
+ < Template key = { item . path } { ...item } />
152
+ ) ) }
153
+ </ div >
154
+ </ PageTransition >
155
+ </ >
156
+ ) ;
155
157
}
0 commit comments