Skip to content

Commit c15253c

Browse files
chtusharbeeme1mrlukas-reining
authored
chore: add OFREP providers to the ecosystem (#906)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> - adds OFREP providers to the ecosystem ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> Fixes #905 --------- Signed-off-by: Michael Beemer <[email protected]> Co-authored-by: Michael Beemer <[email protected]> Co-authored-by: Lukas Reining <[email protected]>
1 parent a543144 commit c15253c

File tree

5 files changed

+51
-2
lines changed

5 files changed

+51
-2
lines changed

src/datasets/providers/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { Hypertune } from './hypertune';
2525
import { Confidence } from './confidence';
2626
import { ConfigBee } from './configbee';
2727
import { Tggl } from './tggl';
28+
import { OFREP } from './ofrep';
2829

2930
export const PROVIDERS: Provider[] = [
3031
Bucket,
@@ -51,6 +52,7 @@ export const PROVIDERS: Provider[] = [
5152
GrowthBook,
5253
MultiProvider,
5354
Tggl,
55+
OFREP,
5456
];
5557

5658
export const ECOSYSTEM_PROVIDERS: EcosystemElement[] = PROVIDERS.map((provider) => {

src/datasets/providers/ofrep.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import OFLogo from '@site/static/img/logo-no-fill.svg';
2+
import type { Provider } from '.';
3+
4+
export const OFREP: Provider = {
5+
name: 'OFREP',
6+
logo: OFLogo,
7+
excludeFromLandingPage: true,
8+
technologies: [
9+
{
10+
technology: 'JavaScript',
11+
category: ['Client'],
12+
href: 'https://github.com/open-feature/js-sdk-contrib/tree/main/libs/providers/ofrep-web',
13+
vendorOfficial: true,
14+
},
15+
{
16+
technology: 'JavaScript',
17+
category: ['Server'],
18+
href: 'https://github.com/open-feature/js-sdk-contrib/tree/main/libs/providers/ofrep',
19+
vendorOfficial: true,
20+
},
21+
{
22+
technology: 'Go',
23+
category: ['Server'],
24+
href: 'https://github.com/open-feature/go-sdk-contrib/tree/main/providers/ofrep',
25+
vendorOfficial: true,
26+
},
27+
{
28+
technology: 'Python',
29+
category: ['Server'],
30+
href: 'https://github.com/open-feature/python-sdk-contrib/tree/main/providers/openfeature-provider-ofrep',
31+
vendorOfficial: true,
32+
},
33+
],
34+
};

src/partials/ecosystem/hit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Hit({ hit }: { hit: EcosystemElement }) {
1818
>
1919
<div className="flex justify-between mb-6">
2020
{/* Logo */}
21-
<Svg className="mt-2 h-8 w-8" />
21+
<Svg className="mt-2 h-8 w-fit" />
2222
{/* Icon showing that it's an external link */}
2323
{external && <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="h-4 w-4 opacity-60" />}
2424
</div>

src/partials/features-zigzag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function FeaturesZigZag() {
153153
>
154154
<div className="max-w-full mx-auto md:max-w-none h-auto flex flex-row justify-center fill-[#1c1e21] dark:fill-[#e3e3e3]">
155155
<GenericCarousel
156-
items={PROVIDERS.map((provider) => ({
156+
items={PROVIDERS.filter((provider) => !provider.excludeFromLandingPage).map((provider) => ({
157157
name: provider.name,
158158
logo: provider.logo,
159159
href: encodeURI(`/ecosystem?instant_search[refinementList][vendor][0]=${provider.name}`),

static/img/logo-no-fill.svg

Lines changed: 13 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)