website refactor
This commit is contained in:
@@ -5,9 +5,8 @@ import type { DriverProfileDriverSummaryViewModel } from '@/lib/view-models/Driv
|
||||
import { Card } from '@/ui/Card';
|
||||
import { Button } from '@/ui/Button';
|
||||
import { Input } from '@/ui/Input';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { Heading } from '@/ui/Heading';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Heading } from '@/ui/Heading';
|
||||
import { Select } from '@/ui/Select';
|
||||
import { Toggle } from '@/ui/Toggle';
|
||||
import { TextArea } from '@/ui/TextArea';
|
||||
@@ -142,14 +141,14 @@ export function ProfileSettings({ driver, onSave }: ProfileSettingsProps) {
|
||||
</Stack>
|
||||
</Card>
|
||||
|
||||
<Box display="flex" gap={3}>
|
||||
<Stack display="flex" gap={3}>
|
||||
<Button variant="primary" onClick={handleSave} fullWidth>
|
||||
Save Changes
|
||||
</Button>
|
||||
<Button variant="secondary" fullWidth>
|
||||
Cancel
|
||||
</Button>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user