Skip to content

Commit 82d9418

Browse files
committed
chore: fix minor reviews
1 parent fcc4302 commit 82d9418

2 files changed

Lines changed: 16 additions & 26 deletions

File tree

apps/web/src/app/(main)/(landing)/pricing/PricingContent.tsx

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const opensoxFeatures = [
4444
href="https://www.youtube.com/playlist?list=PLiWTvT-J4wHhDh-Mngogynfusor-694G-"
4545
target="_blank"
4646
rel="noopener noreferrer"
47-
className="hover:underline text-[#a472ea]"
47+
className="hover:underline text-brand-purple-light"
4848
>
4949
Check here.
5050
</Link>
@@ -88,10 +88,7 @@ export const PricingFeaturesSection = () => {
8888

8989
if (isLCPElement) {
9090
return (
91-
<li
92-
key={index}
93-
className="flex flex-col gap-4 w-full flex-1"
94-
>
91+
<li key={index} className="flex flex-col gap-4 w-full flex-1">
9592
<div className="flex flex-col gap-2 w-full">
9693
<div className="flex gap-4 items-center">
9794
<div className="text-6xl font-mono font-semibold text-transparent bg-clip-text bg-gradient-to-b from-[#a472ea] to-[#341e7b]">
@@ -108,13 +105,11 @@ export const PricingFeaturesSection = () => {
108105
</div>
109106
{Array.isArray(feature.description) ? (
110107
<div className="font-medium">
111-
{feature.description.map(
112-
(sentence, sentenceIndex) => (
113-
<p key={sentenceIndex} className="mb-2">
114-
{sentence}
115-
</p>
116-
)
117-
)}
108+
{feature.description.map((sentence, sentenceIndex) => (
109+
<p key={sentenceIndex} className="mb-2">
110+
{sentence}
111+
</p>
112+
))}
118113
</div>
119114
) : (
120115
<p className="font-medium">{feature.description}</p>
@@ -126,7 +121,7 @@ export const PricingFeaturesSection = () => {
126121
return (
127122
<li
128123
key={featureIndex}
129-
className="font- text-sm flex items-center gap-4"
124+
className="font-medium text-sm flex items-center gap-4"
130125
>
131126
<CornerDownRight className="size-4 flex-shrink-0 text-[#a472ea]" />
132127
{feature}
@@ -157,23 +152,19 @@ export const PricingFeaturesSection = () => {
157152
{index + 1}
158153
</div>
159154
<div className="flex items-center gap-2">
160-
<h3 className="text-2xl font-medium">
161-
{feature.title}
162-
</h3>
155+
<h3 className="text-2xl font-medium">{feature.title}</h3>
163156
{feature.title === "OX Newsletter" && (
164157
<ActiveTag text="completed" />
165158
)}
166159
</div>
167160
</div>
168161
{Array.isArray(feature.description) ? (
169162
<div className="font-medium">
170-
{feature.description.map(
171-
(sentence, sentenceIndex) => (
172-
<p key={sentenceIndex} className="mb-2">
173-
{sentence}
174-
</p>
175-
)
176-
)}
163+
{feature.description.map((sentence, sentenceIndex) => (
164+
<p key={sentenceIndex} className="mb-2">
165+
{sentence}
166+
</p>
167+
))}
177168
</div>
178169
) : (
179170
<p className="font-medium">{feature.description}</p>
@@ -185,7 +176,7 @@ export const PricingFeaturesSection = () => {
185176
return (
186177
<li
187178
key={featureIndex}
188-
className="font- text-sm flex items-center gap-4"
179+
className="font-medium text-sm flex items-center gap-4"
189180
>
190181
<CornerDownRight className="size-4 flex-shrink-0 text-[#a472ea]" />
191182
{feature}
@@ -245,4 +236,3 @@ export const PricingWhySubscribeSection = () => {
245236
</>
246237
);
247238
};
248-

apps/web/src/app/(main)/(landing)/pricing/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const Pricing = () => {
222222
return (
223223
<li
224224
key={featureIndex}
225-
className="font- text-sm flex items-center gap-4"
225+
className="text-sm flex items-center gap-4"
226226
>
227227
<CornerDownRight className="size-4 flex-shrink-0 text-[#a472ea]" />
228228
{feature}

0 commit comments

Comments
 (0)