pixelfed/resources/views/profile/private.blade.php

36 lines
1 KiB
PHP
Raw Permalink Normal View History

@extends('layouts.app-guest',['title' => $user->username . " on " . config_cache('app.name')])
2018-08-24 00:31:56 +00:00
@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>
2018-11-03 02:58:53 +00:00
@endif
2018-08-24 00:31:56 +00:00
@include('profile.partial.private-info')
@if($user->website)
<a class="d-none" href="{{$user->website}}" rel="me external nofollow noopener">{{$user->website}}</a>
@endif
2018-08-24 00:31:56 +00:00
<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>
2018-08-24 00:31:56 +00:00
@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>
2018-08-24 00:31:56 +00:00
</div>
@endsection
@push('meta')
<meta name="robots" content="noindex, nofollow">
@endpush