Skip to content

feat: add new dashboard layout #3407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added client/public/dashboardHeader1080x280.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have all of these assets? Can't we use a single SVG file for this?

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/dashboardHeader1920x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/dashboardHeader2560x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/dashboardHeader3840x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/dashboardHeader640x200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/dashboardHeader750x200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions client/src/features/dashboardV2/DashboardV2.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/variables-dark";
@import "~bootstrap/scss/maps";
@import "~bootstrap/scss/mixins";

.DashboardHeader {
height: auto;

img {
height: 150px;

@include media-breakpoint-up(md) {
height: 180px;
}

@include media-breakpoint-up(lg) {
height: 130px;
}
}
}

.AnonymousAvatar {
width: 64px;
height: 64px;
}

.DashboardCard {
background-color: rgba(var(--bs-primary-rgb), 0.1) !important;

&:hover {
background-color: var(--bs-primary-bg-subtle) !important;
}
}

.FooterCard {
a svg {
transition: all 0.3s linear;
}
a:hover svg {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small detail, but this would be nice:

Suggested change
a:hover svg {
a:hover svg, a:focus svg {

Reference: https://webaim.org/techniques/hypertext/link_text#hover

transform: scale(1.3);
}
}
Loading
Loading