Refactor navbar implementation: replace navbar.js with main.js, update HTML references, and enhance button styles. Add author username to paste retrieval response and implement clipboard notification feature.

### Copilot Generated Commit Message
This commit is contained in:
whoswhip
2025-05-19 02:11:24 -04:00
parent 704d7149fc
commit 1382fb9f07
12 changed files with 189 additions and 23 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
<form class="create-form" id="create-form">
<input type="text" name="title" id="title" placeholder="Title" maxlength="500">
<textarea name="content" id="content" placeholder="Content"></textarea>
<label style="margin-bottom: -2.3rem; margin-top: 1.1rem; z-index: 2; align-self: flex-start; margin-left: 1rem; pointer-events: none;">Syntax Highlighting -</label>
<label id="syntax-label" style="">Syntax Highlighting -</label>
<select name="syntax" id="syntax">
<option value="none">None</option>
<option value="AutoHotkey">AutoHotkey</option>
@@ -57,7 +57,7 @@
</form>
</div>
</body>
<script src="js/navbar.js"></script>
<script src="js/main.js"></script>
<script src="js/index.js"></script>
</html>