04 10 2023 snapshot

This commit is contained in:
Anatoliy Poloz
2023-10-04 17:57:09 +03:00
parent 1e546fa48e
commit 09a00744a0
441 changed files with 41582 additions and 254079 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\View\Components\Profile;
use Illuminate\View\Component;
use App\Models\BlogPost as Post;
use App\Models\User;
class BlogPost extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct(public Post $post, public User $user)
{
//
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.profile.blog-post');
}
}