liberu-genealogy / genealogy-laravel

Full genealogy application using Laravel 11, PHP 8.3, Filament 3.2 and Livewire 3.5
https://www.liberu.org.uk
MIT License
103 stars 59 forks source link

Sweep: add public home page #125

Closed curtisdelicata closed 4 months ago

curtisdelicata commented 4 months ago

Details

Copy and convert from vue/vuetify to laravel blade and livewire all of the home layout, layout components and home page from the repository github.com/liberu-genealogy/genealogy-nuxt3

Write in clean sections so that the layout can be reused for future pages. The old home page is written in vue 3, nuxt 3 and vuetify. The current project is laravel livewire 3 using filament 3.2 and blade.

It needs to be placed under the public panels pages and the blade new home layout in standard location.

Checklist - [X] Create `resources/views/layouts/home.blade.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/c482328ff5dc6ef66a1eb3e1713b11d2e09fd984 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/resources/views/layouts/home.blade.php) - [X] Running GitHub Actions for `resources/views/layouts/home.blade.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/resources/views/layouts/home.blade.php) - [X] Create `resources/views/home.blade.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/2026c968967cc4ebe7d37d7198bec76cdc4ed903 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/resources/views/home.blade.php) - [X] Running GitHub Actions for `resources/views/home.blade.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/resources/views/home.blade.php) - [X] Create `app/Http/Livewire/HomePage.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/31efe0f2ab284868251a92fad5d42b851dd3ad17 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/app/Http/Livewire/HomePage.php) - [X] Running GitHub Actions for `app/Http/Livewire/HomePage.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/app/Http/Livewire/HomePage.php) - [X] Modify `routes/web.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/4beba268e322c3d2421643974f1be946c759ed5e [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/routes/web.php#L1-L10) - [X] Running GitHub Actions for `routes/web.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/routes/web.php#L1-L10) - [X] Create `public/css/home.css` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/1a5d0d1dad2f5482b475cc8dff875ad30d3db66f [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/public/css/home.css) - [X] Running GitHub Actions for `public/css/home.css` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/public/css/home.css) - [X] Create `public/js/home.js` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/4701ed6441492a7115721ddb69b752cfd9b59416 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/public/js/home.js) - [X] Running GitHub Actions for `public/js/home.js` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/add_public_home_page/public/js/home.js)
sweep-ai[bot] commented 4 months ago

🚀 Here's the PR! #126

See Sweep's progress at the progress dashboard!
Sweep Basic Tier: I'm using GPT-4. You have 4 GPT-4 tickets left for the month and 2 for the day. (tracking ID: cccd992124)

For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets).

[!TIP] I'll email you at genealogysoftwareuk@gmail.com when I complete this pull request!


Actions (click)

GitHub Actions✓

Here are the GitHub Actions logs prior to making any changes:

Sandbox logs for 0355acd
Checking routes/web.php for syntax errors... ✅ routes/web.php has no syntax errors! 1/1 ✓
Checking routes/web.php for syntax errors...
✅ routes/web.php has no syntax errors!

Sandbox passed on the latest main, so sandbox checks will be enabled for this issue.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/liberu-genealogy/genealogy-laravel/blob/0355acdabbe1aa9e1cbdaab754b832309bf0e104/bootstrap/app.php#L1-L55

Step 2: ⌨️ Coding

Ran GitHub Actions for c482328ff5dc6ef66a1eb3e1713b11d2e09fd984:

Ran GitHub Actions for 2026c968967cc4ebe7d37d7198bec76cdc4ed903:

Ran GitHub Actions for 31efe0f2ab284868251a92fad5d42b851dd3ad17:

--- 
+++ 
@@ -13,6 +13,4 @@
 |
 */

-Route::get('/', function () {
-    return view('welcome');
-});
+Route::get('/', \App\Http\Livewire\HomePage::class);

Ran GitHub Actions for 4beba268e322c3d2421643974f1be946c759ed5e:

Ran GitHub Actions for 1a5d0d1dad2f5482b475cc8dff875ad30d3db66f: