-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.html
42 lines (37 loc) · 1.33 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AkveoBanner</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script type="text/javascript" src="package-build/akveo-banner.js" >
</script>
</head>
<body>
<script type="text/javascript" >
(function (d, w) {
var banner = this.document.createElement('akveo-banner');
banner.uniqueId = "bundle-release-1";
banner.imageUrl = "https://i.imgur.com/8lN9Ivk.png";
banner.heading = "ngx-admin with .NET, PHP, Java!";
banner.ctaText = "Get Backend Bundle";
banner.ctaLink = "https://store.akveo.com?utm_campaign=bundle_banner";
banner.message = "today to save 25%";
banner.bgColor = '#FF5A88';
banner.buttonBgColor = '#fff';
banner.top = "50vh";
d.body.appendChild(banner);
var banner2 = this.document.createElement('akveo-news-line');
banner2.uniqueId = "some-banner-id";
banner2.ctaText = "Try a beta now!";
banner2.ctaLink = "https://akveo.com";
banner2.messageStart = "Congrats! You have access to the app.";
banner2.bgGradient = ['270deg', '#5B18FF 0%', '#1849FF 100%'];
banner2.messageEnd = "We need your feedback.";
d.body.appendChild(banner2);
})(document, window);
</script>
</body>
</html>