Skip to content

Commit

Permalink
🎨 frontend: navbar image login
Browse files Browse the repository at this point in the history
  • Loading branch information
skillzl committed Nov 6, 2023
1 parent 1fc65e1 commit 18b91e3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
20 changes: 20 additions & 0 deletions commands/fetch/fetch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const Command = require('../../structures/CommandClass');

const { SlashCommandBuilder } = require('discord.js');

module.exports = class Fetch extends Command {
constructor(client) {
super(client, {
data: new SlashCommandBuilder()
.setName('fetch')
.setDescription('Customize your profile, by setting a new about me text')
.setDMPermission(false),
usage: 'fetch',
category: 'Fetch',
permissions: ['Use Application Commands', 'Send Messages', 'Embed Links'],
});
}
async run(client, interaction) {
interaction.reply('<:balance_emoji:1129875960188112966>');
}
};
10 changes: 10 additions & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ p, div {
font-family: "Open Sans" !important;
}

.dropdown-menu {
color: black;
border-radius: 3px;
padding-left: 240px;
}

.dropdown-item {
color: black;
}

.navicon-fade {
transition: opacity 0.3s;
-webkit-transition: opacity 0.3s;
Expand Down
2 changes: 1 addition & 1 deletion views/partials/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="navbar-item">
<div class="dropdown is-right is-hoverable">
<div class="dropdown-trigger">
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu4">
<button class="button is-light is-rounded" aria-haspopup="true" aria-controls="dropdown-menu4">
<img style="padding: 4px; border-radius: 8px;" src="https://cdn.discordapp.com/avatars/<%= user.id %>/<%= user.avatar %>"> <br><span><%= user.username %><%= user.discriminator && user.discriminator !== '0' ? `#${user.discriminator}` : '' %></span>
<span class="icon is-small">
<i class="fas fa-angle-down" aria-hidden="true"></i>
Expand Down

0 comments on commit 18b91e3

Please sign in to comment.