1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00
pixelfed/resources/views/profile/private.blade.php

37 lines
1.1 KiB
PHP
Raw Normal View History

2018-08-24 00:31:56 +00:00
@extends('layouts.app',['title' => $user->username . " on " . config('app.name')])
@section('content')
2018-11-03 02:58:53 +00:00
@if (session('error'))
<div class="alert alert-danger text-center font-weight-bold mb-0">
{{ session('error') }}
</div>
@endif
2018-08-24 00:31:56 +00:00
@include('profile.partial.private-info')
<div class="container">
<div class="profile-timeline mt-2 mt-md-4">
<div class="card">
<div class="card-body py-5">
2018-09-02 04:47:06 +00:00
<p class="text-center lead font-weight-bold mb-0">
2018-08-24 00:31:56 +00:00
{{__('profile.privateProfileWarning')}}
</p>
2018-09-02 04:47:06 +00:00
@if(!Auth::check())
2018-08-24 00:31:56 +00:00
<p class="text-center mb-0">{{ __('profile.alreadyFollow', ['username'=>$user->username])}}</p>
<p class="text-center mb-0"><a href="{{route('login')}}">{{__('Log in')}}</a></p>
<p class="text-center mb-0">{{__('profile.loginToSeeProfile')}}</p>
@endif
</div>
</div>
</div>
</div>
@endsection
@push('meta')
<meta property="og:description" content="{{$user->bio}}">
<meta property="og:image" content="{{$user->avatarUrl()}}">
@if($user->remote_url)
<meta name="robots" content="noindex, nofollow">
@endif
@endpush