authorIntro = $authorIntroduction; } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { $data['blogs'] = Blog::where('status', 'active')->latest()->take(6)->get(); $data['socialMediaShares'] = Setting::where('setting_name', 'social_media_share')->take(6)->get(); return view('components.blog-info', $data); } }