Skip to content

Commit b67519c

Browse files
committed
Add git tracking notification
1 parent 5c5e0aa commit b67519c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

resources/presets/lottie_player/config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
'type' => 'notify',
6161
'content' => "Add this to the `disks` array in your `config/filesystems.php` file:\n\n'animations' => [\n\t'driver' => 'local',\n\t'root' => public_path('animations'),\n\t'visibility' => 'public',\n],",
6262
],
63+
[
64+
'type' => 'notify',
65+
'content' => "Add this to your `paths` array to your `config/statamic/git.php` file:\n\public_path('animations'),",
66+
],
6367
[
6468
'type' => 'notify',
6569
'content' => "Add this to your `resources/js/site.js` file:\n\nimport intersect from '@alpinejs/intersect'\nimport lottie from 'lottie-web'\n\n// Init Lottie\nwindow.lottie = lottie\n\nAlpine.plugin([collapse, focus, intersect, morph, persist, precognition])",

resources/presets/secure_downloads/config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
'type' => 'notify',
5858
'content' => "Add this to your `routes/web.php` file:\n\n// Secure downloads.\nRoute::get('secure/download', [\App\Http\Controllers\DownloadController::class, '__invoke'])->middleware('statamic.web')->name('secure-download');",
5959
],
60+
[
61+
'type' => 'notify',
62+
'content' => "Add this to your `paths` array to your `config/statamic/git.php` file:\n\nstorage_path('downloads'),",
63+
],
6064
[
6165
'type' => 'notify',
6266
'content' => "Add this to your `lang/locale/strings.php` file:\n\n// Downloads\n'download' => 'Download',",

0 commit comments

Comments
 (0)