1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 02:06:52 +00:00
pixelfed/resources/views/profile/private.blade.php
2024-03-12 06:42:12 -06:00

35 lines
1 KiB
PHP

@extends('layouts.app-guest',['title' => $user->username . " on " . config_cache('app.name')])
@section('content')
@if (session('error'))
<div class="alert alert-danger text-center font-weight-bold mb-0">
{{ session('error') }}
</div>
@endif
@include('profile.partial.private-info')
@if($user->website)
<a class="d-none" href="{{$user->website}}" rel="me external nofollow noopener">{{$user->website}}</a>
@endif
<div class="container">
<div class="profile-timeline mt-2 mt-md-4">
<div class="">
<div class="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 name="robots" content="noindex, nofollow">
@endpush