From 67e068f05380a0fb3008c95b987e5615ee20d5a6 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Mon, 5 Nov 2018 09:56:38 -0500 Subject: [PATCH] Some visual tweaks --- app/views/anime/cover-item.php | 18 +++++--- app/views/anime/details.php | 35 +++++++++------- app/views/anime/list.php | 14 ++++++- app/views/user/details.php | 77 ++++++++++++++++++---------------- 4 files changed, 85 insertions(+), 59 deletions(-) diff --git a/app/views/anime/cover-item.php b/app/views/anime/cover-item.php index bfad9149..92b2e559 100644 --- a/app/views/anime/cover-item.php +++ b/app/views/anime/cover-item.php @@ -41,14 +41,20 @@ - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 20, + 'height' => 20, + 'alt' => "{$link['meta']['name']} logo", + ]); ?> - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 20, + 'height' => 20, + 'alt' => "{$link['meta']['name']} logo", + ]); ?> diff --git a/app/views/anime/details.php b/app/views/anime/details.php index a5d7b549..97dbb358 100644 --- a/app/views/anime/details.php +++ b/app/views/anime/details.php @@ -46,7 +46,7 @@


-

+

0): ?>

Streaming on:

@@ -67,19 +67,21 @@ href="" title="Stream '' on " > - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 50, + 'height' => 50, + 'alt' => "{$link['meta']['name']} logo", + ]); ?>    - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 50, + 'height' => 50, + 'alt' => "{$link['meta']['name']} logo", + ]); ?>    @@ -91,12 +93,17 @@ -
+

Trailer

+
diff --git a/app/views/anime/list.php b/app/views/anime/list.php index 740fca5b..429f6814 100644 --- a/app/views/anime/list.php +++ b/app/views/anime/list.php @@ -72,10 +72,20 @@ - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 50, + 'height' => 50, + 'alt' => "{$link['meta']['name']} logo", + ]); ?> - + picture("images/{$link['meta']['image']}", 'svg', [ + 'class' => 'streaming-logo', + 'width' => 50, + 'height' => 50, + 'alt' => "{$link['meta']['name']} logo", + ]); ?> diff --git a/app/views/user/details.php b/app/views/user/details.php index 35454735..8fa17d66 100644 --- a/app/views/user/details.php +++ b/app/views/user/details.php @@ -3,8 +3,19 @@ use function Aviat\AnimeClient\getLocalImg; use Aviat\AnimeClient\API\Kitsu; ?>
+

+ a( + "https://kitsu.io/users/{$attributes['slug']}", + $attributes['name'], [ + 'title' => 'View profile on Kitsu' + ]) + ?> +

+ +

html($attributes['about']) ?>

+
-
+
-
-

- a( - "https://kitsu.io/users/{$attributes['slug']}", - $attributes['name'], [ - 'title' => 'View profile on Kitsu' - ]) - ?> -

- -
-

About:

-
html($attributes['about']) ?>
-
- + +
+
\ No newline at end of file