Skip to content

Commit

Permalink
Minor UI Enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
adhirajpandey committed Mar 21, 2024
1 parent b7dd11a commit c55ec31
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
12 changes: 7 additions & 5 deletions public/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
src="../images/clipper.png"
/>
</a>
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
<a href="/">
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
</a>
</div>

<div
Expand Down
12 changes: 7 additions & 5 deletions public/html/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
src="../images/clipper.png"
/>
</a>
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
<a href="/">
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
</a>
</div>

<div
Expand Down
12 changes: 7 additions & 5 deletions public/html/premium.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
src="../images/clipper.png"
/>
</a>
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
<a href="/">
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
</a>
</div>

<div
Expand Down
12 changes: 7 additions & 5 deletions public/html/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
src="../images/clipper.png"
/>
</a>
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
<a href="/">
<div
class="text-3xl m-2 font-extrabold text-center text-white"
>
Clipper
</div>
</a>
</div>

<div
Expand Down
3 changes: 3 additions & 0 deletions public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ const saveGeneralClipData = async function () {
}

document.addEventListener("DOMContentLoaded", function () {
if (checkLoggedIn()) {
window.location.href = "/premium"
}
document
.getElementById("save-clip-btn")
.addEventListener("click", saveGeneralClipData)
Expand Down

0 comments on commit c55ec31

Please sign in to comment.