Skip to content

Commit 0eb3fc1

Browse files
committed
chores
1 parent 1bfa7d9 commit 0eb3fc1

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

formatter.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@
2222
<link rel="stylesheet" href="base.css ">
2323
<!-- <script src="https://cdn.tailwindcss.com"></script> -->
2424

25-
<script>
2625

27-
tailwind.config = {
28-
darkMode: 'class', }
29-
</script>
30-
3126
<link rel="stylesheet" href="style.css">
3227
<!-- Add favicon link later -->
3328
<!-- <link rel="icon" href="favicon.ico" type="image/x-icon"> -->
@@ -90,10 +85,10 @@
9085
<nav class="bg-white dark:bg-gray-800 shadow p-4 flex justify-between items-center">
9186
<div class="text-xl font-bold">JSON Tools</div>
9287
<div>
93-
<a href="/" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Diff</a>
94-
<a href="/formatter.html" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Formatter</a>
95-
<button id="darkModeToggle" class="ml-4 px-3 py-2 rounded focus:outline-none dark:text-gray-200">🌙/☀️</button>
96-
</div>
88+
<a href="/json-diff" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Diff</a>
89+
<a href="/json-diff/formatter.html" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Formatter</a>
90+
<button id="darkModeToggle" class="ml-4 px-3 py-2 rounded focus:outline-none dark:text-gray-200">🌙/☀️</button>
91+
</div>
9792
</nav>
9893

9994
<main class="container mx-auto p-4 mt-8">

index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626

2727
<link rel="stylesheet" href="base.css ">
2828
<link rel="stylesheet" href="style.css">
29-
<script>
30-
31-
tailwind.config = {
32-
darkMode: 'class', }
33-
</script>
29+
3430
<!-- Add favicon link later -->
3531
<!-- <link rel="icon" href="favicon.ico" type="image/x-icon"> -->
3632

@@ -95,8 +91,8 @@
9591
<nav class="bg-white dark:bg-gray-800 shadow p-4 flex justify-between items-center">
9692
<div class="text-xl font-bold">JSON Tools</div>
9793
<div>
98-
<a href="/" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Diff</a>
99-
<a href="/formatter.html" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Formatter</a>
94+
<a href="/json-diff/" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Diff</a>
95+
<a href="/json-diff/formatter.html" class="px-3 py-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700">JSON Formatter</a>
10096
<button id="darkModeToggle" class="ml-4 px-3 py-2 rounded focus:outline-none dark:text-gray-200">🌙/☀️</button>
10197
</div>
10298
</nav>

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JSON Formatter & Diff Tool
22

3-
A highly SEO-optimized web app that provides **JSON Formatting** and **JSON Diff Comparison** in one simple, static tool. Built with Vanilla JS and TailwindCSS (via CDN).
3+
A Web app that provides **JSON Formatting** and **JSON Diff Comparison** in one simple, static tool. Built with Vanilla JS and TailwindCSS.
44

55
## Project Status
66

0 commit comments

Comments
 (0)