Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3c2a1ae4de | |||
| 7afdb0aede | |||
| 12f6400de7 |
@@ -8,6 +8,7 @@ import type { LucideIcon } from "lucide-react";
|
|||||||
import type { ButtonConfig } from "@/types/button";
|
import type { ButtonConfig } from "@/types/button";
|
||||||
import type { DashboardSidebarItem, DashboardStat, DashboardListItem } from "@/components/shared/Dashboard";
|
import type { DashboardSidebarItem, DashboardStat, DashboardListItem } from "@/components/shared/Dashboard";
|
||||||
import type { ChartDataItem } from "@/components/bento/BentoLineChart/utils";
|
import type { ChartDataItem } from "@/components/bento/BentoLineChart/utils";
|
||||||
|
import HeroSection from "@/components/hero/HeroSection";
|
||||||
|
|
||||||
type HeroBillboardDashboardBackgroundProps = Extract<
|
type HeroBillboardDashboardBackgroundProps = Extract<
|
||||||
HeroBackgroundVariantProps,
|
HeroBackgroundVariantProps,
|
||||||
@@ -93,8 +94,8 @@ const HeroBillboardDashboard = ({
|
|||||||
backgroundImage,
|
backgroundImage,
|
||||||
}: HeroBillboardDashboardProps) => {
|
}: HeroBillboardDashboardProps) => {
|
||||||
return (
|
return (
|
||||||
<section
|
<HeroSection
|
||||||
aria-label={ariaLabel}
|
ariaLabel={ariaLabel}
|
||||||
className={cls("relative w-full py-hero-page-padding", className)}
|
className={cls("relative w-full py-hero-page-padding", className)}
|
||||||
style={{ backgroundImage: backgroundImage ? `url(${backgroundImage})` : undefined }}
|
style={{ backgroundImage: backgroundImage ? `url(${backgroundImage})` : undefined }}
|
||||||
>
|
>
|
||||||
@@ -120,7 +121,7 @@ const HeroBillboardDashboard = ({
|
|||||||
className={cls(dashboard.className, dashboardClassName)}
|
className={cls(dashboard.className, dashboardClassName)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</HeroSection>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user