removed sass

This commit is contained in:
2024-10-10 19:55:21 +03:00
parent 828fca7e8f
commit fea7610665
40 changed files with 1994 additions and 26 deletions
+12 -7
View File
@@ -147,7 +147,18 @@ class FileService
return;
}
foreach (new DirectoryIterator(base_path(config("lucent.image_filters_path"))) as $file) {
$thumbDir = "$path/thumbs/" . $filename;
$image = $originalImage->cover(300, 300);
$disk->put($thumbDir, $image->encode(new WebpEncoder(quality: 75)));
$fitlerPath = base_path(config("lucent.image_filters_path"));
if(!file_exists($fitlerPath)) {
return;
}
foreach (new DirectoryIterator($fitlerPath) as $file) {
if ($file->isDot()) continue;
$namespace = app()->getNamespace();
@@ -161,11 +172,5 @@ class FileService
$templateUri = "$path/templates/" . (new $filterClass)->name . "/" . $filename;
$disk->put($templateUri, $image->encode(new WebpEncoder(75)));
};
$thumbDir = "$path/thumbs/" . $filename;
$image = $originalImage->cover(300, 300);
$disk->put($thumbDir, $image->encode(new WebpEncoder(quality: 75)));
}
}
-4
View File
@@ -72,10 +72,6 @@ class LucentServiceProvider extends ServiceProvider
public function boot(Router $router): void
{
$manifestPath = public_path('vendor/lucent/dist/manifest.json');
$manifest = null;
if (file_exists($manifestPath)) {