firstName.' '.$response->lastName; #$description = $response->oneLineBio; #$image = $response->profileImage; if ($id === "communication-for-the-gig-economy-101"){ $title = 'Communication 101'; $image = 'https://cdn.filestackcontent.com/E24ABqbjQyeNfCuOGTum'; $description = 'Learn the basics of communication and how you can improve your communication to get more projects in this free course'; } elseif($id === "gig-economy-101"){ $title = 'Gig Economy 101'; $image = 'https://cdn.filestackcontent.com/Oo6ZEdEShqpObPCrFW6b'; $description = 'Learn all about the white collar gig work and how can can kick-start your career as a freelancer with this free course'; } elseif($id === "content-writing-101"){ $title = 'Content Writing 101'; $image = 'https://cdn.filestackcontent.com/WVo8wGv5QZOMHdAyjDUn'; $description = 'Discover the basics of content writing, the platforms for content writing gigs, and the tools you can use in this free course.'; } elseif($id === "gigs" || $id === "courses" || $id === "contact" || $id === "about"){ $title = 'Gigsforme-Start, manage and grow your freelance career'; $image = 'https://cdn.filestackcontent.com/WVo8wGv5QZOMHdAyjDUn'; $description = 'Use our AI based tools to find the right gigs, courses and career paths, suited for you to launch a successful freelance career.'; } else { $response = file_get_contents('https://api.gigsfor.me/api/Profiles/'.$id); $response = json_decode($response); if(!$response->hashTag){ $response->hashTag = '#gigworker'; } $title = $response->firstName.' '.$response->lastName. ' | '.$response->skills[0]. ' | '.$response->hashTag; $description = 'View '.$response->firstName.' '.$response->lastName.'\'s profile on gigsforme, the online platform for freelancers to start, manage and grow their career. Discover Annie Rose Parina’sphilosophy and superpowers for the gig economy'; $image = $response->profileImage; } ?>