@extends('layouts.app') @section('content') Best place for learning Learn from any topic, choose from category {{ $courses->count() }} online_courses Explore A Variety Of Fresh Topics Expert Instruction Find The Right Course For You Lifetime Access Learn On Your Schedule Top Courses @foreach (\App\Course::inRandomOrder()->get() as $top_course) {{ $top_course->title }} {{ $top_course->short_description }} 5 ${{ $top_course->price }} {{ $top_course->title }} {{ $top_course->lessons->count() }} Lessons 2 Hours English {{ $top_course->short_description }} {{ $top_course->outcomes }} @if(auth()->check() && \App\Enroll::whereCourseId($top_course->id)->first() !== null) Already purchased @elseif(Cart::get($top_course->id) !== null) Added To Cart @else Add To Cart @endif @endforeach Top 10 latest courses @foreach($courses as $course) {{ $course->title }} first and last name of the instructor 5 $200 $100 @endforeach @endsection
Learn from any topic, choose from category
Explore A Variety Of Fresh Topics
Find The Right Course For You
Learn On Your Schedule
{{ $top_course->short_description }}
${{ $top_course->price }}
first and last name of the instructor
$200 $100