1
0
Fork 0
pixelfed/resources/views/status/show.blade.php

33 lines
1.1 KiB
PHP
Raw Normal View History

2018-06-05 04:09:48 +00:00
@extends('layouts.app',['title' => $user->username . " posted a photo: " . $status->likes_count . " likes, " . $status->comments_count . " comments" ])
2018-05-30 02:33:27 +00:00
@section('content')
2019-02-11 05:51:11 +00:00
<noscript>
<div class="card">
<div class="card-body container text-center font-weight-bold">
This website requires javascript, please enable it and refresh the page.
</div>
</div>
</noscript>
<div class="mt-md-4"></div>
2018-11-09 05:29:28 +00:00
<post-component status-template="{{$status->viewType()}}" status-id="{{$status->id}}" status-username="{{$status->profile->username}}" status-url="{{$status->url()}}" status-profile-url="{{$status->profile->url()}}" status-avatar="{{$status->profile->avatarUrl()}}"></post-component>
2018-08-10 04:29:56 +00:00
2018-05-30 02:33:27 +00:00
2018-06-02 23:47:06 +00:00
@endsection
@push('meta')
2018-11-09 05:29:28 +00:00
<meta property="og:description" content="{{ $status->caption }}">
<meta property="og:image" content="{{$status->mediaUrl()}}">
<link href='{{$status->url()}}' rel='alternate' type='application/activity+json'>
@endpush
@push('scripts')
2019-02-11 05:51:11 +00:00
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script>
2018-11-09 05:29:28 +00:00
<script type="text/javascript">
$(document).ready(function() {
new Vue({
el: '#content'
});
});
</script>
@endpush