-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ftd message added to checkout page for first time lenders
- Loading branch information
1 parent
f3bd95f
commit a9b00b9
Showing
6 changed files
with
95 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template> | ||
<p class="tw-text-small tw-text-black"> | ||
<!-- eslint-disable-next-line max-len --> | ||
1. Disclaimer: While funds last, one ${{ ftdCreditAmount }} free credit will be applied to your account after you complete your first loan between now and {{ ftdValidDate }}.You will receive a notification email when your free credit has been applied to your account. Free credits expire after 14 days. Free credits have no cash value and repayments will return to Kiva. | ||
</p> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'FtdsDisclaimer', | ||
props: { | ||
ftdCreditAmount: { | ||
type: String, | ||
default: '' | ||
}, | ||
ftdValidDate: { | ||
type: String, | ||
default: '' | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<div class="tw-bg-brand-100 tw-rounded-sm tw-py-1 tw-px-1.5 tw-flex tw-justify-center tw-items-center"> | ||
<img src="@/assets/images/checkout/ftds_sparkle.svg" alt="FTDs Sparkle"> | ||
<p> | ||
<!-- eslint-disable-next-line max-len --> | ||
You’ll earn <span class="tw-font-medium">${{ ftdCreditAmount }} in lending credits</span> after checkout to help support another borrower. <sup>1</sup> | ||
</p> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'FtdsMessage', | ||
props: { | ||
ftdCreditAmount: { | ||
type: String, | ||
default: '' | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters