-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.html
152 lines (140 loc) · 6.81 KB
/
login.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>HealthBuddy</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.svg" />
<!-- Place favicon.ico in the root directory -->
<!-- ========================= CSS here ========================= -->
<link rel="stylesheet" href="assets/css/bootstrap-5.0.0-alpha-2.min.css" />
<link rel="stylesheet" href="assets/css/LineIcons.2.0.css" />
<link rel="stylesheet" href="assets/css/tiny-slider.css" />
<link rel="stylesheet" href="assets/css/animate.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<script src="https://kit.fontawesome.com/16e06e92e7.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- <div class="preloader">
<div class="loader">
<div class="ytp-spinner">
<div class="ytp-spinner-container">
<div class="ytp-spinner-rotator">
<div class="ytp-spinner-left">
<div class="ytp-spinner-circle"></div>
</div>
<div class="ytp-spinner-right">
<div class="ytp-spinner-circle"></div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<header class="header">
<div class="navbar-area">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="index.html">
<img src="assets/img/logo/logo.png" alt="Logo" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
</button>
<div class="collapse navbar-collapse sub-menu-bar" id="navbarSupportedContent">
<ul id="nav" class="navbar-nav ml-auto">
<li class="nav-item">
<a class="page-scroll" href="http://127.0.0.1:5501/index.html">Home</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="http://127.0.0.1:5501/index.html">Feature</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="http://127.0.0.1:5501/index.html">Book</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="#home">Log in</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="http://127.0.0.1:5501/signup.html">Sign Up</a>
</li>
</ul>
</div>
<!-- navbar collapse -->
</nav>
<!-- navbar -->
</div>
</div>
<!-- row -->
</div>
<!-- container -->
</div>
<!-- navbar area -->
</header>
<section id="home" class="hero-section">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-8">
<div class="hero-content">
<h1 class="wow fadeInUp" data-wow-delay=".2s">
One Step Solution For Your Health
</h1>
<p class="wow fadeInUp" data-wow-delay=".4s" style="font-size:30px;font-weight: bolder">
You are here as?
</p>
<div class="hero-btns">
<button type="button" onclick="member('Doctor')"
class="main-btn btn-hover wow fadeInUp" data-wow-delay=".6s">Doctor</button>
<button type="button" onclick="member('Patient')"
class="main-btn border-btn btn-hover wow fadeInUp" data-wow-delay=".6s">Patient</button>
</div>
</div>
</div>
<div class="col-lg-4">
<!-- <div class="hero-img wow fadeInUp" data-wow-delay=".5s">
<img src="assets/img/hero/hero-img.png" alt="">
</div> -->
<div id="sawo-container" style="height: 600px; width: 500px;"></div>
</div>
</div>
</div>
<!-- <div class="hero-shape">
<img src="assets/img/hero/hero-shape-1.svg" alt="" class="shape shape-1">
</div> -->
</section>
<!-- <div id="sawo-container" style="height: 300px; width: 300px;"></div> -->
</body>
<script src="https://websdk.sawolabs.com/sawo.min.js"></script>
<script>
var config = {
containerID: "sawo-container",
identifierType: "email", // can be either 'email' or 'phone_number_sms'
apiKey: "fbf02a65-fcf0-475b-9444-87d4d4ad6911", // add your api key here
onSuccess: (payload) => {
//document.getElementById("status").innerHTML =
// "Login Success";
if ((payload.length > 0) && (typeof payload === "object")) {
console.log(payload);
//window.location.replace('https://dev.sawolabs.com');
window.location.replace = "vediocall.html";
}
//if (typeof obj !== "object") return true;
//if (obj.length > 0) return false;
},
};
var sawo = new Sawo(config);
sawo.showForm();
function member(a)
{
console.log(a);
}
</script>
</html>