mirror of https://git.stjo.hn/planiverse
58 lines
1.8 KiB
PHP
58 lines
1.8 KiB
PHP
<!doctype html>
|
|
<html lang="{{ app()->getLocale() }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{{ $mastodon_domain }} | {{ $account['acct'] }}</title>
|
|
|
|
<link rel="stylesheet" href="{{ url('css/styles.css') }}" />
|
|
</head>
|
|
<body>
|
|
<h1>{{ $mastodon_domain }} | {{ $account['acct'] }}</h1>
|
|
|
|
@component('navigation')
|
|
@endcomponent
|
|
|
|
<div>
|
|
<span class="account" title="{{ $account['acct'] }}">
|
|
<a href="{{ $account['url'] }}">
|
|
<img
|
|
src="{{ $account['avatar'] }}"
|
|
alt="{{ $account['acct'] }}"
|
|
class="avatar"
|
|
/>
|
|
{{ $account['display_name'] }}
|
|
@if ($account['bot'] ?? false) 🤖 @endif
|
|
@if ($account['locked']) 🔒 @endif
|
|
</a>
|
|
</span>
|
|
{!! $account['note'] !!}
|
|
<div>
|
|
@if ($relationship['following'])
|
|
<a href="{{ route('unfollow', ['account_id' => $account['id']]) }}">
|
|
Unfollow
|
|
</a>
|
|
@else
|
|
<a href="{{ route('follow', ['account_id' => $account['id']]) }}">
|
|
Follow
|
|
</a>
|
|
@endif
|
|
</div>
|
|
|
|
<h2>Statuses</h2>
|
|
|
|
<ul>
|
|
@foreach ($statuses as $status)
|
|
@component('status', ['status' => $status])
|
|
@endcomponent
|
|
@endforeach
|
|
</ul>
|
|
|
|
@component('pagination', ['links' => $links])
|
|
@endcomponent
|
|
</div>
|
|
</body>
|
|
</html>
|