-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.php
62 lines (53 loc) · 2.02 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
<?php
session_start();
include('API/sessionManeger.php');
?>
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='CSS/normalize.css'>
<link rel='stylesheet' href='CSS/style.css'>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="UTF-8">
</head>
<body>
<header class=''>
<nav class='mb-5 clearfix border-bottom '>
<a href='Index.php'><img src='Media/brainZtorm.svg' class=' logo m-2 ' alt='logo da brainstorm'/></a>
<form class=''>
<input class=' form-label search mt-5 ml-5' type='search' placeholder='Buscar notas,respostas ou cartões'/>
</form>
</nav>
</header>
<main class='centerDiv'>
<div class='cardsContainer '>
<div class='mx-auto cartao'>
<img src='Media/noteMakingIcon.png' class="card-img-top w-75 ms-5"alt='logo de criação de notas'>
<a href='#'><h1 class='card-title ms-5'>Criar anotação</h1></a>
<p class='card-text'>Crie anotações usando metodologias inteligentes
</div>
<div class='mx-auto cartao'>
<img src='Media/noteMakingIcon.png' class="card-img-top w-75 ms-5" alt='logo de criação de notas'>
<a href='note.php'><h1 class='card-title ms-5'>Criar anotação</h1></a>
<p class='card-text'>Crie anotações usando metodologias inteligentes
</div>
<div class='mx-auto cartao'>
<img src='Media/noteMakingIcon.png' class="card-img-top w-75 ms-5" alt='logo de criação de notas'>
<a href='#'><h1 class='card-title ms-5'>Criar anotação</h1></a>
<p class='card-text'>Crie anotações usando metodologias inteligentes
</div>
</div>
<?php
if( testLogin()==true){
echo("<div class='m-5 flexBox flexCenter '>
<button class='button'><a href='API/sair.php'>SAIR</button>
</div> ");
}else{
echo("<div class='m-5 flexBox flexCenter '>
<button class=''><a href='CriarConta.php'>Criar uma conta</a></button><span style='color:white;' class='baselineText'>ou, <a href='Entrar.php' style='color:white'>entrar agora</a></span>
</div>" );
}
?>
</main>
</body>
</html>