2019-02-11 19:33:23 +00:00
|
|
|
@extends('layouts.app',['title' => $profile->username . " on " . config('app.name')])
|
2018-05-30 02:38:21 +00:00
|
|
|
|
|
|
|
@section('content')
|
2018-11-09 04:38:43 +00:00
|
|
|
@if (session('error'))
|
|
|
|
<div class="alert alert-danger text-center font-weight-bold mb-0">
|
|
|
|
{{ session('error') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
2018-05-30 02:38:21 +00:00
|
|
|
|
2019-05-13 06:09:30 +00:00
|
|
|
<profile profile-id="{{$profile->id}}" profile-username="{{$profile->username}}" :profile-settings="{{json_encode($settings)}}" profile-layout="{{$profile->profile_layout ?? 'metro'}}"></profile>
|
2019-04-11 20:17:18 +00:00
|
|
|
@if($profile->website)
|
|
|
|
<a class="d-none" href="{{$profile->website}}" rel="me">{{$profile->website}}</a>
|
|
|
|
@endif
|
2018-06-02 18:11:08 +00:00
|
|
|
@endsection
|
|
|
|
|
2019-02-11 19:33:23 +00:00
|
|
|
@push('meta')<meta property="og:description" content="{{$profile->bio}}">
|
2019-03-07 20:51:20 +00:00
|
|
|
@if(false == $settings['crawlable'] || $profile->remote_url)
|
2018-07-25 04:33:55 +00:00
|
|
|
<meta name="robots" content="noindex, nofollow">
|
2019-04-02 05:56:01 +00:00
|
|
|
@else <meta property="og:image" content="{{$profile->avatarUrl()}}">
|
2019-06-06 01:21:19 +00:00
|
|
|
<link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on Pixelfed" type="application/atom+xml">
|
2019-04-02 05:56:01 +00:00
|
|
|
<link href='{{$profile->permalink()}}' rel='alternate' type='application/activity+json'>
|
2018-07-25 04:33:55 +00:00
|
|
|
@endif
|
|
|
|
@endpush
|
|
|
|
|
2019-12-05 07:24:42 +00:00
|
|
|
@push('styles')
|
|
|
|
<style type="text/css">
|
|
|
|
.navbar {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
@endpush
|
|
|
|
|
2018-07-25 04:33:55 +00:00
|
|
|
@push('scripts')
|
2019-02-11 19:33:23 +00:00
|
|
|
<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
|
2019-03-26 04:22:25 +00:00
|
|
|
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
2018-07-25 04:33:55 +00:00
|
|
|
<script type="text/javascript">
|
2019-02-11 19:33:23 +00:00
|
|
|
new Vue({
|
|
|
|
el: '#content'
|
2018-07-25 04:33:55 +00:00
|
|
|
});
|
|
|
|
</script>
|
2018-06-02 18:11:08 +00:00
|
|
|
@endpush
|