Skip to content

Commit 8953049

Browse files
Implement plan details
ref DEV-2282
2 parents 127076e + 9018a62 commit 8953049

File tree

9 files changed

+702
-433
lines changed

9 files changed

+702
-433
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { Icon, Text } from "@fluentui/react";
2+
import { FormattedMessage } from "@oursky/react-messageformat";
3+
import React from "react";
4+
5+
interface CancelSubscriptionReminderProps {
6+
formattedBillingDate: string;
7+
}
8+
9+
export function CancelSubscriptionReminder({
10+
formattedBillingDate,
11+
}: CancelSubscriptionReminderProps): React.ReactElement {
12+
return (
13+
<section className="rounded-sm py-4 px-6 bg-brand-50">
14+
<div className="flex items-center gap-x-1">
15+
<Icon className="text-theme-primary text-[1rem]" iconName="Info" />
16+
<Text variant="mediumPlus" className="font-semibold">
17+
<FormattedMessage id="DowngradeReminder.title" />
18+
</Text>
19+
</div>
20+
<Text block={true} variant="medium">
21+
<FormattedMessage
22+
id="DowngradeReminder.description"
23+
values={{ date: formattedBillingDate }}
24+
/>
25+
</Text>
26+
</section>
27+
);
28+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.cardContainer {
2+
@apply grid grid-flow-row gap-4;
3+
}
4+
5+
.card {
6+
@apply grid grid-cols-2 gap-8;
7+
@apply rounded-xl border border-solid border-border-primary;
8+
@apply p-8;
9+
}

0 commit comments

Comments
 (0)