Feature About Us#16
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements the "About Us" feature by enabling and integrating the About Us page in the application. It updates navigation menus, routes, view components, seeders, and related models and controllers to support the new feature.
- Enabled the About Us route and integrated it into navigation and footer.
- Updated view templates to display contact and collaboration information on the About Us page.
- Adjusted seeder namespaces and added new seeders to populate content for the feature.
Reviewed Changes
Copilot reviewed 36 out of 37 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| todo.md | Cleaned up task list related to feature planning |
| tests/Pest.php | Updated seeder namespace reference for testing |
| routes/web.php | Enabled About Us route |
| resources/views/layouts/_partials/_navigation_mobile.blade.php | Uncommented About Us navigation link for mobile |
| resources/views/layouts/_partials/_navigation_desktop.blade.php | Uncommented About Us navigation link for desktop |
| resources/views/layouts/_partials/_footer.blade.php | Added About Us link to footer |
| resources/views/app/about-us/index.blade.php | Revamped About Us page layout and contact sections |
| database/seeders/Paperflakes/* | Updated seeder namespaces and added About Us page seeding |
| app/Http/Controllers/AboutUs/AboutUsIndexController.php | Injected contacts data into the About Us page |
| app/Actions/ViewDataAction.php | Added contacts method to load and cache contact information |
| Others | Various new components, models, and migrations to support the feature |
Comments suppressed due to low confidence (1)
app/Actions/ViewDataAction.php:39
- The Cache facade is used here without an explicit import. Please add 'use Illuminate\Support\Facades\Cache;' at the top of the file to avoid potential runtime errors.
return Cache::rememberForever($key, function () use ($locale) {
| </x-list-grid> | ||
| @endif | ||
|
|
||
| @if(!empty($contacts->employee_services) && $contacts->employee_services->count()) |
There was a problem hiding this comment.
The condition for the Products section is checking 'employee_services' instead of 'employee_products'. Please update the condition to check '$contacts->employee_products' to ensure the correct data is rendered.
Suggested change
| @if(!empty($contacts->employee_services) && $contacts->employee_services->count()) | |
| @if(!empty($contacts->employee_products) && $contacts->employee_products->count()) |
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.