forked from mavicompanion/google-drive-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (83 loc) · 3.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="./img/google-drive.png">
<title>Login with Google</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome for icons used throughout the page -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Firebase Configuration -->
<script type="module" src="./js/login.js"></script>
<style>
html, body {
height: 100%;
background-color: rgb(239, 249, 255);
user-select: none;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.banner-image {
width: 100%;
height: auto;
}
#googleSignInBtn {
padding: 10px 20px;
font-size: 15px;
font-weight: 450;
width: fit-content;
}
.logo-size {
width: 20px;
height: 20px;
}
</style>
</head>
<body>
<div id="fullScreenLoader" class="justify-content-center align-items-center position-fixed top-0 start-0 w-100 h-100 bg-white" style="z-index: 1050; display: none;">
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div class="container-fluid">
<div class="d-flex align-items-center p-4">
<img src="./img/google-drive.png" class="me-2" style="width: 36px; height: auto;" alt="Google Drive Logo">
<p class="mb-0 fw-medium" style="font-size: 1.2rem;">Drive</p>
</div>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-12 px-5 px-md-0 col-md-6 order-md-1">
<img src="./img/login-page-banner.png" class="img-fluid banner-image mb-4" alt="Login Page Banner">
</div>
<div class="col-12 col-md-6 px-5 px-md-0 order-md-2 d-flex flex-column justify-content-center">
<h1 class="mb-3">Easy and secure access to all of your content</h1>
<p class="mb-4 fs-5">Store, share, and collaborate on files and folders from any mobile device, tablet, or computer.</p>
<button class="btn btn-light d-flex align-items-center rounded-pill px-3 py-2 shadow-sm m-2 fs-small mt-2" style="width: fit-content;" id="googleSignInBtn">
<img src="./img/google-search.png" alt="Google Logo" class="me-2 logo-size">
Sign In
</button>
</div>
</div>
</div>
<div class="container-fluid d-none d-md-block fixed-bottom py-2 fw-medium text-center medium text-secondary mb-2" style="font-size: 12px;">
Project by:
<a href="https://github.com/mavicompanion/google-drive-clone" target="_blank" class="btn btn-dark px-2 py-1 ms-2 rounded-pill fw-bold text-center" style="font-size:10px;">
<i class="fa-brands fa-github text-white fs-small me-1 p-0"></i>
mavicompanion
</a>
</div>
<!-- Optional: Bootstrap JS and Popper.js -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>