[eric] remove skip options from onboarding and walkthrough

This commit is contained in:
ciregenz
2026-04-05 21:09:04 -07:00
parent bed7cc9d90
commit 65c11f54a0
2 changed files with 3 additions and 25 deletions
@@ -277,7 +277,7 @@ const OnboardingModal: React.FC = () => {
if (!open) return null;
return (
<Modal open={open} onClose={handleSkip} sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
<Modal open={open} onClose={step === 'connect' ? handleSkip : undefined} sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
<Box sx={{
width: 480, maxWidth: '90vw', bgcolor: c.bg.surface, borderRadius: `${c.radius.xl}px`,
border: `1px solid ${c.border.subtle}`, p: 3.5, outline: 'none',
@@ -373,13 +373,6 @@ const OnboardingModal: React.FC = () => {
>
Continue
</Button>
<Button
onClick={() => setStep('connect')}
fullWidth
sx={{ textTransform: 'none', fontSize: '0.72rem', color: c.text.ghost, '&:hover': { bgcolor: 'transparent', color: c.text.muted } }}
>
Skip
</Button>
</>
) : (
<>
@@ -370,22 +370,7 @@ const OnboardingWalkthrough: React.FC<Props> = ({ onComplete }) => {
)}
{/* Buttons */}
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<Button
onClick={handleSkip}
sx={{
textTransform: 'none',
fontSize: '0.72rem',
color: c.text.muted,
fontFamily: c.font.sans,
minWidth: 'auto',
px: 1,
'&:hover': { bgcolor: 'transparent', color: c.text.secondary },
}}
>
Skip tour
</Button>
<Box sx={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Button
onClick={handleNext}
sx={{
@@ -401,7 +386,7 @@ const OnboardingWalkthrough: React.FC<Props> = ({ onComplete }) => {
'&:hover': { bgcolor: c.accent.hover || c.accent.primary },
}}
>
{isLastStep ? 'Get Started' : step.actionHint ? 'or Skip step' : 'Next'}
{isLastStep ? 'Get Started' : 'Next'}
</Button>
</Box>
</Box>