-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.php
92 lines (91 loc) · 2.3 KB
/
main.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<title>Social Circle login and signup</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<style>
body{
overflow-x: hidden;
}
#centered1{
position: absolute;
font-size: 10vw;
top: 30%;
left: 30%;
transform: translate(-50%, -50%);
}
#centered2{
position: absolute;
font-size: 10vw;
top: 50%;
left: 40%;
transform: translate(-50%, -50%);
}
#centered3{
position: absolute;
font-size: 10vw;
top: 70%;
left: 30%;
transform: translate(-50%, -50%);
}
#signup{
width: 60%;
border-radius: 30px;
}
#login{
width: 60%;
background-color: #fff;
border: 1px solid #1da1f2;
color: #1da1f2;
border-radius: 30px;
}
#login:hover{
width: 60%;
background-color: #fff;
color: #1da1f2;
border: 2px solid #1da1f2;
border-radius: 30px;
}
.well{
background-color: #187FAB;
}
</style>
<body>
<div class="row">
<div class="col-sm-12">
<div class="well">
<center><h1 style="color: white;">Social Circle</h1></center>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6" style="left:0.5%;">
<img src="images/655.jpg" class="img-rounded" title="Social Circle" width="650px" height="565px">
</div>
<div class="col-sm-6" style="left:8%;">
<!-- <img src="images/codingcafelogo.png" class="img-rounded" title="Social Circle" width="80px" height="80px"> -->
<h2><strong>See what's happening in <br> the world right now</strong></h2><br><br>
<h4><strong>join Social Circle Today.</strong></h4>
<form method="post" action="">
<button id="signup" class="btn btn-info btn-lg" name="signup">Sign up</button><br><br>
<?php
if(isset($_POST['signup'])){
echo "<script>window.open('signup.php','_self')</script>";
}
?>
<button id="login" class="btn btn-info btn-lg" name="login">Login</button><br><br>
<?php
if(isset($_POST['login'])){
echo "<script>window.open('signin.php','_self')</script>";
}
?>
</form>
</div>
</div>
</body>
</html>