Skip to content

Commit

Permalink
res: templates: Add SwaggerAPI link on nav bar
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Verma <[email protected]>
  • Loading branch information
shank03 committed Oct 29, 2023
1 parent bab081d commit 8d91469
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@
Privacy
</a>
</li>
<li>
<a href="swagger"
class="block py-2 pl-3 pr-4 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-[#006C4B] md:p-0 md:dark:hover:text-[#006C4B] dark:text-white dark:hover:bg-[#006C4B] dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
onclick="hideNav()">
Swagger API
</a>
</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -275,7 +282,7 @@ <h3 class="mb-2 text-xl font-bold dark:text-white">Club Communication</h3>
<a href="https://github.com/CC-MNNIT/MotiClubs" class="mr-4 hover:underline md:mr-6">Source Code</a>
</li>
<li>
<a href="swagger" class="mr-4 hover:underline md:mr-6 ">Swagger</a>
<a href="swagger" class="mr-4 hover:underline md:mr-6 ">Swagger API</a>
</li>
<li>
<a href="privacy" class="mr-4 hover:underline md:mr-6 ">Privacy Policy</a>
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/templates/privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@
Source
</a>
</li>
<li>
<a href="swagger"
class="block py-2 pl-3 pr-4 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-[#006C4B] md:p-0 md:dark:hover:text-[#006C4B] dark:text-white dark:hover:bg-[#006C4B] dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
onclick="hideNav()">
Swagger API
</a>
</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -263,7 +270,7 @@
<a href="https://github.com/CC-MNNIT/MotiClubs" class="mr-4 hover:underline md:mr-6">Source Code</a>
</li>
<li>
<a href="swagger" class="mr-4 hover:underline md:mr-6 ">Swagger</a>
<a href="swagger" class="mr-4 hover:underline md:mr-6 ">Swagger API</a>
</li>
</ul>
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">
Expand Down

0 comments on commit 8d91469

Please sign in to comment.