Browse Source

Merge pull request #2899 from pixelfed/staging

Add remote story view
daniel 3 năm trước cách đây
mục cha
commit
4ec357bfd0
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      resources/views/stories/show_remote.blade.php

+ 10 - 0
resources/views/stories/show_remote.blade.php

@@ -0,0 +1,10 @@
+@extends('layouts.blank')
+
+@section('content')
+<story-viewer pid="{{$pid}}" redirect-url="/"></story-viewer>
+@endsection
+
+@push('scripts')
+<script type="text/javascript" src="{{mix('js/stories.js')}}"></script>
+<script type="text/javascript">App.boot();</script>
+@endpush