-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (94 loc) · 3.03 KB
/
index.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<html>
<head>
<title>Online Quotes for Agencies</title>
<script type="text/javascript" src="https://cdn.edvisor.io/b2c/sandbox/edvisor-search.js"></script>
<style>
.b2c {
color: darkslategray;
background-color: whitesmoke;
}
.b2c-header {
color: darkslategray;
padding: 30px;
background-color: #fff;
}
.b2c-hero {
position: relative;
background-color: #fff;
text-align: center;
padding: 40px;
max-width: 400px;
margin: 50px auto;
}
.b2c-button {
background: orange;
height: 60px;
color: #fff;
border-radius: 4px;
font-size: 16px;
font-weight: 600;
padding: 0 20px;
margin-bottom: 20px;
}
.b2c-button:hover {
background: darkorange;
color: #fff;
}
.b2c-list {
margin-bottom: 30px;
}
.b2c-list li {
font-size: 16px;
padding-bottom: 5px;
}
</style>
<script>
var englishInBrisbane = Edvisor.widgets.StartQuoteModal.newInstance({
startQuoteSelector: '#btWidget',
apiKey: 'private_67abe7b0ec139cfd8040c3213a63ed5e',
agencyId: 1326,
studentNationality: 'ca',
studentLanguage: 'en',
defaultCourseCategoryIds: [3],
// defaultGooglePlaceIds: ['ChIJM9KTrJpXkWsRQK_e81qjAgQ'],
redirectUrl: 'app.html',
gaTrackingId: 'UA-107862751-1',
defaultSchoolIds: [31, 847],
requireStudentCurrentCountry: true
})
var examPrepInSydney = Edvisor.widgets.StartQuoteModal.newInstance({
startQuoteSelector: '#btWidget',
apiKey: 'private_67abe7b0ec139cfd8040c3213a63ed5e',
studentNationality: 'ca',
agencyId: 1326,
studentLanguage: 'en',
defaultCourseCategoryIds: [6],
// defaultGooglePlaceIds: ['ChIJP5iLHkCuEmsRwMwyFmh9AQU'],
redirectUrl: 'app.html',
defaultSchoolIds: [1295, 833]
})
</script>
</head>
<body class='b2c'>
<section class='b2c-header'>
<h1>Online Quotes! </h1>
</section>
<section class='b2c-hero'>
<ul class='b2c-list'>
<li>Get a quote and apply online!</li>
<br>
<br>
<li>(Trigger the quoting plugin from school or city pages on your website)</li>
</ul>
<!-- Button triggering the Edvisor Widget -->
<button class='b2c-button' type="button" onClick="englishInBrisbane.render()">Gold Coast!</button>
<br />
<a href='app.html#/search/{"nationalityId":46,"sa":"2017-10-19","l":[{"gp":["ChIJgf0RD69C1moR4OeMIXVWBAU"]}],"bd":"2000-04-17T23:30:06.057Z","cc":[{"id":3,"n":"General English"}],"a":18,"d":{"t":3,"l":4}}'>
<button class='b2c-button' type="button">Find a course at SACE!</button>
</a>
<button class='b2c-button' type="button" onClick="examPrepInSydney.render()">Exam Preparation in Sydney!</button>
<!-- Placeholder for edvisor widget -->
<div id="btWidget"></div>
</section>
</body>
</html>