Files
einundzwanzig-portal/.features.php.dist
HolgerHatGarKeineNode 0c820be43b Implement feature flags and update views
This commit implements feature flags using the "ylsideas/feature-flags" library and updates various frontend views to show or hide sections based on the feature flag. Additionally, a new migration file is created for the features database table and the LibraryItem model is updated with a new searchLibraryItems function. The composer.json and composer.lock files are updated to include the new dependencies.
2023-12-08 21:40:48 +01:00

25 lines
504 B
Plaintext

<?php
use Illuminate\Contracts\Foundation\Application;
/**
* @returns array<string, bool>
*/
return static function (Application $app): array {
return [
'change.country' => false,
'change.language' => true,
'news' => false,
'courses' => false,
'library' => false,
'events' => true,
'bookcases' => false,
'meetups' => true,
'association' => false,
'nostr.groups' => false,
'nostr.plebs' => false,
];
};