@extends('V3.layouts.onBoarding') @php $item1 = ''; if ($vGoal == 'I want to quit smoking') { $item1 = "Become happily {$nicotineTypeLabelPresent}-free"; } elseif ($vGoal == 'I want to reduce how much I smoke') { $item1 = "Cut back your {$nicotineTypeLabelPresentContinue}"; } elseif ($vGoal == 'Continue staying smoke-free') { $item1 = "Stay happily {$nicotineTypeLabelPresent}-free"; } elseif ($vGoal == 'I’m not sure yet') { $item1 = 'Gain control over nicotine'; } $inputToCase = [ 'Improve my health' => 'Improve your overall health', 'For my family' => 'Make your family proud', 'Save money' => 'Save your money', 'Enhance appearance' => 'Look younger and healthier', 'More energy for daily life' => 'Gain the energy to thrive', 'Mental peace' => 'Have peace of mind', 'More time in the day' => 'Gain time for loved ones and hobbies', 'Feel better about myself' => 'Increase confidence and self respect', ]; $setQuittingReasons = array_values(array_filter($setQuittingReasons, function($value) { return $value !== 'Other'; })); if (count($setQuittingReasons) == 0) { $item2 = 'Improve your overall health'; $item3 = 'Gain the energy to thrive'; } elseif (count($setQuittingReasons) == 1) { $item2 = $inputToCase[$setQuittingReasons[0]]; if ($setQuittingReasons[0] != 'Improve my health') { $item3 = 'Improve your overall health'; } else { $item3 = 'Gain the energy to thrive'; } } else { $item2 = $inputToCase[$setQuittingReasons[0]]; $item3 = $inputToCase[$setQuittingReasons[1]]; } @endphp @section('content')
With our customized plan, we’ll help you:
(Based on your goals)
Built and endorsed by scientists from