@extends('layouts.app')

@section('page-title', "Play Online - " . config('app.name'))

@push('scripts')
    @vite('resources/js/PlayOnline.js')
@endpush

@section('content')
    <div class="page-title">
        <span>Play Online</span>
    </div>

    <div id="rom-patcher-container" class="patcher-container" x-data="PlayOnline({{ Js::from($filePath) }}, {{ JS::from($emuConfig ?? [])}})">
        <div id="game"></div>
    </div>
@endsection
