diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/css/app.css | 3 | ||||
-rw-r--r-- | resources/views/layouts/app.blade.php | 1 | ||||
-rw-r--r-- | resources/views/pages/index.blade.php | 9 |
3 files changed, 12 insertions, 1 deletions
diff --git a/resources/css/app.css b/resources/css/app.css index e69de29..aa1634c 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -0,0 +1,3 @@ +body { + background-color: red; +} diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index f684765..0ed6d0c 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> + {{--<link rel="stylesheet" href="{{ asset('/resources/css/app.css') }}" type="text/css">--}} <title>Main page</title> </head> <body> diff --git a/resources/views/pages/index.blade.php b/resources/views/pages/index.blade.php index 8d377b2..e1e5fbf 100644 --- a/resources/views/pages/index.blade.php +++ b/resources/views/pages/index.blade.php @@ -1,6 +1,13 @@ @extends('layouts.app') @section('content') - <h1>Index</h1> + <h1>{{ $title ?? 'Index'}}</h1> <p>Something...</p> + @if(count($services) > 0) + <ul> + @foreach($services as $service) + <li>{{$service}}</li> + @endforeach + </ul> + @endif @endsection |