-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsign_in.php
More file actions
97 lines (81 loc) · 4.38 KB
/
sign_in.php
File metadata and controls
97 lines (81 loc) · 4.38 KB
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
<?php
require_once __DIR__ . '/helpers/flashMessage.php';
session_start();
if(isset($_SESSION["auth"])){
header('location: index.php',true);
exit;
}
?>
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stream</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
</style>
<script src="assets/script/tailwind-config.js"></script>
</head>
<body class="bg-stream-dark">
<div class="relative">
<div class="hidden lg:block fixed">
<img src="assets/images/banner.png" class="max-h-screen" alt="stream" />
</div>
</div>
<div class="grid md:grid-cols-12 font-poppins relative pb-20 pt-8 mx-auto max-w-screen overflow-hidden">
<!-- Ornament -->
<span class="fixed -z-10 top-0">
<img src="assets/images/pricing_ornament.svg" class="h-screen w-screen" alt="stream" />
</span>
<!-- ./ -->
<div class="col-span-12 col-start-1 lg:col-start-2 xl:col-start-4">
<div class="pt-[30px] relative">
<!-- Logo -->
<div class=" flex flex-row justify-center items-center">
<a href="/index.html" class="block">
<img src="assets/images/stream.svg" alt="stream" />
</a>
</div>
<div class="pt-[85px] flex flex-col items-center gap-5 px-3">
<p class="text-sky-300 text-base font-semibold">
WELCOME BACK
</p>
<div class="font-bold text-white text-4xl lg:text-[45px] text-center capitalize leading-snug">
Watch New Movie
</div>
<!-- Form login -->
<section class="w-11/12 max-w-[460px]">
<form action="controllers/Auth.php?action=login" method="POST" class="mt-[70px] flex flex-col bg-white p-[30px] rounded-2xl gap-6">
<?php
Flasher::flash();
?>
<div class="form-input flex flex-col gap-3">
<label for="email" class="text-base font-medium text-stream-dark">Email Address</label>
<input type="email" name="email" class="rounded-full py-3 pr-3 pl-6 text-stream-dark placeholder:text-stream-gray placeholder:font-normal font-medium outline outline-stream-gray outline-1 text-base focus:outline-indigo-600 input-stream" placeholder="Your email address" required />
</div>
<div class="form-input flex flex-col gap-3">
<label for="password" class="text-base font-medium text-stream-dark">Password</label>
<input type="password" name="password" class="rounded-full py-3 pr-3 pl-6 text-stream-dark placeholder:text-stream-gray placeholder:font-normal font-medium outline-stream-gray outline outline-1 text-base focus:outline-indigo-600 input-stream" placeholder="Your password" required />
</div>
<!-- <a href="index.html" class="bg-indigo-600 rounded-full py-3 mt-4 text-center">
<span class="font-semibold text-white text-base">Continue</span>
</a> -->
<button type="submit" class="bg-indigo-600 rounded-full py-3 mt-4 text-center">
<span class="font-semibold text-white text-base">Continue</span>
</button>
<a href="sign_up.php" class="text-sm text-sky-700 underline">
Belum punya akun ? Daftar sekarang!
</a>
</form>
</section>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="assets/script/script.js"></script>
</body>
</html>