/** * Download resume file * * @return Response */ public function download() { $configs = Config::getConfigs(['resume'], 'real'); if ($configs['resume']) { return response()->download($configs['resume'], 'Resume.docx'); } else { redirect('cv'); } }
/** * Display a listing of the resource. * * @return Response */ public function index() { $configs = Config::getConfigs(['linkedin']); return view('contact.index', compact('configs')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $configs = Config::getConfigs(['my-photo', 'about-me-head', 'about-me-body']); return view('home.index', compact('configs')); }