Skip to content

Commit 2f864ef

Browse files
committed
Rename flag and runway keyword to bielefunke
1 parent 6d11e89 commit 2f864ef

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/AppRoutes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const AppRoutes = () => (
3434
<Route path="/questions" element={<QuestionPageRouter/>}/>
3535
<Route path="/impressum" element={<ImpressumPage/>}/>
3636
<Route path="/data-protection" element={<DataProtection/>}/>
37-
<Route path="/bielefeld" element={<LandingPage runway="bielefeld" />}/>
38-
<Route path="/bielefunke" element={<LandingPage runway="bielefeld" />}/>
37+
<Route path="/bielefeld" element={<LandingPage runway="bielefunke" />}/>
38+
<Route path="/bielefunke" element={<LandingPage runway="bielefunke" />}/>
3939
</Routes>
4040
);
4141

src/featureFlags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const defaultFlags = {
22
showMermaidRuleGraph: false,
3-
runwaysActive: false
3+
bielefunke: false
44
};
55

66
const getFeatureFlag = (flag) => {
@@ -10,7 +10,7 @@ const getFeatureFlag = (flag) => {
1010

1111
const featureFlags = {
1212
showMermaidRuleGraph: getFeatureFlag('showMermaidRuleGraph'),
13-
runwaysActive: getFeatureFlag('runwaysActive')
13+
bielefunke: getFeatureFlag('bielefunke')
1414
};
1515

1616
export const setFeatureFlag = (flag, value) => {

src/ui/screens/landing-page/sections/top-section/LandingPageTopSection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const LandingPageTopSection = ({ runway }) => {
1919
<VBox sx={{ width: "50%", alignItems: "center" }}>
2020
<VBox sx={{ maxWidth: "600px", gap: 8 }}>
2121
<LandingPageTopSectionShared />
22-
{runway === "bielefeld" && featureFlags.runwaysActive && (
22+
{runway === "bielefunke" && featureFlags.bielefunke && (
2323
<>
2424
<div>
2525
Willkommen beim Pilotprojekt Bielefeld!

0 commit comments

Comments
 (0)