@extends('layouts.app') @section('content') @if ($message->heroImage)
{{ $message->heroImage->alt_text }}

{{ $message->date->format('Y/m/d') }}

@else
@endif
@if (!$message->heroImage)

{{ $message->date->format('Y/m/d') }}

@endif

{{ $message->title }}

{{-- Video Top Template --}} @if ($message->template === 'video_top' && $message->youtube_url)
@php preg_match( '/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $message->youtube_url, $matches, ); $videoId = $matches[1] ?? null; @endphp @if ($videoId) @endif
@endif
{{-- Default & Full Width: YouTube Section at the bottom --}} @if ($message->template !== 'video_top')

動画で見る

@if ($message->youtube_url)
@php preg_match( '/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $message->youtube_url, $matches, ); $videoId = $matches[1] ?? null; @endphp @if ($videoId) @endif

動画が再生されない場合はこちら(YouTube)から視聴してください。

@else

このメッセージの動画は現在準備中です。公式チャンネルにて過去のメッセージをご覧いただけます。

YouTube公式チャンネルへ
@endif
@endif
@if ($message->template !== 'full_width')
@if ($message->pdf_path)
メッセージ資料

当日のアウトラインや週報をダウンロードいただけます。

PDFを開く
@endif
聖書箇所

{{-- This will be populated if relevant content is found in blocks or metadata --}}

本文中の聖句引用を参照してください。

@endif
@endsection