website refactor
This commit is contained in:
@@ -11,7 +11,7 @@ export interface NotificationStatProps {
|
||||
|
||||
export const NotificationStat = ({ label, value, intent = 'low' }: NotificationStatProps) => (
|
||||
<Box bg="var(--ui-color-bg-base)" padding={4} style={{ border: '1px solid var(--ui-color-border-default)', borderRadius: 'var(--ui-radius-sm)' }}>
|
||||
<Text size="xs" variant="low" weight="bold" uppercase block marginBottom={1}>{label}</Text>
|
||||
<Text size="xs" variant="low" weight="bold" uppercase block>{label}</Text>
|
||||
<Text size="2xl" weight="bold" variant={intent} block>{value}</Text>
|
||||
</Box>
|
||||
);
|
||||
@@ -27,7 +27,7 @@ export const NotificationDeadline = ({ label, deadline, icon }: NotificationDead
|
||||
<Icon icon={icon} size={5} intent="warning" />
|
||||
<Box>
|
||||
<Text size="sm" weight="bold" variant="warning" block uppercase>{label}</Text>
|
||||
<Text size="xs" variant="low" block marginTop={0.5}>{deadline}</Text>
|
||||
<Text size="xs" variant="low" block>{deadline}</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user