Skip to content

Commit

Permalink
Merge pull request #77 from Backbase/feature/VOYAGE-1463-1rt-engageme…
Browse files Browse the repository at this point in the history
…nt-templates

Feature/voyage 1463 1rt engagement templates
  • Loading branch information
amorimluzia authored Dec 5, 2024
2 parents 296b065 + be687af commit 1d47b30
Show file tree
Hide file tree
Showing 129 changed files with 5,940 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"picture": {
"title": "Image",
"type": "file",
"default":"{{contextRoot}}/assets/dark.png",
"default":"{{contextRoot}}/assets/light.png",
"metadata": {
"renderingHint": "image"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Upsell loans",
"description": "Order our travel card now and spend freely without any fees.",
"title": "Business loans",
"description": "Grow your business with flexible loan options",
"type": "object",
"properties": {
"subject": {
"title": "Subject",
"type": "string",
"maxLength": 100,
"default": "Say Goodbye to Card Fees",
"default": "Grow Your Business with Ease",
"metadata": {
"placeholderText": "Enter a subject (max. 100 chars)",
"escaping": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lot-of-cards-message-center",
"description": "Order our travel card now and spend freely without any fees.",
"title": "Travelling With Cards",
"name": "upsell-loans-message-center",
"description": "Grow your business with flexible loan options",
"title": "Business loans",
"engagement": "custom",
"channel": "message-center",
"default": false,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="googlebot" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Low Interest Loans</title>
<style>
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap");
</style>
<style>
* {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
overflow: auto;
}

body {
font-family: 'Libre Franklin', sans-serif;
font-size: 14px;
width: 100vw;
height: 100vh;
}

.container {
width: 18.75rem;
height: 15.625rem;
margin: auto;
padding: 2rem 2.5rem;
border-radius: 1rem;
overflow: hidden;
background-color: rgba(0, 27, 70, 1);
}

.content {
display: flex;
flex-direction: column;
align-items: center;
}

img {
max-width: 13.625rem;
margin-top: 0.5rem;
}

h2 {
margin: 0;
padding: 0;
color: #ffffff;
font-size: 1rem;
font-weight: 600;
line-height: 1.25rem;
letter-spacing: 0.025rem;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<h2>{{title}}</h2>
<img
src="{{picture}}"
alt="Low interest loans"
/>
</div>
</div>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "App downtime",
"description": "App downtime scheduled: 30th June - 1st July",
"type": "object",
"properties": {
"body":{
"title": "Body of message",
"type": "object",
"properties": {
"title": {
"title": "Title",
"type": "string",
"maxLength": 50,
"default": "App downtime scheduled: 30th June - 1st July",
"metadata": {
"placeholderText": "Enter a title (max. 50 chars)"
}
},
"picture": {
"title": "Image",
"type": "file",
"default": "{{contextRoot}}/assets/Bell.png",
"metadata": {
"renderingHint": "image"
}
}
},
"metadata": {
"layoutPath": "{{contextRoot}}/assets/index.html"
}
}
},
"required": [
"title",
"picture"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "app-downtime-scheduled",
"description": "App downtime scheduled: 30th June - 1st July",
"title": "App downtime",
"engagement": "custom",
"channel": "banner",
"default": false,
"thumbnailPath": "{{contextRoot}}/assets/thumbnail.png",
"tags": ["vertical","web","300x250","RETAIL","BUSINESS"]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Saving is good, smart saving is even better</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="googlebot" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
</style>
<style>
html,
body {
margin: 0;
padding: 0;
overflow: auto;
}
body {
font-family: 'Libre Franklin', sans-serif;
font-size: 14px;
width: 100vw;
height: 100vh;
}
.container {
display: flex;
width: 100%;
height: 16.88rem;
margin: auto;
max-width: 46.75rem;
border-radius: 1rem;
align-items: center;
overflow: hidden;
background: #001b46;
}
.content-area {
padding: 0rem 0rem 0rem 3rem;
}
h1,
p {
margin: 0;
padding: 0;
color: white;
}
h1 {
font-weight: 500;
margin-bottom: 1rem;
letter-spacing: 0.25px;
}
p {
margin-bottom: 2rem;
font-size: 0.92rem;
line-height: 1.5rem;
font-weight: 100;
word-spacing: 1px;
letter-spacing: 1px;
}
img {
display: block;
width: 16rem;
margin-right: 5rem;
}

.cta-btn {
display: flex;
font-size: min(4.5vw, 14px);
font-weight: 300;
text-align: center;
line-height: 1.5;
align-items: center;
border: 0;
outline: 0;
color: #ffffff;
text-decoration: none;
}

.cta-btn-icon {
background-color: white;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
margin-right: 0.5rem;
height: min(10vw, 36px);
width: min(10vw, 36px);
}

.right-arrow {
border: solid #001c46;
display: inline-block;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
margin-left: -4px;
padding: min(1.2vw, 1vh, 4.5px);
border-width: 0 min(1vw, 1vh, 2.5px) min(1vw, 1vh, 2.5px) 0;
}
</style>
</head>
<body>
<div class="container">
<div class="content-area">
<h1>{{title}}</h1>
<a class="cta-btn" href="" target="_blank" rel="noopener">
<span class="cta-btn-icon">
<i class="right-arrow"> </i>
</span>
{{buttonText}}
</a>
</div>
<div class="img-placeholder">
<img
src="{{picture}}"
alt="A person holding a phone"
/>
</div>
</div>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Instant insurance cover",
"description": "Instant insurance cover in 10 minutes",
"type": "object",
"properties": {
"body": {
"title": "Body of the message",
"type": "object",
"properties": {
"title": {
"title": "Title",
"type": "string",
"maxLength": 50,
"default": "Instant insurance cover in 10 minutes",
"metadata": {
"placeholderText": "Enter a title (max. 100 chars)"
}
},
"picture": {
"title": "Image",
"type": "file",
"default":"{{contextRoot}}/assets/Success.png",
"metadata": {
"renderingHint": "image"
}
},
"buttonText": {
"title": "Button text",
"type": "string",
"maxLength": 40,
"default": "Get an insurance quote",
"metadata": {
"placeholderText": "Enter a button text (max. 40 chars)"
}
}
},
"metadata": {
"layoutPath": "{{contextRoot}}/assets/index.html"
}
}
},
"required": [
"title",
"picture",
"buttonText"
]
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "instant-insurance-cover",
"description": "Instant insurance cover in 10 minutes",
"title": "Instant insurance cover",
"engagement": "custom",
"channel": "banner",
"default": true,
"thumbnailPath": "{{contextRoot}}/assets/thumbnail.png",
"tags": ["web","1140x180","BUSINESS"]
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1d47b30

Please sign in to comment.