Initial commit
This commit is contained in:
commit
c909d539bc
7178 files changed
+756624
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
use App\Models\Course;
|
||||
|
||||
class CourseCard extends Component
|
||||
{
|
||||
public Course $course;
|
||||
|
||||
public function __construct(Course $course)
|
||||
{
|
||||
$this->course = $course;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('components.course-card');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user