Skip to content

Commit

Permalink
Replaced spatie/statamic-responsive-images with justbetter/statamic-g…
Browse files Browse the repository at this point in the history
…lide-directive (#75)
  • Loading branch information
BobWez98 authored Sep 25, 2024
1 parent 59b86c5 commit 73e3e87
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 50 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package helps you integrate Statamic within your Rapidez project by adding
- Products, categories, brands and pages collections as starting point so you can extend this however you'd like
- Route merging so Statamic routes work as fallback
- Page builder fieldset with a product slider, content, image and form component
- Responsive images with [spatie/statamic-responsive-images](https://github.com/spatie/statamic-responsive-images)
- Responsive images with Glide through [justbetter/statamic-glide-directive](https://github.com/justbetter/statamic-glide-directive)
- Breadcrumbs for pages
- Globals available in all views
- Meta title, description and automatic alternate hreflang link tags
Expand Down Expand Up @@ -225,6 +225,7 @@ Eventy::addFilter('rapidez.statamic.brand.entry.data', fn($brand) => [
);
```


### Globals

Globals will be available through the `$globals` variable.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"php": "^8.1|^8.2",
"justbetter/statamic-eloquent-driver-globalset-migration-generator": "^0.1.0",
"rapidez/blade-directives": "^0.6",
"spatie/statamic-responsive-images": "^5.0",
"justbetter/statamic-glide-directive": "^2.1",
"statamic-rad-pack/runway": "^7.6",
"statamic/cms": "^5.0",
"statamic/eloquent-driver": "^4.9",
Expand Down
11 changes: 0 additions & 11 deletions resources/views/stack/head.blade.php

This file was deleted.

35 changes: 0 additions & 35 deletions resources/views/vendor/responsive-images/responsiveImage.blade.php

This file was deleted.

3 changes: 1 addition & 2 deletions src/RapidezStatamicServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Illuminate\Support\Facades\View;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Artisan;
use Rapidez\Statamic\Tags\Alternates;
use Statamic\Events\GlobalSetDeleted;
use Illuminate\Support\ServiceProvider;
Expand Down Expand Up @@ -212,7 +211,7 @@ public function bootUtilities() : static
public function bootStack() : static
{
if (! $this->app->runningInConsole()) {
View::startPush('head', view('rapidez-statamic::stack.head'));
View::startPush('head', view('statamic-glide-directive::partials.head'));
}

return $this;
Expand Down

0 comments on commit 73e3e87

Please sign in to comment.