-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.php
168 lines (139 loc) · 7.37 KB
/
Index.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
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
164
165
166
167
168
<!DOCTYPE html>
<html>
<head>
<?php
include_once('API/perfil.php');
logIn();
include_once('API/sessionManeger.php');
if((testLogin())=="finished"){
echo "<script>window.location.href = 'home.php';</script>";
}else if((testLogin())=="creating"){
echo "<script>window.location.href = 'creatingAccount.php';</script>";
}
?>
<link rel='stylesheet' href='CSS/normalize.css'>
<link rel='stylesheet' href='CSS/bootstrap4.min.css'>
<title>SmartBrainZ</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8">
<script defer src="JS/bootstrap.bundle.min.js"></script>
<script defer src="JS/bootstrap.min.js"></script>
<script defer src="JS/jquery.slim.min.js"></script>
<script defer src="JS/popper.min.js"></script>
<link rel='stylesheet' href='CSS/bootstrap4.min.css'>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+"
crossorigin="anonymous"></script>
</head>
<body>
<header class=" container-fluid row " style='background-color:#FF6900;color:#2222DA;font-family:sans-serif'>
<h1 class='col-4' style='font-size:5em;'><img src='Media/Img/brainZtorm1.png' class='img-fluid'
style='max-width:20%' />SmartBrainZ</h1>
<div class='col-3 m-auto ms-0'>
<label style='font-size:3em;'>Email</label>
<input form='formHidden' type='email'
style='width:40%;height:50px;border-radius:15px;border-style:solid;font-size:2em;' id='mail' name='mail'
placeholder='[email protected]' required></input>
</div>
<div class='col-3 m-auto ms-0'>
<label style='font-size:3em;'>Senha</label>
<input form='formHidden' type='password'
style='width:40%;height:50px;border-radius:15px;border-style:solid;font-size:2em;' id='pass'
name='pass'></input>
</div>
<div class='col m-auto ms-0'>
<form class='' id='formHidden' name='formHidden' action="<?php echo $_SERVER['PHP_SELF'] ?>" method='post'
style=''><input form='formHidden' class='btn-block ' type='submit' value='ENTRAR'
style='background-color:#2222DA;border-style:none;border-radius:10px;padding:10px;width:75%;height:75px;font-size:2em;color:#FF6900;'></input>
</form>
</div>
</header>
<main class='container-fluid row'
style='background-image:url(Media/Img/student_bg.png);padding:100px;height:700px;border-style:solid;border-color:blue;height:100%;background-size:cover;padding-bottom:0'>
<div class='col d-flex flex-column justify-content-center'>
<h1 style='font-size:5em;color:#9082E1;' class='text-center'>SmartBrainZ</h1>
<p class='text-white text-center' style='font-size:2em;'>Suba de nivel enquanto aprende</p>
<div class="container">
<button type="button"
style='background-color:#2222DA;border-style:none;border-radius:10px;padding:10px;width:75%;height:75px;font-size:2em;color:#FF6900;'
class="" data-toggle="modal" data-target="#form">
CRIE SUA CONTA JÁ!
</button>
</div>
<div class="modal fade" id="form" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header border-bottom-0" style="background-color:#0b023a;color:#fff">
<h5 class="modal-title" id="exampleModalLabel">Crie sua conta</h5>
<button type="button" class="close" data-dismiss="modal" style="color:#ff0000" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method='post'>
<div class="modal-body" style="background-color:#0b023a;color:#fff">
<div class="form-group">
<label for="email1">Email</label>
<input type="email" class="form-control" required id="email1" name="mailCadastro"
aria-describedby="emailHelp">
</div>
<div class="form-group">
<label for="userCadastro">Usuario</label>
<input type="text" class="form-control" required id="userCadastro" name="userCadastro" placeholder="">
</div>
<div class="form-group">
<label for="password1">Senha</label>
<input type="password" class="form-control" required name="passCadastro" id="password2"
placeholder="Confirm Password">
</div>
</div>
<div class="modal-footer border-top-0 d-flex justify-content-center" style="background-color:#0b023a;color:#fff">
<button type="submit" class="btn btn-success"
style='background-color:#2222DA;border-style:none;border-radius:10px;width:50%;height:75px;font-size:2em;color:#FF6900;'>CADASTRAR</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class='col d-flex flex-column justify-content-center align-items-center'>
<p style='font-size:2em;color:#9082E1;' class='text-start'>Por que SmartBrainZ?</p>
<div class='container row mb-5'
style='width:60%;border-color:#2222DA;border-radius:10px;border-width:5px;border-style:solid;'>
<img class='img-fluid col-4' src='Media/Img/flashcardcolor.png'></img>
<p class='col text-white' style='font-size:1.5em;text-align:justify'>Metodologias inteligentes para seus
estudos</p>
</div>
<div class='container row mb-5'
style='width:60%;border-color:#2222DA;border-radius:10px;border-width:5px;border-style:solid;'>
<img class='img-fluid col-4' src='Media/Img/studentsicon.png'></img>
<p class='col text-white' style='font-size:1.5em;text-align:justify'>Se conecte a uma rede com diversos
alunos e professores</p>
</div>
<div class='container row mb-5'
style='width:60%;border-color:#2222DA;border-radius:10px;border-width:5px;border-style:solid;'>
<img class='img-fluid col-4' src='Media/Img/GameIcon2.png'></img>
<p class='col text-white' style='font-size:1.5em;text-align:left'>Estude de maneira gamificada e ganhe
recompensas!</p>
</div>
</div>
<div class='container row' style='border-top-style:solid;border-color:#FF6900;'>
<p class='col text-white' style='font-size:2em;text-align:center'>Visite nossas redes sociais:</p>
<figure class='col'><img src='Media/Img/twitterIcon.webp' style='width:40%;'></img></figure>
<figure class='col'><img src='Media/Img/youtubeIcon.webp' style='width:40%;'></img></figure>
<figure class='col'><img src='Media/Img/tiktokIcon.png' style='width:40%;'></img></figure>
<figure class='col'><img src='Media/Img/facebookicon.png' style='width:40%;'></img></figure>
<figure class='col'><img src='Media/Img/Instagram_icon.png.webp' style='width:40%;'></img></figure>
</div>
</main>
</body>
</html>