workspace page header redesign + tab list layout adjustments#698
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
##before


##now
what changed
WorkingSpacePageClient.tsxheaderreplaced the gradient hero card header with a flat bordered design. the workspace name is now in a
bg-mutedcard withrounded-b-noneso it visually connects to the tab list below it. the heading size bumped fromtext-3xl md:text-4xltotext-3xl md:text-5xl. the table count badge and inner flex wrapper were removed to simplify the layout.the
CreateTableBtnis now absolutely positioned atbottom-0 right-0and only shown when the workspace has tables it hasrounded-b-none border-b-0 border-r-0and a hover lift effect with a border shadow (hover:shadow-border) so it looks like a tab attached to the header card.WorkingSpacePageClient.tsxtab listDesktop:max-w-[900px]toDesktop:w-[80rem] Desktop:max-w-fullto match the new header widthhsl(var(--muted))instead ofhsl(var(--card))to match the new backgroundTabsListgetsrounded-t-noneto connect seamlessly with the header card above itleft-1/right-1toleft-2/right-2w-40tow-52CreateTableBtn.tsx16to14hidden sm:block)the old gradient hero card header was visually heavy and disconnected from the tab list. the new design merges header and tabs into a unified block.