-
Notifications
You must be signed in to change notification settings - Fork 3.4k
improvement(ui): align all public pages with dark landing theme and improve whitelabeling #3604
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
Open
waleedlatif1
wants to merge
17
commits into
staging
Choose a base branch
from
fix/sidebar-loading
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,072
−1,434
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
71afa3a
fix(sidebar): show icon-sized skeletons in collapsed settings sidebar
waleedlatif1 af872df
fix(sidebar): hide expanded skeletons during pre-hydration in collaps…
waleedlatif1 a58de5a
fix(sidebar): align collapsed settings skeletons with actual icon pos…
waleedlatif1 03739d0
fix(sidebar): match collapsed skeleton section grouping with loaded l…
waleedlatif1 c191f15
fix(sidebar): hoist skeleton section counts to module constant
waleedlatif1 0725c98
improvement(ui): align all public pages with dark landing theme and i…
waleedlatif1 4ede522
fix(ui): address PR review comments - restore StatusPageLayout wrappe…
waleedlatif1 84b8604
fix(ui): add missing dark class to 404 page, add relative positioning…
waleedlatif1 a814db7
fix(ui): fallback to white button when whitelabeled without primary c…
waleedlatif1 7a6d689
improvement(seo): add x-default hreflang, speakable schema to landing…
waleedlatif1 fe92bf4
fix(ui): fix OTP/input light-mode styles and add missing header class…
waleedlatif1 b487eee
undo hardcoded ff config
waleedlatif1 8255763
update old components/ui usage to emcn
waleedlatif1 d904f81
fix(ui): add SupportFooter to InviteLayout, remove duplicates from un…
waleedlatif1 3cb33e5
fix(ui): fix invite layout flex centering, use BrandedButton on 404 page
waleedlatif1 f337b66
fix(ui): fix OTP group styling, props spread order in BrandedButton, …
waleedlatif1 88ac9d3
fix: enterprise hydration error
emir-karabeg 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
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 |
|---|---|---|
| @@ -1,44 +1,93 @@ | ||
| export default function AuthBackgroundSVG() { | ||
| return ( | ||
| <svg | ||
| aria-hidden='true' | ||
| className='pointer-events-none fixed inset-0 h-full w-full' | ||
| style={{ zIndex: 5 }} | ||
| viewBox='0 0 1880 960' | ||
| fill='none' | ||
| xmlns='http://www.w3.org/2000/svg' | ||
| preserveAspectRatio='xMidYMid slice' | ||
| > | ||
| {/* Right side paths - extended to connect */} | ||
| <path | ||
| d='M1393.53 42.8889C1545.99 173.087 1688.28 339.75 1878.44 817.6' | ||
| stroke='#E7E4EF' | ||
| strokeWidth='2' | ||
| /> | ||
| <path d='M1624.21 960L1625.78 0' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <path d='M1832.67 715.81L1880 716.031' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <path d='M1393.4 40V0' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='1393.03' cy='40.0186' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='1625.28' cy='303.147' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='1837.37' cy='715.81' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <> | ||
| {/* Top-left card outline */} | ||
| <div | ||
| aria-hidden='true' | ||
| className='pointer-events-none absolute top-[-3vw] left-[-10vw] z-[5] aspect-[344/328] w-[38vw]' | ||
| > | ||
| <svg | ||
| viewBox='0 0 344 328' | ||
| fill='none' | ||
| xmlns='http://www.w3.org/2000/svg' | ||
| preserveAspectRatio='xMidYMid meet' | ||
| className='h-full w-full' | ||
| > | ||
| <path | ||
| d='M322.641 326.586L335.508 326.586C339.926 326.586 343.508 323.004 343.508 318.586V153.613C343.508 149.195 339.926 145.613 335.508 145.613H228.282C223.864 145.613 220.282 142.031 220.282 137.613V-50H190.282V137.613C190.282 142.031 186.7 145.613 182.282 145.613H-157V318.586C-157 323.004 -153.418 326.586 -149 326.586H322.641Z' | ||
| fill='#1C1C1C' | ||
| stroke='#323232' | ||
| strokeOpacity='0.4' | ||
| strokeWidth='1' | ||
| /> | ||
| </svg> | ||
| </div> | ||
|
|
||
| {/* Left side paths - extended to connect */} | ||
| <path | ||
| d='M160 157.764C319.811 136.451 417.278 102.619 552.39 0' | ||
| stroke='#E7E4EF' | ||
| strokeWidth='2' | ||
| /> | ||
| <path d='M310.22 803.025V0' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <path | ||
| d='M160 530.184C256.142 655.353 308.338 749.141 348.382 960' | ||
| stroke='#E7E4EF' | ||
| strokeWidth='2' | ||
| /> | ||
| <path d='M160 157.764V960' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <path d='M-50 157.764L160 157.764' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='160' cy='157.764' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='310.22' cy='803.025' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| <circle cx='160' cy='530.184' r='8.07846' fill='white' stroke='#E7E4EF' strokeWidth='2' /> | ||
| </svg> | ||
| {/* Top-right card outline */} | ||
| <div | ||
| aria-hidden='true' | ||
| className='pointer-events-none absolute top-[-4vw] right-[-14vw] z-[5] aspect-[471/470] w-[42vw]' | ||
| > | ||
| <svg | ||
| viewBox='0 0 471 470' | ||
| fill='none' | ||
| xmlns='http://www.w3.org/2000/svg' | ||
| preserveAspectRatio='xMidYMid meet' | ||
| className='h-full w-full' | ||
| > | ||
| <path | ||
| d='M471 94.274L471 124.274L365.88 124.274C361.462 124.274 357.88 127.856 357.88 132.274L357.88 225.495C357.88 229.913 354.298 233.495 349.88 233.495L219.5 233.495C215.082 233.495 211.5 237.077 211.5 241.495L211.5 461.5C211.5 465.918 207.918 469.5 203.5 469.5L8.5 469.5C4.082 469.5 0.5 465.918 0.5 461.5L0.5 157.274C0.5 152.856 4.082 149.274 8.5 149.274L184 149.274C188.418 149.274 192 145.692 192 141.274L192 102.274C192 97.856 195.582 94.274 200 94.274L471 94.274Z' | ||
| fill='#1C1C1C' | ||
| stroke='#323232' | ||
| strokeOpacity='0.4' | ||
| strokeWidth='1' | ||
| /> | ||
| </svg> | ||
| </div> | ||
|
|
||
| {/* Bottom-left card outline (mirrored) */} | ||
| <div | ||
| aria-hidden='true' | ||
| className='pointer-events-none absolute bottom-[-6vw] left-[-12vw] z-[5] aspect-[471/470] w-[36vw] rotate-180' | ||
| > | ||
| <svg | ||
| viewBox='0 0 471 470' | ||
| fill='none' | ||
| xmlns='http://www.w3.org/2000/svg' | ||
| preserveAspectRatio='xMidYMid meet' | ||
| className='h-full w-full' | ||
| > | ||
| <path | ||
| d='M471 94.274L471 124.274L365.88 124.274C361.462 124.274 357.88 127.856 357.88 132.274L357.88 225.495C357.88 229.913 354.298 233.495 349.88 233.495L219.5 233.495C215.082 233.495 211.5 237.077 211.5 241.495L211.5 461.5C211.5 465.918 207.918 469.5 203.5 469.5L8.5 469.5C4.082 469.5 0.5 465.918 0.5 461.5L0.5 157.274C0.5 152.856 4.082 149.274 8.5 149.274L184 149.274C188.418 149.274 192 145.692 192 141.274L192 102.274C192 97.856 195.582 94.274 200 94.274L471 94.274Z' | ||
| fill='#1C1C1C' | ||
| stroke='#323232' | ||
| strokeOpacity='0.4' | ||
| strokeWidth='1' | ||
| /> | ||
| </svg> | ||
| </div> | ||
|
|
||
| {/* Bottom-right card outline (mirrored) */} | ||
| <div | ||
| aria-hidden='true' | ||
| className='pointer-events-none absolute right-[-12vw] bottom-[-5vw] z-[5] aspect-[344/328] w-[34vw] rotate-180' | ||
| > | ||
| <svg | ||
| viewBox='0 0 344 328' | ||
| fill='none' | ||
| xmlns='http://www.w3.org/2000/svg' | ||
| preserveAspectRatio='xMidYMid meet' | ||
| className='h-full w-full' | ||
| > | ||
| <path | ||
| d='M322.641 326.586L335.508 326.586C339.926 326.586 343.508 323.004 343.508 318.586V153.613C343.508 149.195 339.926 145.613 335.508 145.613H228.282C223.864 145.613 220.282 142.031 220.282 137.613V-50H190.282V137.613C190.282 142.031 186.7 145.613 182.282 145.613H-157V318.586C-157 323.004 -153.418 326.586 -149 326.586H322.641Z' | ||
| fill='#1C1C1C' | ||
| stroke='#323232' | ||
| strokeOpacity='0.4' | ||
| strokeWidth='1' | ||
| /> | ||
| </svg> | ||
| </div> | ||
| </> | ||
| ) | ||
| } |
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
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.