mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Add private profile layout
This commit is contained in:
parent
1d3cddc831
commit
e91bd452d5
1 changed files with 33 additions and 0 deletions
33
resources/views/profile/private.blade.php
Normal file
33
resources/views/profile/private.blade.php
Normal file
|
@ -0,0 +1,33 @@
|
|||
@extends('layouts.app',['title' => $user->username . " on " . config('app.name')])
|
||||
|
||||
@section('content')
|
||||
|
||||
@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">
|
||||
<p class="text-center lead font-weight-bold">
|
||||
{{__('profile.privateProfileWarning')}}
|
||||
</p>
|
||||
|
||||
@if(Auth::check())
|
||||
<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
|
Loading…
Reference in a new issue