*/ class InfoController extends Controller { /** * Renders the terms of service. * @return string */ public function terms(): string { return view('info/terms'); } /** * Renders the privacy policy. * @return string */ public function privacy(): string { return view('info/privacy'); } /** * Renders the contact page. * @return string */ public function contact(): string { $contact = config('contact'); return view('info/contact', compact('contact')); } /** * Renders the rules page. * @return string */ public function rules(): string { return view('info/rules'); } /** * Renders the welcome page. * @return string */ public function welcome(): string { return view('info/welcome'); } }