Skip to content

Commit 7e19b83

Browse files
authored
work
1 parent 77f675c commit 7e19b83

File tree

6 files changed

+84
-0
lines changed

6 files changed

+84
-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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const partners = [
2+
{
3+
name: 'Microsoft',
4+
url: 'https://microsoft.com',
5+
logo: 'ToDo', // SVG
6+
categories: ['Direct Partner'],
7+
},
8+
];
9+
10+
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)