-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhome.php
74 lines (61 loc) · 1.81 KB
/
home.php
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
<!DOCTYPE HTML>
<html>
<head>
<title>
NSS SUPPORT SYSTEM
</title>
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="77668899496-hp8hcaktbcuh3pg3rb9qbc1f1ttfbjpa.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata">
<style>
body, html {
height: 100%;
font-family: "Inconsolata", sans-serif;
}
.bgimg {
background-position: center;
background-size: cover;
background-image: url("nss5.jpeg");
min-height: 60%;
}
.menu {
display: none;
}
</style>
<body>
<header class="bgimg w3-display-container w3-grayscale-min" id="home">
<div class="w3-display-middle w3-center">
<span class="w3-text-black" style="font-size:90px">NSS SUPPORT SYSTEM</span>
</div>
</header>
<!--
<center>
<div class="topnav">
<img src="nss5.jpeg" height="500" width="2000">
</div>
<div class="w3-center">
<h4>NSS SUPPORT SYSTEM</h4>
</div>
-->
<br><br>
<center>
<div class="g-signin2" data-onsuccess="onSignIn" data-theme="dark"></div>
<script>
function onSignIn(googleUser) {
// Useful data for your client-side scripts:
var profile = googleUser.getBasicProfile();
console.log('Full Name: ' + profile.getName());
console.log("Image URL: " + profile.getImageUrl());
console.log("Email: " + profile.getEmail());
// The ID token you need to pass to your backend:
var id_token = googleUser.getAuthResponse().id_token;
console.log("ID Token: " + id_token);
};
</script>
</body>
</html>