Lae/resources/views/banned.blade.php

22 lines
545 B
PHP
Raw Permalink Normal View History

2022-11-16 10:06:51 +00:00
@extends('layouts.app')
2022-11-06 11:28:22 +00:00
2022-11-16 10:06:51 +00:00
@section('title', '您已被封禁')
2022-11-06 11:28:22 +00:00
2022-11-16 10:06:51 +00:00
@section('content')
2022-11-06 11:28:22 +00:00
2022-11-16 10:06:51 +00:00
@if (auth()->user()->banned_at)
<h3>很抱歉,您可能违反了我们的规定。</h3>
<p>{{ auth()->user()->banned_reason }}</p>
2022-11-06 11:28:22 +00:00
2022-11-16 10:06:51 +00:00
<form id="logout-form" action="{{ route('logout') }}" method="POST">
@csrf
<button class="btn btn-primary">退出登录</button>
</form>
@else
<h3>您的账号正常。</h3>
<a href="{{ route('index') }}">返回首页</a>
@endif
@endsection