diff options
| author | horus | 2020-07-30 21:27:51 +0200 |
|---|---|---|
| committer | horus | 2020-07-30 21:27:51 +0200 |
| commit | 98736ba280573b66eb3d5bf026ed943dc8ceb663 (patch) | |
| tree | 7cb510a4307e77c16aa5b76a6b84a6ef2ef281c3 /resources/views/surprising_anime.blade.php | |
| parent | 14ffa8c832cf69fde25d1ea3641b179ac2d77c03 (diff) | |
| download | senpai-98736ba280573b66eb3d5bf026ed943dc8ceb663.tar.gz | |
Crawls top anime.
Diffstat (limited to 'resources/views/surprising_anime.blade.php')
| -rw-r--r-- | resources/views/surprising_anime.blade.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/views/surprising_anime.blade.php b/resources/views/surprising_anime.blade.php new file mode 100644 index 0000000..5fe0648 --- /dev/null +++ b/resources/views/surprising_anime.blade.php @@ -0,0 +1,31 @@ +@extends('layouts.app') + +@section('content') +<div class="container" id="index"> + +<h1>Most surprising anime</h1> +@foreach($surprising_anime as $anime) + <div class="row"> + <div class="col-sm-4 col-lg-3"> + <a href="/anime/{{ $anime->mal_id}}" title="Click for more data"> + <img src="{{ $anime->image_url }}" class="img-fluid" style="margin-bottom: 10px;"> + </a> + </div> + <div class="col-sm-8 col-lg-9"> + <h2>{{ $anime->title_pref }}</h2> + Score diff: {{ $anime->score_today - $anime->score_begin }} Points + <br> + First score: {{ $anime->score_begin }} + <br> + Score now: {{ $anime->score_today }} + <br> + <a href="/anime/{{ $anime->mal_id}}" title="Click for more data"> + Click for more data + </a> + </div> + </div> +@endforeach + +{{ $surprising_anime ->links() }} +</div> +@endsection |
