mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-14 00:02:05 -04:00
23 lines
567 B
PHP
23 lines
567 B
PHP
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use Illuminate\View\Component;
|
|
use Modules\FrontendCMS\Entities\SellerSocialLink;
|
|
|
|
class SubscribeComponent extends Component
|
|
{
|
|
public $subscribeContent;
|
|
public function __construct($subscribeContent)
|
|
{
|
|
$this->subscribeContent = $subscribeContent;
|
|
}
|
|
|
|
|
|
public function render()
|
|
{
|
|
$sellerSocialLinks =SellerSocialLink::where('user_id',1)->where('status',1)->orderBy('id','desc')->get();
|
|
return view(theme('components.subscribe-component'),compact('sellerSocialLinks'));
|
|
}
|
|
}
|