@ -12,6 +12,10 @@ const StyledCardsContainer = styled.div`
|
|||||||
margin-top: ${({ theme }) => theme.spacing(6)};
|
margin-top: ${({ theme }) => theme.spacing(6)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const StyledSettingsNavigationCard = styled(SettingsNavigationCard)`
|
||||||
|
color: ${({ theme }) => theme.font.color.extraLight};
|
||||||
|
`;
|
||||||
|
|
||||||
export const SettingsAccountsSettingsSection = () => {
|
export const SettingsAccountsSettingsSection = () => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
@ -29,14 +33,14 @@ export const SettingsAccountsSettingsSection = () => {
|
|||||||
>
|
>
|
||||||
Set email visibility, manage your blocklist and more.
|
Set email visibility, manage your blocklist and more.
|
||||||
</SettingsNavigationCard>
|
</SettingsNavigationCard>
|
||||||
<SettingsNavigationCard
|
<StyledSettingsNavigationCard
|
||||||
Icon={IconCalendarEvent}
|
Icon={IconCalendarEvent}
|
||||||
title="Calendar"
|
title="Calendar"
|
||||||
disabled
|
disabled
|
||||||
hasSoonPill
|
hasSoonPill
|
||||||
>
|
>
|
||||||
Configure and customize your calendar preferences.
|
Configure and customize your calendar preferences.
|
||||||
</SettingsNavigationCard>
|
</StyledSettingsNavigationCard>
|
||||||
</StyledCardsContainer>
|
</StyledCardsContainer>
|
||||||
</Section>
|
</Section>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -15,6 +15,7 @@ type SettingsNavigationCardProps = {
|
|||||||
Icon: IconComponent;
|
Icon: IconComponent;
|
||||||
onClick?: () => void;
|
onClick?: () => void;
|
||||||
title: string;
|
title: string;
|
||||||
|
className?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
const StyledCard = styled(Card)<{
|
const StyledCard = styled(Card)<{
|
||||||
@ -63,15 +64,16 @@ export const SettingsNavigationCard = ({
|
|||||||
Icon,
|
Icon,
|
||||||
onClick,
|
onClick,
|
||||||
title,
|
title,
|
||||||
|
className,
|
||||||
}: SettingsNavigationCardProps) => {
|
}: SettingsNavigationCardProps) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledCard disabled={disabled} onClick={onClick}>
|
<StyledCard disabled={disabled} onClick={onClick} className={className}>
|
||||||
<StyledCardContent>
|
<StyledCardContent>
|
||||||
<StyledHeader>
|
<StyledHeader>
|
||||||
<Icon size={theme.icon.size.lg} stroke={theme.icon.stroke.sm} />
|
<Icon size={theme.icon.size.lg} stroke={theme.icon.stroke.sm} />
|
||||||
<StyledTitle>
|
<StyledTitle className={className}>
|
||||||
{title}
|
{title}
|
||||||
{hasSoonPill && <SoonPill />}
|
{hasSoonPill && <SoonPill />}
|
||||||
</StyledTitle>
|
</StyledTitle>
|
||||||
|
|||||||
Reference in New Issue
Block a user