-
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.
Merge pull request #77 from Backbase/feature/VOYAGE-1463-1rt-engageme…
…nt-templates Feature/voyage 1463 1rt engagement templates
- Loading branch information
Showing
129 changed files
with
5,940 additions
and
9 deletions.
There are no files selected for viewing
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
6 changes: 3 additions & 3 deletions
6
...ons/business/custom-engagements/templates/message-center/upsell-loans/content-schema.json
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
6 changes: 3 additions & 3 deletions
6
collections/business/custom-engagements/templates/message-center/upsell-loans/template.json
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
Binary file added
BIN
+6.59 KB
...time/custom-engagements/templates/banner/app-downtime-scheduled/assets/Bell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions
75
...s/oneruntime/custom-engagements/templates/banner/app-downtime-scheduled/assets/index.html
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,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> |
Binary file added
BIN
+30.7 KB
...custom-engagements/templates/banner/app-downtime-scheduled/assets/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
...oneruntime/custom-engagements/templates/banner/app-downtime-scheduled/content-schema.json
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,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" | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...tions/oneruntime/custom-engagements/templates/banner/app-downtime-scheduled/template.json
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,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"] | ||
} |
Binary file added
BIN
+10.7 KB
.../custom-engagements/templates/banner/instant-insurance-cover/assets/Success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions
119
.../oneruntime/custom-engagements/templates/banner/instant-insurance-cover/assets/index.html
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,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> |
Binary file added
BIN
+20.8 KB
...ustom-engagements/templates/banner/instant-insurance-cover/assets/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
...neruntime/custom-engagements/templates/banner/instant-insurance-cover/content-schema.json
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,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" | ||
] | ||
} | ||
|
11 changes: 11 additions & 0 deletions
11
...ions/oneruntime/custom-engagements/templates/banner/instant-insurance-cover/template.json
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,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"] | ||
} | ||
|
Binary file added
BIN
+3.32 KB
...time/custom-engagements/templates/banner/interest-free-auto-loan/assets/Car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.