perubahan UI web + fix menu navigasi di page coba gratis
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s

This commit is contained in:
triagungbiantoro
2026-03-29 13:02:50 +07:00
parent b1edd2e0f5
commit 0e4f3434a3
31 changed files with 3421 additions and 362 deletions

View File

@@ -13,15 +13,6 @@ class WebController extends Controller
{
public function index()
{
$page_data = get_option('manage-pages');
$features = Feature::whereStatus(1)->latest()->get();
$interfaces = PosAppInterface::whereStatus(1)->latest()->get();
$testimonials = Testimonial::latest()->get();
$recent_blogs = Blog::with('user:id,name')->whereStatus(1)->latest()->take(3)->get();
$blogs = Blog::with('user:id,name')->whereStatus(1)->take(2)->get();
$general = Option::where('key','general')->first();
$plans = Plan::where('status',1)->latest()->get();
return view('web.index', compact('page_data','features','interfaces','testimonials','recent_blogs','blogs','general','plans'));
return view('index');
}
}