Skip to content

Commit e381023

Browse files
authored
New ecosystem illustration (#7301)
1 parent b49a88c commit e381023

File tree

13 files changed

+489
-350
lines changed

13 files changed

+489
-350
lines changed

.github/workflows/tests-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
up -d --wait
4949
5050
- name: cypress
51-
timeout-minutes: 8
51+
timeout-minutes: 12
5252
uses: cypress-io/github-action@v6
5353
env:
5454
CI: true

packages/web/docs/src/app/feed.xml/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/no-extraneous-dependencies
21
import RSS from 'rss';
32
import { getChangelogs } from '../../components/product-updates';
43

packages/web/docs/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function IndexPage(): ReactElement {
9292
</Hero>
9393
<LandingPageFeatureTabs className="relative mt-6 sm:mt-[-72px]" />
9494
<TrustedBySection className="mx-auto my-8 md:my-16 lg:my-24" />
95-
<EcosystemManagementSection className="mx-4 md:mx-6" />
95+
<EcosystemManagementSection className="max-sm:rounded-none sm:mx-4 md:mx-6" />
9696
<StatsList className="mt-6 md:mt-0">
9797
<StatsItem label="GitHub commits" value={7} suffix="K" decimal />
9898
<StatsItem label="Active developers" value={9.6} suffix="K" decimal />
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import { cn } from '../../lib/utils';
2+
import css from './ecosystem-management.module.css';
3+
4+
export interface DashedLineProps extends React.SVGProps<SVGSVGElement> {
5+
short?: boolean;
6+
}
7+
8+
export function DashedLine(props: DashedLineProps) {
9+
const commonProps: React.SVGProps<SVGSVGElement> = {
10+
preserveAspectRatio: 'none',
11+
stroke: 'currentColor',
12+
fill: 'none',
13+
vectorEffect: 'non-scaling-stroke',
14+
...props,
15+
};
16+
17+
if (props.short) {
18+
return (
19+
<svg
20+
{...commonProps}
21+
width="111"
22+
viewBox="0 0 111 114"
23+
className={cn('h-full overflow-visible', css['animate-dash-reverse'], props.className)}
24+
>
25+
<path
26+
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"
27+
strokeWidth="3"
28+
strokeDasharray="3 6"
29+
/>
30+
</svg>
31+
);
32+
}
33+
34+
return (
35+
<svg
36+
{...commonProps}
37+
width="107"
38+
viewBox="0 0 107 326"
39+
className={cn('h-full overflow-visible', css['animate-dash'], props.className)}
40+
>
41+
<path
42+
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"
43+
strokeWidth={3}
44+
strokeDasharray="3 6"
45+
vectorEffect="non-scaling-stroke"
46+
/>
47+
</svg>
48+
);
49+
}

0 commit comments

Comments
 (0)