-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Implement new design for Welcome page #33211
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
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1fcb333
Convert welcome.html to React component
t3chguy ac03db4
Fix types
t3chguy bc0f141
Fix tests
t3chguy de7da07
Update styling to match Figma
t3chguy 7f93633
Fix random capitalisation
t3chguy 9ee1506
Tweak styling
t3chguy 3a57f20
Regenerate i18n
t3chguy 602a6c9
Merge branch 'develop' of ssh://github.com/element-hq/element-web int…
t3chguy b801ffa
Update tests
t3chguy 80c4c2b
Make linter happy
t3chguy 7790570
Iterate
t3chguy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-129 KB
(88%)
...s/App-launch-should-launch-and-render-the-welcome-view-successfully-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| /* | ||
| Copyright 2026 Element Creations Ltd. | ||
|
|
||
| SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial | ||
| Please see LICENSE files in the repository root for full details. | ||
| */ | ||
|
|
||
| .mx_DefaultWelcome { | ||
| text-align: center; | ||
|
|
||
| .mx_DefaultWelcome_logo img { | ||
| height: 48px; | ||
| aspect-ratio: auto; | ||
| display: block; | ||
| margin: 0 auto; | ||
| } | ||
|
|
||
| h1 { | ||
| margin: var(--cpd-space-4x) 0 var(--cpd-space-2x); | ||
| } | ||
|
|
||
| p { | ||
| color: var(--cpd-color-text-secondary); | ||
| margin-top: var(--cpd-space-2x); | ||
| } | ||
|
|
||
| .mx_DefaultWelcome_buttons { | ||
| margin: var(--cpd-space-6x) 0 var(--cpd-space-1x); | ||
| padding-bottom: var(--cpd-space-4x); | ||
| border-bottom: 1px solid var(--cpd-color-separator-primary); | ||
|
|
||
| a { | ||
| width: 380px; | ||
| margin-bottom: var(--cpd-space-4x); | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .mx_WelcomePage_registrationDisabled { | ||
| .mx_DefaultWelcome_buttons_register { | ||
| display: none; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| /* | ||
| Copyright 2026 Element Creations Ltd. | ||
|
|
||
| SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial | ||
| Please see LICENSE files in the repository root for full details. | ||
| */ | ||
|
|
||
| import SdkConfig from "./SdkConfig.ts"; | ||
|
|
||
| /** | ||
| * Returns whether the app is currently branded. | ||
| * This is currently a naive check of whether the `brand` config starts with the substring `Element`, | ||
| * which correctly covers `Element` (release), `Element Nightly` & `Element Pro`. | ||
| */ | ||
| export const isElementBranded = (): boolean => { | ||
| const brand = SdkConfig.get("brand"); | ||
| return brand.startsWith("Element"); | ||
| }; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.