fix some bug in some blocks
This commit is contained in:
+15
-13
@@ -93,22 +93,24 @@ const Hero242 = ({ className }: Hero242Props) => {
|
||||
} satisfies ChartConfig;
|
||||
|
||||
return (
|
||||
<section className={cn("h-full w-screen overflow-hidden py-32", className)}>
|
||||
<div className="container grid grid-cols-1 gap-8 lg:grid-cols-2">
|
||||
<div className="w-full space-y-5">
|
||||
<h1 className="mt-3 w-full max-w-2xl text-2xll font-medium font-semibold tracking-tighter lg:text-2xll">
|
||||
<section
|
||||
className={cn("relative h-full w-full overflow-hidden py-32", className)}
|
||||
>
|
||||
<div className="container grid min-w-0 grid-cols-1 gap-8 lg:grid-cols-2">
|
||||
<div className="w-full min-w-0 space-y-5">
|
||||
<h1 className="mt-3 w-full max-w-2xl text-balance text-2xll font-medium font-semibold tracking-tighter lg:text-2xll">
|
||||
اشتراکی برای رشد <Cover>رشد</Cover> شما
|
||||
</h1>
|
||||
|
||||
<p className="max-w-xl text-muted-foreground">
|
||||
<p className="max-w-xl text-balance text-muted-foreground">
|
||||
به هزاران توسعهدهنده و تیم محصول بپیوندید که با استفاده از این کامپوننتها، توسعه محصولات خود را سریعتر و سادهتر کردهاند.
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<div className="mt-10 mb-29 flex gap-2">
|
||||
<div className="mt-10 mb-29 flex min-w-0 flex-wrap gap-2">
|
||||
<Button className="h-10 rounded-2xl">شروع رایگان</Button>
|
||||
<Button variant="secondary" className="h-10 rounded-2xl">
|
||||
مشاهده مخزن مخزن کد
|
||||
</Button>
|
||||
</Button>
|
||||
</div>
|
||||
<ul className="space-y-4">
|
||||
<li className="mb-3">
|
||||
@@ -117,9 +119,9 @@ const Hero242 = ({ className }: Hero242Props) => {
|
||||
</p>
|
||||
</li>
|
||||
{features.map((feature) => (
|
||||
<li key={feature.title} className="flex gap-4 lg:items-center">
|
||||
<Check className="size-4" />
|
||||
<p className="font-medium tracking-tight">
|
||||
<li key={feature.title} className="flex min-w-0 gap-4 lg:items-center">
|
||||
<Check className="mt-1 size-4 shrink-0" />
|
||||
<p className="min-w-0 text-balance font-medium tracking-tight">
|
||||
{feature.title}
|
||||
<span className="ps-2 opacity-30">{feature.description}</span>
|
||||
</p>
|
||||
@@ -127,8 +129,8 @@ const Hero242 = ({ className }: Hero242Props) => {
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
<div className="h-full w-full rounded-2xl bg-muted p-6">
|
||||
<ChartContainer config={chartConfig} className="h-full w-full">
|
||||
<div className="h-full min-h-0 w-full min-w-0 overflow-hidden rounded-2xl bg-muted p-6">
|
||||
<ChartContainer config={chartConfig} className="h-full w-full min-w-0">
|
||||
<BarChart
|
||||
accessibilityLayer
|
||||
data={chartData}
|
||||
|
||||
Reference in New Issue
Block a user