Skip to content

Commit 8724b52

Browse files
authored
work
1 parent 77f675c commit 8724b52

File tree

6 files changed

+204
-0
lines changed

6 files changed

+204
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { partners } from '#site/next-data/providers/partnerData';
2+
3+
export const GET = async () => {
4+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
5+
const list = partners.map(({ logo, ...data }) => {
6+
return data;
7+
});
8+
return Response.json(list);
9+
};
10+
11+
export const revalidate = 5000;
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
const partners = [
2+
{
3+
name: 'DigitalOcean',
4+
url: 'https://www.digitalocean.com',
5+
logo: 'ToDo', // SVG
6+
categories: ['Direct Partner'],
7+
},
8+
{
9+
name: 'Rackspace',
10+
url: 'https://www.rackspace.com',
11+
logo: 'ToDo', // SVG
12+
categories: ['Direct Partner'],
13+
},
14+
{
15+
name: 'Microsoft',
16+
url: 'https://microsoft.com',
17+
logo: 'ToDo', // SVG
18+
categories: ['Direct Partner'],
19+
},
20+
{
21+
name: 'MNX',
22+
url: 'ToDo', // URL
23+
logo: 'ToDo', // SVG
24+
categories: ['Direct Partner'],
25+
},
26+
{
27+
name: 'IBM',
28+
url: 'https://www.ibm.com',
29+
logo: 'ToDo', // SVG
30+
categories: ['Direct Partner'],
31+
},
32+
{
33+
name: 'Scaleway', // unclear partnership
34+
url: 'https://www.scaleway.com',
35+
logo: 'ToDo', // SVG
36+
categories: ['Direct Partner'],
37+
},
38+
{
39+
name: 'Cloudflare',
40+
url: 'https://www.cloudflare.com',
41+
logo: 'ToDo', // SVG
42+
categories: ['Direct Partner'],
43+
},
44+
{
45+
name: 'ARM',
46+
url: 'https://www.arm.com',
47+
logo: 'ToDo', // SVG
48+
categories: ['Direct Partner'],
49+
},
50+
{
51+
name: 'Intel',
52+
url: 'https://www.intel.com',
53+
logo: 'ToDo', // SVG
54+
categories: ['Direct Partner'],
55+
},
56+
{
57+
name: 'MacStadium',
58+
url: 'https://www.macstadium.com',
59+
logo: 'ToDo', // SVG
60+
categories: ['Direct Partner'],
61+
},
62+
{
63+
name: 'Equinix Metal', // Discuss
64+
url: 'https://www.equinix.com',
65+
logo: 'ToDo', // SVG
66+
categories: ['Direct Partner'],
67+
},
68+
{
69+
name: 'Chromatic',
70+
url: 'https://www.chromatic.com',
71+
logo: 'ToDo', // SVG
72+
categories: ['Direct Partner'],
73+
},
74+
{
75+
name: 'Vercel',
76+
url: 'https://vercel.com',
77+
logo: 'ToDo', // SVG
78+
categories: ['Direct Partner'],
79+
},
80+
{
81+
name: 'sentry',
82+
url: 'https://sentry.io',
83+
logo: 'ToDo', // SVG
84+
categories: ['Direct Partner'],
85+
},
86+
{
87+
name: 'crowdin',
88+
url: 'https://crowdin.com',
89+
logo: 'ToDo', // SVG
90+
categories: ['Direct Partner'],
91+
},
92+
{
93+
name: 'orama',
94+
url: 'https://orama.io',
95+
logo: 'ToDo', // SVG
96+
categories: ['Direct Partner'],
97+
},
98+
{
99+
name: 'HeroDevs',
100+
url: 'https://herodevs.com',
101+
logo: 'ToDo', // SVG
102+
categories: ['Security', 'ESP Partner'],
103+
},
104+
{
105+
name: 'NodeSource',
106+
url: 'https://nodesource.com',
107+
logo: 'ToDo', // SVG
108+
categories: ['Security'],
109+
},
110+
{
111+
name: 'Platformatic',
112+
url: 'https://platformatic.dev',
113+
logo: 'ToDo', // SVG
114+
categories: ['Security'],
115+
},
116+
{
117+
name: 'Red Hat',
118+
url: 'https://www.redhat.com',
119+
logo: 'ToDo', // SVG
120+
categories: ['Security'],
121+
},
122+
{
123+
name: 'Datadog',
124+
url: 'https://www.datadoghq.com',
125+
logo: 'ToDo', // SVG
126+
categories: ['Security'],
127+
},
128+
];
129+
130+
export { partners };

apps/site/pages/en/about/partners.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: TODO
3+
layout: about
4+
---
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// https://www.cloudflare.com/logo/
2+
import type { FC, SVGProps } from 'react';
3+
4+
const Cloudflare: FC<SVGProps<SVGSVGElement>> = props => (
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
viewBox="0 0 209.51 94.74"
8+
width={209}
9+
height={94}
10+
{...props}
11+
>
12+
<path
13+
fill="#f4801f"
14+
d="M143.05,93.42l1.07-3.71c1.27-4.41.8-8.48-1.34-11.48-2-2.76-5.26-4.38-9.25-4.57L58,72.7a1.47,1.47,0,0,1-1.35-2,2,2,0,0,1,1.75-1.34l76.26-1c9-.41,18.84-7.75,22.27-16.71l4.34-11.36a2.68,2.68,0,0,0,.18-1,3.31,3.31,0,0,0-.06-.54,49.67,49.67,0,0,0-95.49-5.14,22.35,22.35,0,0,0-35,23.42A31.73,31.73,0,0,0,.34,93.45a1.47,1.47,0,0,0,1.45,1.27l139.49,0h0A1.83,1.83,0,0,0,143.05,93.42Z"
15+
/>
16+
<path
17+
fill="#f9ab41"
18+
d="M168.22,41.15q-1,0-2.1.06a.88.88,0,0,0-.32.07,1.17,1.17,0,0,0-.76.8l-3,10.26c-1.28,4.41-.81,8.48,1.34,11.48a11.65,11.65,0,0,0,9.24,4.57l16.11,1a1.44,1.44,0,0,1,1.14.62,1.5,1.5,0,0,1,.17,1.37,2,2,0,0,1-1.75,1.34l-16.73,1c-9.09.42-18.88,7.75-22.31,16.7l-1.21,3.16a.9.9,0,0,0,.79,1.22h57.63A1.55,1.55,0,0,0,208,93.63a41.34,41.34,0,0,0-39.76-52.48Z"
19+
/>
20+
</svg>
21+
);
22+
23+
export default Cloudflare;
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// https://www.rackspace.com/newsroom/media-kit
2+
import type { FC, SVGProps } from 'react';
3+
4+
const Rackspace: FC<SVGProps<SVGSVGElement>> = props => (
5+
<svg
6+
width={150}
7+
height={150}
8+
viewBox="0 0 150 150"
9+
xmlns="http://www.w3.org/2000/svg"
10+
xmlnsXlink="http://www.w3.org/1999/xlink"
11+
{...props}
12+
>
13+
<linearGradient
14+
id="a"
15+
gradientUnits="userSpaceOnUse"
16+
x1="74.9428"
17+
x2="74.9428"
18+
y1="132.50575"
19+
y2="17.49425"
20+
>
21+
<stop offset="0" stop-color="#005ac8" />
22+
<stop offset=".5" stop-color="#95098a" />
23+
<stop offset="1" stop-color="#eb0000" />
24+
</linearGradient>
25+
<path
26+
d="m74.9011 44.50936 4.64918-24.46992h-28.72326l-21.36273 112.32183h32.62005l8.80833-46.31165c5.19365-27.30877 20.86122-38.23665 43.15829-34.8609l6.37036-33.50316c-20.07345-1.83054-37.97842 9.6533-45.52021 26.8238zm-6.3348 85.97355c.10199-1.12188-.72242-2.03128-1.8443-2.03128s-2.10778.9094-2.20977 2.03128c-.11049 1.02839.64593 2.02279 1.8443 2.02279 1.12188.0085 2.10778-.90091 2.20977-2.02279zm-.28897-.0255c-.08499.9689-.9519 1.75931-1.92079 1.75931-.9519 0-1.64033-.76492-1.55534-1.70832.08499-.9604.9434-1.75931 1.92079-1.75931.9434 0 1.64033.76492 1.55534 1.70832zm-1.40235.27197.32297.9434h-.31446l-.31446-.9179h-.45046l-.16998.9179h-.29747l.45046-2.38825h.78191c.35696 0 .62894.26347.63743.60344.0085.31447-.21248.72242-.64593.84141zm.0085-1.15588h-.54394l-.16998.89241h.49295c.26347 0 .49295-.20398.56094-.47595.05099-.21248-.11899-.41646-.33996-.41646z"
27+
fill="url(#a)"
28+
/>
29+
</svg>
30+
);
31+
32+
export default Rackspace;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Cloudflare from './Cloudflare';
2+
import Rackspace from './Rackspace';
3+
4+
export { Cloudflare, Rackspace };

0 commit comments

Comments
 (0)