Skip to content

Commit

Permalink
- webp -> png
Browse files Browse the repository at this point in the history
- fix deps.ts
  • Loading branch information
JAVAB3ANS committed Apr 13, 2024
1 parent d587611 commit 85b5988
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 16 deletions.
15 changes: 6 additions & 9 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
export {
Application, Router, send, Response, Cookies
} from "https://deno.land/x/oak@v10.1.0/mod.ts";

export {
config
} from "https://deno.land/x/dotenv/mod.ts";

export {
Application,
Router,
send,
Response,
Cookies,
Status
} from "https://deno.land/x/oak@v10.1.0/deps.ts";
} from "https://deno.land/x/oak@v10.1.0/mod.ts";
4 changes: 2 additions & 2 deletions static/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h3>Member Roles</h3>
<!-- data-offset="-5,10" -->
<h4 id="username">Username</h4>
<img
src="./discord-small.webp"
src="./discord-small.png"
draggable="false"
width="35"
height="35"
Expand All @@ -46,7 +46,7 @@ <h4 id="username">Username</h4>
>
<div class="logoContainer">
<img
src="./discord-small.webp"
src="./discord-small.png"
draggable="false"
width="60"
height="60"
Expand Down
4 changes: 2 additions & 2 deletions static/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ window.onload = async function() {
if (userImageURL !== "null") {
avatarIcon.setAttribute("src", userImageURL);
} else {
avatarIcon.setAttribute("src", "./discord-logo.webp"); // Change this to the appropriate image URL
avatarIcon.setAttribute("src", "./discord-logo.png"); // Change this to the appropriate image URL
}

document.getElementById("guild-icon").setAttribute("src", "./discord-small.webp");
document.getElementById("guild-icon").setAttribute("src", "./discord-small.png");


// Render roles
Expand Down
Binary file added static/discord-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/discord-logo.webp
Binary file not shown.
Binary file added static/discord-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/discord-small.webp
Binary file not shown.
6 changes: 3 additions & 3 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h3>Member Roles</h3>
>
<div class="logoContainer">
<img
src="discord-small.webp"
src="discord-small.png"
draggable="false"
width="60"
height="60"
Expand All @@ -50,10 +50,10 @@ <h2>
id="login-button"
>
<img
src="discord-logo.webp"
src="discord-logo.png"
draggable="false"
style="filter: invert(1);"
alt="discord-logo"
alt="discord-logo"
width="20"
height="20"
/>
Expand Down

0 comments on commit 85b5988

Please sign in to comment.