Skip to content

Conversation

@StanBarrows
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 23, 2025 21:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 () {

@StanBarrows StanBarrows merged commit 1cb0d61 into production Jun 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants