{{-- Tab 3: Tutorial (Stampcard Tutorial) --------------------------------------------------------------------------- editable subset of Stampcard Tutorial variables from resources/lang/en/enterprise.php and reads/writes them in ltm_translations (group='enterprise'). Data flow (unchanged) AJAX GET /admin/ajax/settings/main_game -> response.main_game.tutorial_translations { key: value, ... } -> stampcard_admin.js -> populateTutorial() fills inputs -> updateTutorialPreview() per card renders the live mock Save Changes (#dsc-form submit) -> DSCAdmin.serialize() collects [name="tutorial[]"] only -> SettingController::_dsc_save_overall() writes ltm_translations --}} @php $tutorialSteps = [ ['key' => 'tutorialWelcome', 'label' => 'Welcome', 'msg' => 'Welcome to Ayala Malls Christmas Village!

Click on each Christmas Parol and upload official receipt with at least PHP1,000 spend to earn Raffle Entries.', 'target' => 'section.tutorial-container .floating-container .floating-button-group button', 'x' => '250', 'y' => ''], ['key' => 'tutorialGamification', 'label' => 'Gamification', 'msg' => 'Welcome to our Christmas Village!

Tap each parol to submit receipts and earn raffle entries!', 'target' => '#bingo_card.theme-map', 'x' => '260', 'y' => '225'], ['key' => 'tutorialRewards', 'label' => 'Rewards', 'msg' => 'Click here to view your total raffle entries.', 'target' => '.text-bold.text-center', 'x' => '95', 'y' => '-280'], ['key' => 'tutorialNotification', 'label' => 'Notification', 'msg' => 'Click here to open the menu.', 'target' => '.navbar-dark .navbar-toggler', 'x' => '650', 'y' => ''], ['key' => 'tutorialReferral', 'label' => 'Referral', 'msg' => 'You\'re now ready to begin your adventure.

You can visit the tutorial again in the Menu anytime.', 'target' => 'section.tutorial-container .floating-container .floating-button-group button', 'x' => '250', 'y' => '-200'], ['key' => 'tutorialFinal', 'label' => 'Final', 'msg' => 'Click here to share the campaign.', 'target' => '[load_popup="popup_share"]', 'x' => '150', 'y' => '-610'], ['key' => 'tutorialAdditionOne', 'label' => 'Addition One', 'msg' => 'Click here to view and redeem rewards with Points earned.', 'target' => '[load_popup="popup_rewards"]', 'x' => '300', 'y' => '-630'], ['key' => 'tutorialAdditionTwo', 'label' => 'Addition Two', 'msg' => 'Click here to check out all exciting activities.', 'target' => '#grid_btn', 'x' => '350', 'y' => '-590'], ['key' => 'tutorialAdditionThree', 'label' => 'Addition Three', 'msg' => 'Click on the Menu for more information.', 'target' => '.navbar-dark .navbar-toggler', 'x' => '390', 'y' => ''], ['key' => 'tutorialAdditionFour', 'label' => 'Addition Four', 'msg' => 'You\'re now ready to start your adventure.

Happy playing and enjoy the rewards!', 'target' => 'section.tutorial-container .floating-container .floating-button-group button:not(last-child)', 'x' => '225', 'y' => '225'], ['key' => 'tutorialAdditionFive', 'label' => 'Addition Five', 'msg' => 'Extra tutorial 5', 'target' => '', 'x' => '', 'y' => ''], ]; $tutorialBtns = [ 'tutorialBtnStart' => ['label' => 'Start Button', 'eg' => 'Start Now'], 'tutorialBtnNext' => ['label' => 'Next Button', 'eg' => 'Next'], 'tutorialBtnPrevious' => ['label' => 'Previous Button', 'eg' => 'Previous'], 'tutorialBtnComplete' => ['label' => 'Complete Button', 'eg' => 'Complete'], ]; @endphp @component('admin.components.card', ['header' => 'Tutorial Buttons'])

Navigation labels for the tutorial overlay.

@foreach ($tutorialBtns as $k => $meta)
{{ $k }}
@endforeach
@endcomponent @component('admin.components.card', ['header' => 'Tutorial Steps'])

Each step renders a popup pointing at a target element. Target is a CSS selector.
Please contact developer in charge on the input of "Target (CSS selector)".
Offset X / Offset Y nudge the popup (px) from the target — the live preview on the right shows where the popup will land.
HTML (e.g. <br>) is allowed inside the message body.

@foreach ($tutorialSteps as $step)
{{ $step['label'] }} {{ $step['key'] }}
{{-- ============ LEFT: inputs ============ --}}
{{-- ============ RIGHT: live mock preview ============ --}}
Preview
scale 0.4 · target = centre
@endforeach @endcomponent