forked from RedJanvier/levelup-blog-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create.html
74 lines (73 loc) · 2.31 KB
/
create.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
<!DOCTYPE html>
<html lang="en">
<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>Create blog</title>
<link
href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/styles.css" />
</head>
<body class="dark">
<button class="theme-switcher">
<span class="dark">☀️</span><span class="light">🌙</span>
</button>
<nav class="navbar-wrapper">
<div class="navbar">
<a href="/index.html" class="logo">My Blog</a>
<span class="separator"></span>
<ul class="links hide">
<li class="link">
<a href="/blogs.html">Blogs</a>
</li>
<li class="link active">
<a href="#">Create</a>
</li>
<li class="link">
<a href="#">Logout</a>
</li>
</ul>
<button class="toggle">
<i class="fa fa-bars"></i>
</button>
</div>
</nav>
<main class="login-page">
<div class="login">
<div class="login-body">
<h2>Create a blog</h2>
<form>
<div class="input-field">
<label for="title">Title</label>
<input type="text" name="title" id="title" />
</div>
<div class="input-field">
<label for="body">Body</label>
<input type="text" name="body" id="body" />
</div>
<div class="input-field">
<label for="picture">Picture</label>
<input type="file" name="picture" id="picture" accept="image/*" />
</div>
<div class="input-field">
<div class="image-preview">
<img
src="https://via.placeholder.com/728x500.png?text=Made+by+RedJanvier"
alt="preview"
/>
</div>
</div>
<div class="input-field">
<input type="submit" value="Create" name="create" id="create" />
</div>
</form>
</div>
</div>
</main>
<script src="./js/theme.js"></script>
<script src="./js/navbar.js"></script>
</body>
</html>