aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-07 22:39:42 +0200
committerMateja <mail@matejamaric.com>2020-10-07 22:39:42 +0200
commit9c4ac5d1f5d1474e5def6c67e1e0989ad2f08dbe (patch)
tree3e6f7652b0ab3dc41a3d7e95a53ab7014f7f9d4d /resources/views
parentbbd270805f1020a313d6125e362dfa2309c89ef5 (diff)
downloadyota-laravel-9c4ac5d1f5d1474e5def6c67e1e0989ad2f08dbe.tar.gz
yota-laravel-9c4ac5d1f5d1474e5def6c67e1e0989ad2f08dbe.zip
Some work and npm install for compiling resources.
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/layouts/app.blade.php1
-rw-r--r--resources/views/pages/index.blade.php9
2 files changed, 9 insertions, 1 deletions
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