diff --git a/src/components/ButtonGroup.tsx b/src/components/ButtonGroup.tsx index c22aa36f6..657635c3c 100644 --- a/src/components/ButtonGroup.tsx +++ b/src/components/ButtonGroup.tsx @@ -32,7 +32,7 @@ export function ButtonGroup({ '[&>*]:border-0! [&>*+*]:border-l! [&>*+*]:border-border-default!', 'bg-background-surface text-text-primary', 'shadow-sm', - '[&>[aria-pressed=true]]:bg-text-primary [&>[aria-pressed=true]]:text-background-default [&>[aria-pressed=true]]:shadow-sm', + '[&>[aria-pressed=true]]:border-transparent [&>[aria-pressed=true]]:bg-text-primary [&>[aria-pressed=true]]:text-background-default [&>[aria-pressed=true]]:shadow-sm', className, )} > diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 6d2a637b3..e07cc0e1f 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -945,27 +945,24 @@ function MobileNavigation({ Ask AI - {loadAuthControls ? ( - - ) : ( - signIn - )} + onClick={onNavigate} + className="flex w-full items-center gap-3.5 rounded-xl px-3 py-4 text-left font-ds-display text-ds-heading-3 text-[#a3a3a3] transition-colors hover:bg-[#171717] hover:text-white focus-visible:bg-[#171717] focus-visible:text-white focus-visible:outline-none" + > + + Sign In + + } + > + + diff --git a/src/components/NavbarAuthControls.tsx b/src/components/NavbarAuthControls.tsx index f15260943..1fd4d2688 100644 --- a/src/components/NavbarAuthControls.tsx +++ b/src/components/NavbarAuthControls.tsx @@ -1,11 +1,13 @@ import * as React from 'react' -import { GearIcon } from '@phosphor-icons/react/Gear' -import { KeyIcon } from '@phosphor-icons/react/Key' -import { LockIcon } from '@phosphor-icons/react/Lock' -import { HammerIcon } from '@phosphor-icons/react/Hammer' -import { SignInIcon } from '@phosphor-icons/react/SignIn' -import { SignOutIcon } from '@phosphor-icons/react/SignOut' -import { SparkleIcon } from '@phosphor-icons/react/Sparkle' +import { + GearIcon as Gear, + KeyIcon as Key, + LockIcon as Lock, + SignInIcon, + SignInIcon as SignIn, + SignOutIcon as SignOut, + SparkleIcon as Sparkle, +} from '@phosphor-icons/react' import { Link, useNavigate } from '@tanstack/react-router' import { twMerge } from 'tailwind-merge' import { @@ -137,21 +139,14 @@ export function MobileNavbarAuthControls({ onClick={onNavigate} className={itemClassName} > - + Sign In ) - const loadingPlaceholder = ( - @@ -419,7 +415,7 @@ function SocialLogoPicker() { @@ -430,7 +426,7 @@ function SocialLogoPicker() { > {option.label} {option.value === orientation.value ? ( - + ) : null} ))} @@ -446,7 +442,7 @@ function SocialLogoPicker() { style={{ background: color.swatch }} /> {color.label} - + @@ -462,7 +458,7 @@ function SocialLogoPicker() { /> {option.label} {option.value === color.value ? ( - + ) : null} ))} @@ -473,7 +469,7 @@ function SocialLogoPicker() { @@ -484,7 +480,7 @@ function SocialLogoPicker() { > {option.label} {option.value === format.value ? ( - + ) : null} ))} @@ -508,7 +504,7 @@ function SocialLogoPicker() { aria-label={`Download ${orientation.label} ${color.label} as ${format.label}`} title={`Download ${format.label}`} > -