Skip to content

Commit b70201a

Browse files
Merge branch 'main' into dependabot/npm_and_yarn/examples/openfeature_react/react-app/typescript-eslint/eslint-plugin-8.24.0
2 parents fa9109a + a735d9c commit b70201a

File tree

31 files changed

+292
-347
lines changed

31 files changed

+292
-347
lines changed

examples/openfeature_web/webapp/package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/openfeature_web/webapp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"babel-plugin-transform-class-properties": "^6.24.1",
3838
"babel-preset-env": "^1.7.0",
3939
"browser-sync": "^3.0.3",
40-
"eslint": "^9.20.0",
40+
"eslint": "^9.20.1",
4141
"eslint-webpack-plugin": "^4.2.0",
4242
"htmlnano": "^2.1.1",
4343
"imagemin-cli": "^8.0.0",

openfeature/provider_tests/java-integration-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<dependency>
2525
<groupId>dev.openfeature</groupId>
2626
<artifactId>sdk</artifactId>
27-
<version>1.14.0</version>
27+
<version>1.14.1</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>dev.openfeature.contrib.providers</groupId>

website/docs/sdk/server_providers/openfeature_javascript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This code block shows you how you can create a client that you can use in your a
4141
<TabItem value="javascript" label="JavaScript">
4242

4343
```javascript
44-
const {OpenFeature} = require("@openfeature/server-sdk");
44+
const {Sdk} = require("@openfeature/server-sdk");
4545
const {GoFeatureFlagProvider} = require("@openfeature/go-feature-flag-provider");
4646

4747

website/docusaurus.config.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,6 @@ const config = {
384384
'aria-label': 'GitHub repository',
385385
dropdownItemsAfter: [{to: '/versions', label: 'All versions'}],
386386
},
387-
{
388-
href: 'https://x.com/gofeatureflag',
389-
position: 'right',
390-
className: 'header-twitter-link navbar__right',
391-
'aria-label': 'X',
392-
},
393387
{
394388
href: '/slack',
395389
position: 'right',
@@ -509,6 +503,9 @@ const config = {
509503
'ruby',
510504
],
511505
},
506+
colorMode: {
507+
defaultMode: 'dark',
508+
},
512509
}),
513510
};
514511

website/src/components/home/benefit/index.js

+12-25
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import styles from './styles.module.css';
3-
import clsx from 'clsx';
43
import PropTypes from 'prop-types';
54

65
BenefitCard.propTypes = {
@@ -11,37 +10,25 @@ BenefitCard.propTypes = {
1110

1211
function BenefitCard({img, title, description}) {
1312
return (
14-
<div className="col-1-5 mobile-col-1-1">
15-
<article className={styles.benefitsPostItem}>
16-
<div className={styles.benefitsPostItemRow}>
17-
<img src={img} alt="post-thumb" />
18-
</div>
19-
<div className={styles.benefitsPostItemRow}>
20-
<h2>{title}</h2>
21-
<p>{description}</p>
22-
</div>
23-
</article>
13+
<div className="w-fit bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700">
14+
<img className="rounded-t-lg p-3" src={img} alt={title} />
15+
<div className="p-5">
16+
<h5 className="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
17+
{title}
18+
</h5>
19+
<p className="mb-3 font-normal text-gray-700 dark:text-gray-400">
20+
{description}
21+
</p>
22+
</div>
2423
</div>
2524
);
2625
}
2726

2827
export function Benefit() {
2928
return (
3029
<section className={styles.benefits}>
31-
<div className="container">
32-
<div className="row">
33-
<div className={clsx('col-1-1', styles.title)}>
34-
<div>
35-
<span className="goffMainTitle">Why use feature flags?</span>
36-
<br />
37-
<p>
38-
Feature flags is a modern software engineering technique that
39-
configure select functionality during runtime, without deploying
40-
new code.
41-
</p>
42-
</div>
43-
</div>
44-
</div>
30+
<div className={'text-center mb-5'}>
31+
<span className="goffMainTitle">The Benefits of Feature Flags</span>
4532
</div>
4633
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-5 gap-2 px-3">
4734
<BenefitCard
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,32 @@
11
.benefits {
2-
margin: 1rem 2.5rem 1rem 2.5rem;
3-
background: var(--goff-benif-bg);
4-
padding: 70px 0 120px;
5-
border-radius: 1.5rem;
2+
margin: 1rem 2.5rem 1rem 2.5rem;
3+
background: var(--goff-benif-bg);
4+
padding: 70px 0 120px;
5+
border-radius: 1.5rem;
66
}
77

88
.benefitsPostItem {
9-
background-color: var(--goff-benefits-postitem-bg);
10-
box-shadow: 0 20px 25px rgba(67, 103, 90, 0.1);
11-
border-radius: 10px;
12-
margin-bottom: 50px;
13-
padding: 15px 15px 20px;
14-
transition: 0.3s ease;
15-
min-height: 30rem;
9+
background-color: var(--goff-benefits-postitem-bg);
10+
box-shadow: 0 20px 25px rgba(67, 103, 90, 0.1);
11+
border-radius: 10px;
12+
margin-bottom: 50px;
13+
padding: 15px 15px 20px;
14+
transition: 0.3s ease;
15+
min-height: 30rem;
1616
}
1717

1818
.benefits h2 {
19-
line-height: 2rem;
20-
margin-bottom: 0.6rem;
21-
font-size: 1.2rem;
22-
display: block;
23-
color: var(--goff-main-title-color);
24-
text-decoration: none;
25-
transition: 0.3s ease;
26-
min-height: 2rem;
19+
line-height: 2rem;
20+
margin-bottom: 0.6rem;
21+
font-size: 1.2rem;
22+
display: block;
23+
color: var(--goff-main-title-color);
24+
text-decoration: none;
25+
transition: 0.3s ease;
26+
min-height: 2rem;
2727
}
2828

2929
.benefitsPostItem p {
30-
color: var(--goff-main-ff-description);
30+
color: var(--goff-main-ff-description);
3131
}
3232

33-
.benefitsPostItemRow {
34-
margin: 0 0.1rem 0 0.1rem;
35-
}
36-
37-
.benefitsPostItemRow img {
38-
border-radius: 10px;
39-
}
40-
41-
.title {
42-
text-align: center;
43-
}
44-
45-
.title p {
46-
margin-top: 2rem;
47-
}

0 commit comments

Comments
 (0)