-
Notifications
You must be signed in to change notification settings - Fork 2
/
post2.html
117 lines (100 loc) · 5.3 KB
/
post2.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Article Planet</title>
<link rel="icon" type="image/png" href="logo.png">
<!-- Include Bootstrap and Bootswatch Lux theme -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js"></script>
<!-- Include Prism for code highlighting -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.25.0/themes/prism.min.css">
</head>
<body class="bg-light text-dark">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<!-- Logo and Website Name -->
<a class="navbar-brand" href="../">
<img src="logo.png" alt="ArticlePlaner Logo" width="30" height="30" class="d-inline-block align-top">
ArticlePlanet
</a>
<!-- Navbar Toggler and Navigation Links -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<!-- Home -->
<li class="nav-item mx-2">
<a class="nav-link" href="#">Home</a>
</li>
<!-- Categories Dropdown -->
<li class="nav-item dropdown mx-2">
<a class="nav-link dropdown-toggle" href="#" id="categoriesDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">Categories</a>
<ul class="dropdown-menu" aria-labelledby="categoriesDropdown">
<li><a class="dropdown-item" href="#">Category 1</a></li>
<li><a class="dropdown-item" href="#">Category 2</a></li>
</ul>
</li>
<!-- Pages Dropdown -->
<li class="nav-item dropdown mx-2">
<a class="nav-link dropdown-toggle" href="#" id="pagesDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">Search</a>
<ul class="dropdown-menu" aria-labelledby="pagesDropdown">
<li><a class="dropdown-item" href="#">Page 1</a></li>
<li><a class="dropdown-item" href="#">Page 2</a></li>
</ul>
</li>
<!-- Write -->
<li class="nav-item mx-2">
<a class="nav-link" href="../new/">Write</a>
</li>
<!-- Contact -->
<li class="nav-item mx-2">
<a class="nav-link" href="../contact.html">Contact</a>
</li>
<!-- Profile -->
<li class="nav-item mx-2">
<a class="nav-link" href="../profile.html">Profile</a>
</li>
<!-- User Logo with Dropdown -->
<li class="nav-item dropdown mx-2">
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
<img src="logo.png" alt="User Logo" width="30" height="30" style="border-radius: 50%;" class="d-inline-block align-top">
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="userDropdown">
<li><a class="dropdown-item" href="#">Profile</a></li>
<li><a class="dropdown-item" href="#">Settings</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- Content of your website goes here -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<header class="bg-dark text-white text-center py-3">
<h1 id="post-title" style="color: aliceblue;" class="display-4">Loading...</h1>
<p id="post-date"></p>
<button class="success" id="editbtn">EDIT</button>
</header>
<center>
<br>
<img src="https://iplogger.com/ArticlePlanet" id="post-cover" style="max-height: 400px; width: auto;" alt="Cover Image">
</center>
<div class="container my-4" style="max-width: 60%" id="post-content"></div>
<footer class="bg-dark text-white text-center py-3">
<p>© 2024 Your Website</p>
</footer>
<!-- Include Prism.js for code highlighting -->
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.25.0/prism.min.js"></script>
<!-- Include the post.js script -->
<script src="post.js"></script>
</body>
</html>