feat: increase gallery grid from 4 to 5 columns per row on desktopfeat: increase gallery grid from 4 to 5 columns per row on desktop

This commit is contained in:
2026-02-25 19:11:23 +01:00
parent 5c97488e80
commit 0032aec02f
131 changed files with 15674 additions and 597 deletions

140
config/scout.php Normal file
View File

@@ -0,0 +1,140 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Search Engine
|--------------------------------------------------------------------------
*/
'driver' => env('SCOUT_DRIVER', 'meilisearch'),
/*
|--------------------------------------------------------------------------
| Index Prefix
|--------------------------------------------------------------------------
*/
'prefix' => env('SCOUT_PREFIX', env('MEILI_PREFIX', '')),
/*
|--------------------------------------------------------------------------
| Queue Data Syncing
|--------------------------------------------------------------------------
| Always queue Scout index operations so they never block HTTP requests.
*/
'queue' => [
'connection' => env('SCOUT_QUEUE_CONNECTION', env('QUEUE_CONNECTION', 'redis')),
'queue' => env('SCOUT_QUEUE_NAME', 'search'),
],
/*
|--------------------------------------------------------------------------
| Database Transactions
|--------------------------------------------------------------------------
*/
'after_commit' => true,
/*
|--------------------------------------------------------------------------
| Chunk Sizes
|--------------------------------------------------------------------------
*/
'chunk' => [
'searchable' => 500,
'unsearchable' => 500,
],
/*
|--------------------------------------------------------------------------
| Soft Deletes
|--------------------------------------------------------------------------
*/
'soft_delete' => false,
/*
|--------------------------------------------------------------------------
| Identify User
|--------------------------------------------------------------------------
*/
'identify' => env('SCOUT_IDENTIFY', false),
/*
|--------------------------------------------------------------------------
| Meilisearch
|--------------------------------------------------------------------------
*/
'meilisearch' => [
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
'key' => env('MEILISEARCH_KEY'),
/*
| Index-level settings pushed via: php artisan scout:sync-index-settings
*/
'index-settings' => [
/*
* Key must match the full Meilisearch index name (prefix + model index).
* Prefix is controlled by MEILI_PREFIX / SCOUT_PREFIX env variable.
* Default local dev: 'artworks'. Production: 'skinbase_prod_artworks'.
*/
env('SCOUT_PREFIX', env('MEILI_PREFIX', '')) . 'artworks' => [
'searchableAttributes' => [
'title',
'tags',
'author_name',
'description',
],
'filterableAttributes' => [
'tags',
'category',
'content_type',
'orientation',
'resolution',
'author_id',
'is_public',
'is_approved',
],
'sortableAttributes' => [
'created_at',
'downloads',
'likes',
'views',
],
'rankingRules' => [
'words',
'typo',
'proximity',
'attribute',
'sort',
'exactness',
],
'typoTolerance' => [
'enabled' => true,
'minWordSizeForTypos' => [
'oneTypo' => 4,
'twoTypos' => 8,
],
],
],
],
],
/*
|--------------------------------------------------------------------------
| Algolia (unused but required by package)
|--------------------------------------------------------------------------
*/
'algolia' => [
'id' => env('ALGOLIA_APP_ID', ''),
'secret' => env('ALGOLIA_SECRET', ''),
],
];