Question: I need to set linear-gradient as well as the background image on a specific div using styles in Reactsjs

I am able to get either of them, I mean to say either image or linear-gradient but not both at the same time

The image is going to overlap with the linear gradient

I tried below solution :

```css
 leftAdArea: {
      width: 380,
      height: 580,
      background: 'url(https://www.mahealthcare.com/assets/images/clinic/NursePhone.jpg) no-repeat , linear-gradient(135deg, #50A684 30%, #115E67 90%)',
      }
```

Suggest me to to do this kind of stuff where I can use the image as well as linear-gradient on an image

Thanks

Answer: 
On the function create() you call

```
$Shop = new Shop;

```

but on the top of the file you miss to import the Model class placed in "app/models/{ClassName}" folder.

On the folder "app/models/" you need to create one file with this name Shop
and past this code.

```
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Shop extends Model
{

    protected $table = '{your table name if is name of table on database is different from the name of class plus "s" if the table name is shops you can remove this variable}';
    protected $id = '{your id field if name is different from id if you have id field you can remove this variable}';
    protected $primaryKey = 'your primaryKey if name is different from id if primary key is id you can remove this variable';

}

```

After on the top of ShopsController file 

```
use App\Models\Shop ;

```
add csrf token in form by using helper function

```
{!! csrf_field() !!}

```

otherwise add url in `verifyCsrfToken.php` file and remove `exit()` function in controller 

import model on controller 

```
use App\Shop;

```