Update index.html

This commit is contained in:
Voxel 2025-04-15 15:15:05 -04:00 committed by GitHub
parent a2f4797aee
commit d198ddddae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,32 +7,35 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MilkNet Forum</title> <title>MilkNet Forum</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/@joeattardi/emoji-button@4.6.2/dist/index.min.js"></script>
</head> </head>
<body> <body>
<header> <div class="auth-container">
<h1>MilkNet Forum</h1> <h1>MilkNet Forum</h1>
</header>
<div id="new-thread"> <!-- Forum Post Section -->
<h2>New Thread</h2> <div id="new-thread">
<input type="text" id="thread-title" placeholder="Thread Title"><br> <textarea id="post-content" placeholder="Write your post..."></textarea>
<div class="emoji-wrap"> <input type="file" id="image-upload" accept="image/*">
<textarea id="thread-content" placeholder="Post content..."></textarea> <button onclick="uploadImage()">Upload Image</button>
<button class="emoji-button" data-target="thread-content">😊</button> <button onclick="submitPost()">Submit Post</button>
</div> </div>
<input type="file" id="thread-image"><br>
<button onclick="createThread()">Post</button> <hr>
<!-- Login/Registration Section -->
<div class="auth-container">
<h2>Already a member?</h2>
<input type="text" id="login-username" placeholder="Username"><br>
<input type="password" id="login-password" placeholder="Password"><br>
<button onclick="login()">Login</button>
</div>
</div> </div>
<hr>
<div id="threads"></div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>
</html> </html>