1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-28 02:36:50 +00:00
pixelfed/resources/views/status/show.blade.php

36 lines
1.3 KiB
PHP
Raw Normal View History

2020-03-25 04:21:31 +00:00
@extends('layouts.app',['title' => "{$user->username} shared a post"])
2018-05-30 02:33:27 +00:00
@section('content')
2019-02-11 05:51:11 +00:00
<noscript>
2020-01-29 07:00:09 +00:00
<div class="container">
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
2019-02-11 05:51:11 +00:00
</div>
</noscript>
<div class="mt-md-4"></div>
2019-04-18 00:59:04 +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()}}" status-profile-id="{{$status->profile_id}}" profile-layout="{{$status->profile->profile_layout ?? 'metro'}}"></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')
<meta property="og:description" content="{{ $status->caption }}">
2019-10-26 16:48:41 +00:00
<meta property="og:image" content="{{$status->thumb()}}">
<link href='{{$status->url()}}' rel='alternate' type='application/activity+json'>
<meta name="twitter:card" content="summary_large_image">
2019-10-26 16:48:41 +00:00
@if($status->viewType() == "video" || $status->viewType() == "video:album")
<meta property="og:video" content="{{$status->mediaUrl()}}">
@endif
2018-11-09 05:29:28 +00:00
@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