@php $uiLocale = request()->attributes->get('ui_locale', 'ja'); $htmlLang = ['ja'=>'ja','en'=>'en','ko'=>'ko','zh-cn'=>'zh-Hans','zh-tw'=>'zh-Hant'][$uiLocale] ?? 'ja'; $base = request()->getSchemeAndHttpHost() . request()->getBaseUrl(); $p = request()->getPathInfo(); $q = request()->getQueryString(); $sfx = ($p === '/' ? '' : $p) . ($q ? '?'.$q : ''); $altUrls = []; foreach (array_keys(config('app.locales')) as $lc) { $altUrls[$lc] = $base . ($lc === 'ja' ? '' : '/'.$lc) . $sfx; } @endphp @yield('title', config('app.name')) @foreach($altUrls as $lc => $u) @endforeach @if(isset($altUrls['ja']))@endif {{-- OGP / Twitter --}} @hasSection('og_image')@endif @stack('jsonld') @stack('head') @if(config('services.ga4.id')) @endif
{{-- ===== 年齢確認ゲート(未確認時のみ表示)===== --}} @unless(session('age_verified') || request()->cookie('age_ok'))
{{ config('app.name') }}

{{ __('年齢確認') }}

{{ __('当サイトはアダルト関連情報を含みます。あなたは18歳以上ですか?') }}

@csrf

{{ __('18歳未満の方はこちら(退出)') }}

@endunless @include('partials.header')
@yield('breadcrumb') @yield('content')
@include('partials.footer') @include('partials.tabbar')
@stack('scripts')