Repository navigation
Expand file tree
/
Copy pathblog.html
More file actions
80 lines (75 loc) · 3.34 KB
/
Copy pathblog.html
File metadata and controls
80 lines (75 loc) · 3.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog - Thrasher Website</title>
<link rel="stylesheet" href="css/styles-generic.css">
<link rel="stylesheet" href="css/styles-blog.css">
</head>
<body>
<!-- ------------- CONTENT FRAME ------------- -->
<div class="frame">
<header>
<!-- ------------- GENERIC NAVBAR ------------- -->
<nav>
<div class="container-navbar">
<div class="logo-div">
<a href="home.html"><img src="assets/img/logo/thrasher_logo.jpg"
alt="logo_thrasher">
</a>
</div>
<div class="button-navbar">
<ul>
<li><a class="nav-link" href="/home.html">Home</a></li>
<li><a class="nav-link" href="/blog.html">Blog</a></li>
<div class="dropdown">
<li><a class="nav-link dropbutton">Content</a>
<div class="dropcontent hide">
<a class="nav-link" href="/gallery.html">Gallery</a>
<a class="nav-link" href="/videos.html">Videos</a>
</div>
</li>
</div>
</ul>
</div>
</div>
</nav>
<!-- ------------- HERO BANNER ------------- -->
<div>
<img class="hero-banner" src="assets/img/banners/blog-hero-banner.png" alt="image thrasher">
</div>
</header>
<main>
<!-- ------------- GLOBAL BLOG ------------- -->
<!-- ------------- BLOG FORM ------------- -->
<form id="blog-form" method="post">
<div class="blog-form">
<label for="image"></label>
<input class="data img-btn" type="file" id="image" name="image" accept="image/*">
<label for="title"></label>
<input class="data title-area" type="text" name="title" id="title" placeholder="Title...">
<label for="story"></label>
<textarea class="data story-area" name="story" id="story"
placeholder="Tell your story..."></textarea>
<label for="author"></label>
<input class="data author-area" type="text" name="author" id="author" placeholder="Author...">
<button id="newPost" type="button">Post</button>
</div>
</form>
<!-- ------------- BLOG POSTS - empty if not added ------------- -->
<div class="blog-posts">
</div>
</main>
<!-- ------------- GENERIC FOOTER - empty for now ------------- -->
<footer>
<div class="footer">
<h2 class="in-progress">[IN PROGRESS]</h2>
<p class="credit">© 2026 - Thrasher Magazine - Alex Curtaud </p>
</div>
</footer>
</div>
<script src="js/index.js"></script>
<script src="js/createPost.js"></script>
</body>
</html>