Skip to content

Commit

Permalink
feat: homescreen ui (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi authored Dec 12, 2023
1 parent e4e54f2 commit 20cdc3d
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 4 deletions.
3 changes: 2 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"src/editor/commands.tsx": "src/editor/commands.tsx",
"src/autocomplete/Autocompleter.ts": "src/autocomplete/Autocompleter.ts",
"src/components/views/dialogs/InviteDialog.tsx": "src/components/views/dialogs/InviteDialog.tsx",
"src/components/views/right_panel/UserInfo.tsx": "src/components/views/right_panel/UserInfo.tsx"
"src/components/views/right_panel/UserInfo.tsx": "src/components/views/right_panel/UserInfo.tsx",
"src/components/structures/HomePage.tsx": "src/components/structures/HomePage.tsx"
}
59 changes: 59 additions & 0 deletions res/css/superhero/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -822,3 +822,62 @@ h2 .sh_VerifiedIcon {
--cpd-color-gray-200: #181a1f;
--cpd-color-gray-100: #14171b; */
}

.mx_HomePage_title {
font-size: 38px;
font-weight: 700;
line-height: 45px;
letter-spacing: 0em;
text-align: left;
color: #1b1d22;
margin-bottom: 24px;
align-items: center;
display: flex;
align-items: center;
}

@media (max-width: 1250px) {
.mx_HomePage_title {
flex-direction: column;
}
}

.cpd-theme-dark .mx_HomePage_title {
color: #ffffff;
}

.mx_HomePage_title svg {
heigh: 44px;
width: 173.99px;
margin-right: 8px;
}

.mx_HomePage_default_buttons_title {
font-size: 32px;
}
.cpd-theme-dark .mx_HomePage_default_buttons_title {
opacity: 0.7;
}

.mx_HomePage_default .mx_HomePage_default_buttons {
margin: 10px auto 0 !important;
}

.mx_HomePage_default .mx_HomePage_default_buttons .mx_AccessibleButton.mx_HomePage_button_custom {
width: auto !important;
min-height: auto !important;
padding: 16px 30px !important;
align-items: center;
display: flex;
flex-direction: column;
}
.mx_HomePage_default .mx_HomePage_default_buttons .mx_AccessibleButton.mx_HomePage_button_custom svg {
width: 50px !important;
height: 50px !important;
display: block !important;
margin-bottom: 4px;
}

.mx_HomePage_default .mx_HomePage_default_buttons .mx_AccessibleButton.mx_HomePage_button_custom::before {
display: none !important;
}
43 changes: 43 additions & 0 deletions res/themes/superhero/img/arts/chat-screenshot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions res/themes/superhero/img/icons/chrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions res/themes/superhero/img/icons/firefox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 20cdc3d

Please sign in to comment.