<script setup>
import { ref } from 'vue';
import {
ETailwind,
EHtml, EHead, EPreview, EBody,
EContainer, ESection, EColumn, ERow,
EText, EHeading, EButton, EImg
} from 'vue-email';
defineProps({
title: String,
});
const tailwindConfig = ref({
theme: {
extend: {}
},
});
</script>
<template>
<ETailwind>
<EHtml>
<EHead />
<EPreview>Yelp recent login</EPreview>
<EBody>
<EContainer>
<ESection class="mb-6">
<EImg src="https://vue-email-demo.vercel.app/static/yelp-logo.png" />
</ESection>
<ESection :style="content">
<EImg width="620" src="https://vue-email-demo.vercel.app/static/yelp-header.png" />
<ERow>
<EColumn>
<EHeading style="font-size: 32; font-weight: bold; text-align: center"> Hi {{ userFirstName }}, </EHeading>
<EHeading as="h2">
We noticed a recent login to your Yelp account.
</EHeading>
<EText>
<b>Time: </b>
{{ formattedDate }}
</EText>
<EText>
<b>Device: </b>
{{ loginDevice }}
</EText>
<EText>
<b>Location: </b>
{{ loginLocation }}
</EText>
<EText>
*Approximate geographic location based on IP address: {loginIp}
</EText>
<EText> If this was you, there's nothing else you need to do. </EText>
<EText> If this wasn't you or if you have additional questions, please see our support page. </EText>
</EColumn>
</ERow>
<ERow>
<EColumn col-span="{2}">
<EButton href="#"> Learn More </EButton>
</EColumn>
</ERow>
</ESection>
<ESection>
<EImg width="620" src="https://vue-email-demo.vercel.app/static/yelp-footer.png" />
</ESection>
<EText>
ยฉ 2022 | Yelp Inc., 350 Mission Street, San Francisco, CA 94105, U.S.A. | www.yelp.com
</EText>
</EContainer>
</EBody>
</EHtml>
</ETailwind>
</template>