From 69e4ed3bffaf16beb8ad2c236f0742b3ca26c7ba Mon Sep 17 00:00:00 2001 From: Constantin Plaiasu Date: Mon, 26 Aug 2024 01:03:16 +0300 Subject: [PATCH] performance test --- public/build/assets/watch-D6zQQVIa.css | 1 - public/build/assets/watch-DqwsOmtD.css | 1 + public/build/manifest.json | 2 +- resources/scss/watch.scss | 44 ++++++++++++++---------- resources/views/components/nav.blade.php | 7 ++-- resources/views/layouts/layout.blade.php | 6 ++-- resources/views/movie.blade.php | 13 +++---- 7 files changed, 43 insertions(+), 31 deletions(-) delete mode 100644 public/build/assets/watch-D6zQQVIa.css create mode 100644 public/build/assets/watch-DqwsOmtD.css diff --git a/public/build/assets/watch-D6zQQVIa.css b/public/build/assets/watch-D6zQQVIa.css deleted file mode 100644 index 2dacefe..0000000 --- a/public/build/assets/watch-D6zQQVIa.css +++ /dev/null @@ -1 +0,0 @@ -picture:after{content:"";top:0;left:0;bottom:-6px;width:100%;box-shadow:inset 1px 0 105px 105px #0d0d31;background:linear-gradient(to bottom,#0d0d3105,#0d0d31);background-color:#0d0d3188;position:absolute}picture>img{-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;height:100%;width:100%;position:absolute;top:0} diff --git a/public/build/assets/watch-DqwsOmtD.css b/public/build/assets/watch-DqwsOmtD.css new file mode 100644 index 0000000..4c76e89 --- /dev/null +++ b/public/build/assets/watch-DqwsOmtD.css @@ -0,0 +1 @@ +picture{position:absolute;width:100%;top:0;min-height:720px}picture:after{content:"";top:0;left:0;bottom:-6px;width:100%;box-shadow:inset 1px 0 105px 105px #0d0d31;background:linear-gradient(to bottom,#0d0d3105,#0d0d31);background-color:#0d0d3188;position:absolute}picture>img{-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;height:100%;width:100%;position:absolute;top:0} diff --git a/public/build/manifest.json b/public/build/manifest.json index f0bee3c..2729012 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -76,7 +76,7 @@ "isEntry": true }, "resources/scss/watch.scss": { - "file": "assets/watch-D6zQQVIa.css", + "file": "assets/watch-DqwsOmtD.css", "src": "resources/scss/watch.scss", "isEntry": true } diff --git a/resources/scss/watch.scss b/resources/scss/watch.scss index faa85d7..9d29e6d 100644 --- a/resources/scss/watch.scss +++ b/resources/scss/watch.scss @@ -1,24 +1,32 @@ -picture:after { +picture { position: absolute; - content: ""; - top: 0; - left: 0; - bottom: -6px; - width: 100%; - box-shadow: inset 1px 0 105px 105px #0d0d31; - background: linear-gradient(to bottom, #0d0d3105, #0d0d31); - background-color: #0d0d3188; - position: absolute; -} -picture > img { - object-fit: cover; - object-position: top; - height: 100%; - width: 100%; - position: absolute; - top: 0; + width:100%; + top:0; + min-height:720px; + &:after { + position: absolute; + content: ""; + top: 0; + left: 0; + bottom: -6px; + width: 100%; + box-shadow: inset 1px 0 105px 105px #0d0d31; + background: linear-gradient(to bottom, #0d0d3105, #0d0d31); + background-color: #0d0d3188; + position: absolute; + } + & > img { + object-fit: cover; + object-position: top; + height: 100%; + width: 100%; + position: absolute; + top: 0; + + } } + diff --git a/resources/views/components/nav.blade.php b/resources/views/components/nav.blade.php index fa59dba..92758fc 100644 --- a/resources/views/components/nav.blade.php +++ b/resources/views/components/nav.blade.php @@ -2,7 +2,10 @@