-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·163 lines (151 loc) · 7.25 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
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
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Project Scale</title>
<link rel="icon" href="logo.png" sizes="16x16 32x32" type="image/png">
<script src="https://www.gstatic.com/firebasejs/3.6.6/firebase.js"></script>
<script src="creds/creds.js"></script>
<script>firebase.initializeApp(config);</script>
<script src="https://cdn.firebase.com/libs/firebaseui/1.0.0/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/1.0.0/firebaseui.css" />
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js"></script>
<script src="js/custom.js"></script>
<link rel="stylesheet" href="css/main.css"/>
<script src="js/authvar.js"></script>
<script>
firebase.auth().onAuthStateChanged(function(user2) {
if (user2) {
window.location.replace("registration.php");
}
});
</script>
<script type="text/javascript">
// FirebaseUI config.
var uiConfig = {
signInSuccessUrl: 'registration.php',
signInOptions: [
// Leave the lines as is for the providers you want to offer your users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
firebase.auth.FacebookAuthProvider.PROVIDER_ID,
firebase.auth.TwitterAuthProvider.PROVIDER_ID,
firebase.auth.GithubAuthProvider.PROVIDER_ID,
firebase.auth.EmailAuthProvider.PROVIDER_ID
],
// Terms of service url.
tosUrl: '<your-tos-url>'
};
// Initialize the FirebaseUI Widget using Firebase.
var ui = new firebaseui.auth.AuthUI(firebase.auth());
// The start method will wait until the DOM is loaded.
ui.start('#firebaseui-auth-container', uiConfig);
</script>
</head>
<body>
<div class="modal fade" id="loginreg" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Sign in...</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="firebaseui-auth-container">
</div>
</div>
</div>
</div>
<div class="jumbotron front-block">
<div class="container" style="margin-top:-2em">
<h1 class="display-3 text-center" style="color:white"><b>Project Scale</b></h1>
<div class="row" style="padding-top: 2em;">
<button type="button" class="btn btn-secondary btn-xlarge mx-auto" data-toggle="modal" data-target="#loginreg" style="border: 3px solid white; color:white;background:rgba(0,0,0,0.3);cursoe:pointer">Sign In</button>
</div>
</div>
</div>
<div class="container" style="padding-top: 1.5em;">
<div class="row whys">
<div class="col-md-4">
<div class="text-center">
<img src="pic1.jpg" width="250" class="img-fluid rounded-circle">
</div>
<h2 class="text-center">1. Project</h2>
<p class="text-justify"><br><br></p>
</div>
<div class="col-md-4">
<div class="text-center">
<img src="pic2.jpg" alt="..." class="img-fluid rounded-circle">
</div>
<h2 class="text-center">2. Connect</h2>
<p class="text-justify"><br><br> </p>
</div>
<div class="col-md-4">
<div class="text-center">
<img src="pic3.jpg" width="250" class="img-fluid rounded-circle">
</div>
<h2 class="text-center">3. Success</h2>
<p class="text-justify"><br><br></p>
</div>
</div>
</div>
<div style="width:100%;margin: 0 auto;text-align:center;margin-top:-1.2em">
<br>
<h1 style="color:#3498db;">Check out some of the amazing projects we host</h1>
<br>
</div>
<div class="container-fluid projects-block" style="width: 90%;">
<div class="row projects">
<div class="col-md-4 project-item wp3">
<div class="picture">
<a href="#" title="Project Name 1">
<img src="pic4.jpg" alt="">
</a>
<div class="project-description">
<h5><br>
<a href="#">Neural Network</a>
</h5>
<p>Neural networks (also referred to as connectionist systems) are a computational approach, which is based on a large collection of neural units (AKA artificial neurons), loosely modeling the way a biological brain solves problems with large clusters of biological neurons connected by axons.</p>
</div>
</div>
</div>
<div class="col-md-4 project-item wp3 delay-05s">
<div class="picture">
<a title="Project Name 2">
<img src="pic5.jpg" alt="">
</a>
<div class="project-description">
<h5><br>
<a>Game for Android</a>
</h5>
<p>I want to try to create a game for android. It will be a strategy game where the player will have to manage the NASA in order to arrive to other planets and explore the space. I have experience in java but not for mobile app.</p>
</div>
</div>
</div>
<div class="col-md-4 project-item wp3 delay-1s">
<div class="picture">
<a href="#" title="Project Name 3">
<img src="pic6.jpg" alt="">
</a>
<div class="project-description">
<h5><br>
<a href="#">Acid Base Redox Reaction</a>
</h5>
<p>Experiment to test pH level change with given volume of base. We need more people to have data statistically significant. Require chemists.</p>
</div>
</div>
</div>
</div>
</div>
<div class="footer pt-4 pb-2">
<h1 class="display-4 text-center" style="font-size: 2.5rem;"><a href="" data-toggle="modal" data-target="#loginreg">Sign in</a> to find partners, host projects, and more!</h1>
<p class="text-center">Developed at HackDavis 2017</p>
</div>
</body>
</html>