Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/web/docs/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function IndexPage(): ReactElement {
</Hero>
<LandingPageFeatureTabs className="relative mt-6 sm:mt-[-72px]" />
<TrustedBySection className="mx-auto my-8 md:my-16 lg:my-24" />
<EcosystemManagementSection className="mx-4 md:mx-6" />
<EcosystemManagementSection className="max-sm:rounded-none sm:mx-4 md:mx-6" />
<StatsList className="mt-6 md:mt-0">
<StatsItem label="GitHub commits" value={7} suffix="K" decimal />
<StatsItem label="Active developers" value={9.6} suffix="K" decimal />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { cn } from '../../lib/utils';
import css from './ecosystem-management.module.css';

export interface DashedLineProps extends React.SVGProps<SVGSVGElement> {
short?: boolean;
}

export function DashedLine(props: DashedLineProps) {
if (props.short) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="111"
height="114"
viewBox="0 0 111 114"
stroke="currentColor"
fill="none"
className={cn('overflow-visible', css['animate-dash-reverse'], props.className)}
>
<path
d="M0 112.5H31.3352C44.59 112.5 55.3351 101.755 55.3352 88.5001L55.3355 25.4999C55.3356 12.2451 66.0807 1.50001 79.3355 1.5L111 1.5"
stroke-width="3"
stroke-dasharray="3 6"
/>
</svg>
);
}

return (
<svg
width={107}
height={326}
viewBox="0 0 107 326"
stroke="currentColor"
fill="none"
{...props}
className={cn('overflow-visible', css['animate-dash'], props.className)}
>
<path
d="M 150 0 H 77.659 c -13.255 0 -24 10.745 -24 24 V 303.5 c 0 13.255 -10.746 24 -24 24 H 0"
strokeWidth={3}
strokeDasharray="3 6"
vectorEffect="non-scaling-stroke"
/>
</svg>
);
}
Loading
Loading