planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

context.blade.php (976B)


      1 <!doctype html>
      2 <html lang="{{ app()->getLocale() }}">
      3     <head>
      4         <meta charset="utf-8">
      5         <meta http-equiv="X-UA-Compatible" content="IE=edge">
      6         <meta name="viewport" content="width=device-width, initial-scale=1">
      7 
      8         <title>{{ $mastodon_domain }} | Thread</title>
      9 
     10         <link rel="stylesheet" href="{{ url('css/styles.css') }}" />
     11     </head>
     12     <body>
     13         <h1>{{ $mastodon_domain }} | Thread</h1>
     14 
     15         @component('navigation')
     16         @endcomponent
     17 
     18         <ul>
     19             @foreach ($context['ancestors'] as $ancestor)
     20                 @component('status', ['status' => $ancestor])
     21                 @endcomponent
     22             @endforeach
     23 
     24             @component('status', ['status' => $status])
     25             @endcomponent
     26 
     27             @foreach ($context['descendants'] as $descendant)
     28                 @component('status', ['status' => $descendant])
     29                 @endcomponent
     30             @endforeach
     31         </ul>
     32     </body>
     33 </html>