diff --git a/resources/css/fonts.css b/resources/css/fonts.css index 38a9152..a5804aa 100644 --- a/resources/css/fonts.css +++ b/resources/css/fonts.css @@ -4,7 +4,7 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 300; - src: url("/fonts/manrope/manrope-v20-greek_latin-300.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* manrope-regular - greek_latin */ @@ -13,7 +13,7 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; - src: url("/fonts/manrope/manrope-v20-greek_latin-regular.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* manrope-500 - greek_latin */ @@ -22,7 +22,7 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; - src: url("/fonts/manrope/manrope-v20-greek_latin-500.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* manrope-600 - greek_latin */ @@ -31,7 +31,7 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; - src: url("/fonts/manrope/manrope-v20-greek_latin-600.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* manrope-700 - greek_latin */ @@ -40,7 +40,7 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; - src: url("/fonts/manrope/manrope-v20-greek_latin-700.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* manrope-800 - greek_latin */ @@ -49,6 +49,6 @@ @font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; - src: url("/fonts/manrope/manrope-v20-greek_latin-800.woff2") + src: url("../fonts/manrope/manrope-v20-greek_latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } diff --git a/public/fonts/manrope/manrope-v20-greek_latin-200.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-200.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-200.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-200.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-300.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-300.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-300.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-300.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-500.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-500.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-500.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-500.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-600.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-600.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-600.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-600.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-700.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-700.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-700.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-700.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-800.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-800.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-800.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-800.woff2 diff --git a/public/fonts/manrope/manrope-v20-greek_latin-regular.woff2 b/resources/fonts/manrope/manrope-v20-greek_latin-regular.woff2 similarity index 100% rename from public/fonts/manrope/manrope-v20-greek_latin-regular.woff2 rename to resources/fonts/manrope/manrope-v20-greek_latin-regular.woff2 diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 0af48db..562b368 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -31,10 +31,10 @@ doesn't reflow the header and headings on load — which otherwise throws off scroll restoration on refresh. Same URLs as the @font-face rules in fonts.css, so each is fetched once. --}} - - - - + + + + @vite(['resources/css/app.css', 'resources/js/app.js']) diff --git a/resources/views/product/show.blade.php b/resources/views/product/show.blade.php index 7962dde..5ec24d5 100644 --- a/resources/views/product/show.blade.php +++ b/resources/views/product/show.blade.php @@ -219,16 +219,18 @@ class="absolute bottom-6 right-8 text-white text-sm" - + @if(!empty($product['recommendations'])) + + @endif