removed sass
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user