Compare commits
1 Commits
version_34
...
version_23
| Author | SHA1 | Date | |
|---|---|---|---|
| 46fbb9db78 |
@@ -151,11 +151,7 @@ const ContactSplitForm = ({
|
|||||||
<Textarea
|
<Textarea
|
||||||
placeholder={textarea.placeholder}
|
placeholder={textarea.placeholder}
|
||||||
value={formData[textarea.name] || ""}
|
value={formData[textarea.name] || ""}
|
||||||
onChange={(value) => {
|
onChange={(value) => setFormData({ ...formData, [textarea.name]: value })}
|
||||||
if (value.length <= 500) {
|
|
||||||
setFormData({ ...formData, [textarea.name]: value });
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
required={textarea.required}
|
required={textarea.required}
|
||||||
rows={textarea.rows || 5}
|
rows={textarea.rows || 5}
|
||||||
ariaLabel={textarea.placeholder}
|
ariaLabel={textarea.placeholder}
|
||||||
@@ -163,14 +159,6 @@ const ContactSplitForm = ({
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="text-right">
|
|
||||||
{textarea && (
|
|
||||||
<span>
|
|
||||||
{formData[textarea.name]?.length || 0}/500 characters
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
{...getButtonProps(
|
{...getButtonProps(
|
||||||
{ text: buttonText, props: getButtonConfigProps() },
|
{ text: buttonText, props: getButtonConfigProps() },
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ const MetricCardTwo = ({
|
|||||||
metricDescriptionClassName={metricDescriptionClassName}
|
metricDescriptionClassName={metricDescriptionClassName}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
<button className="bg-primary-cta text-secondary-cta rounded-lg px-4 py-2 mt-4">That</button>
|
||||||
</CardStack>
|
</CardStack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ const ProductCardItem = memo(({
|
|||||||
cardNameClassName = "",
|
cardNameClassName = "",
|
||||||
cardPriceClassName = "",
|
cardPriceClassName = "",
|
||||||
}: ProductCardItemProps) => {
|
}: ProductCardItemProps) => {
|
||||||
const priceNumber = parseFloat(product.price.replace(/[^0-9.-]+/g, ""));
|
|
||||||
return (
|
return (
|
||||||
<article
|
<article
|
||||||
className={cls("card group relative h-full flex flex-col gap-4 cursor-pointer p-4 rounded-theme-capped", cardClassName)}
|
className={cls("card group relative h-full flex flex-col gap-4 cursor-pointer p-4 rounded-theme-capped", cardClassName)}
|
||||||
@@ -61,9 +60,6 @@ const ProductCardItem = memo(({
|
|||||||
{product.name?.includes("Data Science") && (
|
{product.name?.includes("Data Science") && (
|
||||||
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-primary-cta/10 text-primary-cta">Most Popular</span>
|
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-primary-cta/10 text-primary-cta">Most Popular</span>
|
||||||
)}
|
)}
|
||||||
{priceNumber < 14000 && (
|
|
||||||
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-warning-cta/10 text-warning-cta">Limited Seats</span>
|
|
||||||
)}
|
|
||||||
<h3 className={cls("text-base font-medium truncate leading-[1.3]", shouldUseLightText ? "text-background" : "text-foreground", cardNameClassName)}>
|
<h3 className={cls("text-base font-medium truncate leading-[1.3]", shouldUseLightText ? "text-background" : "text-foreground", cardNameClassName)}>
|
||||||
{product.name}
|
{product.name}
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import { cls } from "@/lib/utils";
|
|||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import type { ButtonConfig, GridVariant, CardAnimationTypeWith3D, TitleSegment } from "@/components/cardStack/types";
|
import type { ButtonConfig, GridVariant, CardAnimationTypeWith3D, TitleSegment } from "@/components/cardStack/types";
|
||||||
import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants";
|
import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants";
|
||||||
import { Star } from "lucide-react";
|
|
||||||
|
|
||||||
type TeamCardOneGridVariant = Exclude<GridVariant, "timeline">;
|
type TeamCardOneGridVariant = Exclude<GridVariant, "timeline">;
|
||||||
|
|
||||||
@@ -17,7 +16,6 @@ type TeamMember = {
|
|||||||
role: string;
|
role: string;
|
||||||
imageSrc: string;
|
imageSrc: string;
|
||||||
imageAlt?: string;
|
imageAlt?: string;
|
||||||
rating: number;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interface TeamCardOneProps {
|
interface TeamCardOneProps {
|
||||||
@@ -95,14 +93,6 @@ const TeamMemberCard = memo(({
|
|||||||
{member.role}
|
{member.role}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-1">
|
|
||||||
<Star className="w-4 h-4 text-yellow-400" />
|
|
||||||
<Star className="w-4 h-4 text-yellow-400" />
|
|
||||||
<Star className="w-4 h-4 text-yellow-400" />
|
|
||||||
<Star className="w-4 h-4" />
|
|
||||||
<Star className="w-4 h-4" />
|
|
||||||
<span className="text-sm text-foreground">{member.rating}/5</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user