-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
117 changed files
with
15,253 additions
and
15,291 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
# gallery | ||
Packaged version of the recreate gallery project | ||
|
||
Run: | ||
|
||
`composer require lisa-fehr/gallery` | ||
|
||
`php artisan storage:link` | ||
|
||
`php artisan gallery:install` | ||
|
||
`php artisan images:generate` | ||
|
||
`npm run development` | ||
|
||
|
||
|
||
Add this div to a view called portfolio: | ||
```html | ||
<div id="gallery-app" class="text-sm w-full" data-filters="{{$filter['tags'] ?? ''}}"></div> | ||
``` | ||
|
||
Add this kind of code to routes where tags match the uber_tags table names you want to show: | ||
|
||
```php | ||
Route::get('photos', function () { | ||
|
||
return view('portfolio')->with('filter', ['tags' => 'photos,california2014']); | ||
|
||
})->name('photos'); | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.