Skip to content

Commit 88f5374

Browse files
authored
fix(banner): change text on redirect button to dark (#204)
* fix(banner): change text on redirect button to dark * style: format gpa-credit-cards so ci passes
1 parent 310c053 commit 88f5374

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

features/banner/try-dap-banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const TryDAPBanner = () => {
7878
</p>
7979
</div>
8080
<button
81-
className="flex items-center gap-2 absolute right-12 top-[55%] -translate-y-1/2 bg-background rounded-md px-4 py-2 cursor-pointer transition-all duration-300 ease-in-out transform scale-100 origin-center z-10 h-[44px]"
81+
className="flex items-center gap-2 absolute right-12 top-[55%] -translate-y-1/2 bg-background text-dap-dark rounded-md px-4 py-2 cursor-pointer transition-all duration-300 ease-in-out transform scale-100 origin-center z-10 h-[44px]"
8282
onClick={handleTryItNow}
8383
>
8484
<ArrowTopRightIcon className="w-6 h-6" />

features/dashboard/gpa-credit-cards.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,13 @@ const InfoIcon = () => (
3535
const FramedStatusIcon = ({ state }: { state: FramedStatusIconState }) => {
3636
if (state === "completed") {
3737
return (
38-
<div
39-
className="bg-dap-plan-green-light mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded"
40-
>
38+
<div className="bg-dap-plan-green-light mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded">
4139
<Check className="h-4 w-4 text-white" weight="bold" />
4240
</div>
4341
);
4442
}
4543
return (
46-
<div
47-
className="bg-dap-status-slate mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded"
48-
>
44+
<div className="bg-dap-status-slate mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded">
4945
<X className="h-4 w-4 text-white" weight="bold" />
5046
</div>
5147
);
@@ -64,9 +60,7 @@ export const GPATotalsCard = ({
6460
<InfoIcon />
6561
</HStack>
6662

67-
<p className="mt-1 text-sm font-semibold text-[#10B981]">
68-
{degreeName}
69-
</p>
63+
<p className="mt-1 text-sm font-semibold text-[#10B981]">{degreeName}</p>
7064

7165
<HStack gap={6} className="mt-4">
7266
<VStack gap={1.5}>

0 commit comments

Comments
 (0)