mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
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.
This commit is contained in:
@@ -19,19 +19,33 @@
|
||||
</div>
|
||||
<div class="hidden lg:flex lg:gap-x-8" x-data="Components.popoverGroup()" x-init="init()">
|
||||
|
||||
@feature('news')
|
||||
@include('livewire.frontend.navigation.news')
|
||||
@endfeature
|
||||
|
||||
@feature('meetups')
|
||||
@include('livewire.frontend.navigation.meetups')
|
||||
@endfeature
|
||||
|
||||
@feature('courses')
|
||||
@include('livewire.frontend.navigation.courses')
|
||||
@endfeature
|
||||
|
||||
@feature('library')
|
||||
@include('livewire.frontend.navigation.library')
|
||||
@endfeature
|
||||
|
||||
@feature('events')
|
||||
@include('livewire.frontend.navigation.events')
|
||||
@endfeature
|
||||
|
||||
@feature('bookcases')
|
||||
@include('livewire.frontend.navigation.bookcases')
|
||||
@endfeature
|
||||
|
||||
@feature('association')
|
||||
@include('livewire.frontend.navigation.association')
|
||||
@endfeature
|
||||
|
||||
@auth
|
||||
@include('livewire.frontend.navigation.profile')
|
||||
|
||||
Reference in New Issue
Block a user