- Add variables to .env file
ONESIGNAL_APP_ID=
ONESIGNAL_REST_API_KEY=
ONESIGNAL_USER_AUTH_KEY=
- Add OneSignal wrapper for Laravel via composer
composer require jmrieger/onesignal-laravel| /** taken from https://github.com/niksy/rationalize.css/blob/master/index.css **/ | |
| @import url('normalize.css'); | |
| @import url('opinionate.css'); | |
| /** | |
| * ============================================================================= | |
| * Base | |
| * ============================================================================= | |
| */ |
| body { | |
| font-size: calc(0.95rem + 0.1vw); | |
| } |
| /** taken from https://codepen.io/sdthornton/pen/wBZdXq **/ | |
| .card-1 { | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | |
| transition: all 0.3s cubic-bezier(.25,.8,.25,1); | |
| } | |
| .card-1:hover { | |
| box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); | |
| } |
| /** flex **/ | |
| .🦄 { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /** grid **/ | |
| body { | |
| display: grid; |
| img:not([alt]), img[alt=""] { | |
| outline: 5px solid red; | |
| } | |
| /* you could also use this for admins on wordpress with the following */ | |
| .admin-bar img:not([alt]), .admin-bar img[alt=""] { | |
| outline: 5px solid red; | |
| } |
ONESIGNAL_APP_ID=
ONESIGNAL_REST_API_KEY=
ONESIGNAL_USER_AUTH_KEY=
composer require jmrieger/onesignal-laravel"pusher/pusher-php-server": "^3.0",$ composer require vinkla/pusher| var $dt = $('.dataTable') | |
| .DataTable({ | |
| "lengthChange": true, | |
| "pageLength": 21, | |
| "paging": true, | |
| "ordering": true, | |
| "info": false, | |
| "searching": true, | |
| "stateSave": false, | |
| "jQueryUI": false, |