11<script setup lang="ts">
2-
3- import { ETailwind , EHtml , EHead , EPreview , EBody , EContainer , ESection , EHeading , EImg , EText , ELink , ERow , EColumn , EHr } from ' vue-email'
2+ import { EBody , EButton , EColumn , EContainer , EHead , EHeading , EHr , EHtml , EImg , ELink , EPreview , ERow , ESection , ETailwind , EText } from ' vue-email'
43
54interface Props {
65 invitedByUsername? : string
@@ -25,19 +24,21 @@ const previewText = `Join ${props.invitedByUsername} on Vercel`
2524 </script >
2625
2726<template >
28- <ETailwind >
29- <EHtml >
27+ <EHtml >
28+ <ETailwind >
3029 <EHead />
3130 <EPreview >{{ previewText }}</EPreview >
3231 <EBody class =" bg-white my-auto mx-auto font-sans" >
33- <EContainer class =" border border-solid border-[#eaeaea] p-[20px] md:p-7 rounded my-[40px] mx-auto max-w-[465px]" >
32+ <EContainer class =" border border-solid border-[#eaeaea] p-[20px] md:p-20 rounded my-[40px] mx-auto max-w-[465px]" >
3433 <ESection class =" mt-[32px]" >
3534 <EImg src =" /static/vercel-logo.png" width =" 40" height =" 37" alt =" Vercel" class =" my-0 mx-auto" />
3635 </ESection >
3736 <EHeading class =" text-black text-[24px] font-normal text-center p-0 my-[30px] mx-0" >
3837 Join <strong >{{ teamName }}</strong > on <strong >Vercel</strong >
3938 </EHeading >
40- <EText class =" text-black text-[14px] leading-[24px]" > Hello {{ username }}, </EText >
39+ <EText class =" text-black text-[14px] leading-[24px]" >
40+ Hello {{ username }},
41+ </EText >
4142 <EText class =" text-black text-[14px] leading-[24px]" >
4243 <strong >bukinoshita</strong > (
4344 <ELink :href =" `mailto:${invitedByEmail}`" class =" text-blue-600 no-underline" >
@@ -59,7 +60,9 @@ const previewText = `Join ${props.invitedByUsername} on Vercel`
5960 </ERow >
6061 </ESection >
6162 <ESection class =" text-center mt-[32px] mb-[32px]" >
62- <EButton px =" 20" py =" 12" class =" bg-[#000000] rounded text-white text-[12px] font-semibold no-underline text-center" :href =" inviteLink" > Join the team </EButton >
63+ <EButton px =" 20" py =" 12" class =" bg-[#000000] rounded text-white text-[12px] font-semibold no-underline text-center" :href =" inviteLink" >
64+ Join the team
65+ </EButton >
6366 </ESection >
6467 <EText class =" text-black text-[14px] leading-[24px]" >
6568 or copy and paste this URL into your browser:
@@ -71,12 +74,11 @@ const previewText = `Join ${props.invitedByUsername} on Vercel`
7174 <EText class =" text-[#666666] text-[12px] leading-[24px]" >
7275 This invitation was intended for
7376 <span class =" text-black" >{{ username }} </span >.This invite was sent from <span class =" text-black" >{{ inviteFromIp }}</span > located in
74- <span class =" text-black" >{{ inviteFromLocation }}</span
75- >. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account's safety, please reply to this email to get in touch
77+ <span class =" text-black" >{{ inviteFromLocation }}</span >. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account's safety, please reply to this email to get in touch
7678 with us.
7779 </EText >
7880 </EContainer >
7981 </EBody >
80- </EHtml >
81- </ETailwind >
82+ </ETailwind >
83+ </EHtml >
8284</template >
0 commit comments