From ec327ee69388a5f7ed4805cb2f33e8ae52aa109e Mon Sep 17 00:00:00 2001
From: imadnajam <118115991+Imadnajam@users.noreply.github.com>
Date: Fri, 12 Jan 2024 20:27:52 +0100
Subject: [PATCH] work with include methode 3
---
resources/views/anime.blade.php | 200 +-----------------
resources/views/films.blade.php | 69 +-----
.../components/animesection.blade.php | 83 ++++++++
.../components/filmssection.blade.php | 53 +++++
.../components/paginationStyle.blade.php | 87 ++++++++
5 files changed, 229 insertions(+), 263 deletions(-)
create mode 100644 resources/views/frontend/components/animesection.blade.php
create mode 100644 resources/views/frontend/components/filmssection.blade.php
create mode 100644 resources/views/frontend/components/paginationStyle.blade.php
diff --git a/resources/views/anime.blade.php b/resources/views/anime.blade.php
index 368383a..e251ffd 100644
--- a/resources/views/anime.blade.php
+++ b/resources/views/anime.blade.php
@@ -1,206 +1,12 @@
-
-
-
-
-
- UnderMovie - Best Anime
-
-
-
-
-
-
-
-
-
-
-
-
-
+ @include('frontend.components.headlinks', ['page' => 'Best Anime'])
+ @include('frontend.components.paginationStyle')
-
-
-
-
-
-
Online Streaming
-
-
Top Rated Anime
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
- @include('frontend.components.animelist',['animes'=>$animes])
-
-
-
-
-
-
-
-
-
-
-
+ @include('frontend.components.animesection', ['animes' => $animes])
-
-
-
diff --git a/resources/views/films.blade.php b/resources/views/films.blade.php
index 9c4ea74..8db0a10 100644
--- a/resources/views/films.blade.php
+++ b/resources/views/films.blade.php
@@ -5,75 +5,12 @@
-
-
-
-
-
-
-
Online Streaming
-
-
Top Rated Movies
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
-
- @php
- $shuffledTops = $films['results'];
- shuffle($shuffledTops);
-
- @endphp
-
-
-
-
- @include('frontend.components.movieslist',['shuffledTops'=>$shuffledTops])
-
-
-
-
-
-
+
+ @include('frontend.components.filmssection',['films'=>$films])
+
-
-
-
-