Skip to content

Commit

Permalink
Convert project to package (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisa-fehr authored Jun 27, 2022
1 parent c8d57ff commit aa9a316
Show file tree
Hide file tree
Showing 117 changed files with 15,253 additions and 15,291 deletions.
51 changes: 0 additions & 51 deletions .env.example

This file was deleted.

29 changes: 29 additions & 0 deletions README.md
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');
```
41 changes: 0 additions & 41 deletions app/Console/Kernel.php

This file was deleted.

41 changes: 0 additions & 41 deletions app/Exceptions/Handler.php

This file was deleted.

67 changes: 0 additions & 67 deletions app/Http/Kernel.php

This file was deleted.

21 changes: 0 additions & 21 deletions app/Http/Middleware/Authenticate.php

This file was deleted.

17 changes: 0 additions & 17 deletions app/Http/Middleware/EncryptCookies.php

This file was deleted.

17 changes: 0 additions & 17 deletions app/Http/Middleware/PreventRequestsDuringMaintenance.php

This file was deleted.

32 changes: 0 additions & 32 deletions app/Http/Middleware/RedirectIfAuthenticated.php

This file was deleted.

19 changes: 0 additions & 19 deletions app/Http/Middleware/TrimStrings.php

This file was deleted.

20 changes: 0 additions & 20 deletions app/Http/Middleware/TrustHosts.php

This file was deleted.

28 changes: 0 additions & 28 deletions app/Http/Middleware/TrustProxies.php

This file was deleted.

Loading

0 comments on commit aa9a316

Please sign in to comment.