Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces dynamic configuration for the site's branding and content, along with several UI and codebase improvements.
- Dynamic inclusion of logo and footer configuration in navigation and footer partials
- Addition of new configuration seeder, migration, and related model and view updates
- Minor improvements in component layouts, translations, and dependency management
Reviewed Changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| resources/views/layouts/_partials/_navigation.blade.php | Updates the navigation to conditionally include a logo view |
| resources/views/layouts/_partials/_footer.blade.php | Updates the footer to show configuration-driven text |
| resources/views/layouts/_logos/_paperflakes.blade.php | Adds a new animated SVG logo |
| resources/views/components/list-image-card.blade.php | Adjusts styling classes for image container |
| resources/views/app/legal/imprint/index.blade.php | Refines imprint layout formatting |
| resources/views/app/contact/index.blade.php | Improves address display with emphasis on the headquarter label |
| resources/views/app/about-us/index.blade.php | Reformats the list-image-card usage for better readability |
| lang/en_CH.json, lang/de_CH.json | Adds translations for the "Headquarter" label |
| database/seeders/PaperflakesSeeder.php, database/seeders/Paperflakes/ConfigurationsTableSeeder.php | Introduces new seeder for configuration |
| database/migrations/2025_06_23_225051_create_configurations_table.php | Creates the configurations table in the database |
| composer.json | Adds the laravel-translatable package |
| app/View/Components/AppLayout.php | Passes configuration data to the layout |
| app/Models/Configuration.php | Implements a translatable Configuration model |
| app/Actions/ViewDataAction.php | Adds configuration retrieval logic with caching |
Comments suppressed due to low confidence (2)
app/Actions/ViewDataAction.php:20
- Missing import for Illuminate\Support\Str. Please add 'use Illuminate\Support\Str;' to ensure the Str helper functions are available.
$key = Str::slug("configuration_{$locale}");
app/Actions/ViewDataAction.php:22
- Missing import for Illuminate\Support\Facades\Cache. Consider adding 'use Illuminate\Support\Facades\Cache;' so that the caching functionality works correctly.
return Cache::rememberForever($key, function () {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.