feat: Add collapsible sections and mobile grid layout
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled

- Convert Active Sessions and Trusted Devices to collapsible Accordion components
- Display count badge in collapsed state
- Show loading state in accordion header
- Implement 2-card grid layout on mobile (xs=6)
- Responsive card sizing and spacing
- Centered layout on mobile, horizontal on desktop
- Hide full birthdate on mobile, show age only

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-04 08:08:24 +00:00
parent ec3f0264a0
commit 426b5a309e
5 changed files with 79 additions and 43 deletions

View File

@@ -266,10 +266,9 @@ export default function SettingsPage() {
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4, delay: 0.3 }}
style={{ marginBottom: '24px' }}
>
<Box sx={{ mb: 3 }}>
<SessionsManagement />
</Box>
<SessionsManagement />
</motion.div>
{/* Device Trust Management */}
@@ -277,10 +276,9 @@ export default function SettingsPage() {
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4, delay: 0.33 }}
style={{ marginBottom: '24px' }}
>
<Box sx={{ mb: 3 }}>
<DeviceTrustManagement />
</Box>
<DeviceTrustManagement />
</motion.div>
{/* Biometric Authentication */}