From a7401a836b0b15b3ceb9a06144f025719229474d Mon Sep 17 00:00:00 2001 From: PS227368 <93662513+PS227368@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:50:08 +0100 Subject: [PATCH 1/3] test --- resources/views/index.blade.php | 15 +++++++++++++++ resources/views/index.php | 21 --------------------- routes/web.php | 8 +------- 3 files changed, 16 insertions(+), 28 deletions(-) create mode 100644 resources/views/index.blade.php delete mode 100644 resources/views/index.php diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php new file mode 100644 index 0000000..442ea66 --- /dev/null +++ b/resources/views/index.blade.php @@ -0,0 +1,15 @@ + + + + + + {{ config('app.name', 'Laravel') }} + + + +
+ @yield('content') +
+ + + \ No newline at end of file diff --git a/resources/views/index.php b/resources/views/index.php deleted file mode 100644 index 52361fa..0000000 --- a/resources/views/index.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - Mijn Laravel App - - - - -
-

Welkom bij mijn Laravel App

-

Dit is een mooie startpagina voor je Laravel-toepassing.

-
- -
-
- - - - diff --git a/routes/web.php b/routes/web.php index 5706428..af33c8d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,16 +13,10 @@ | */ -Route::get('/', function () { +Route::get('/index', function () { return view('index'); }); -// Voorbeeld van een route naar een controlleractie -Route::get('/about', 'App\Http\Controllers\AboutController@index'); - -// Voorbeeld van een route met een parameter -Route::get('/posts/{id}', 'App\Http\Controllers\PostController@show'); - Route::view('/', 'welcome'); Route::view('dashboard', 'dashboard') From 1db3ceb9c1ec4f8312362ddbf2e8aa651943d7cf Mon Sep 17 00:00:00 2001 From: PS227368 <93662513+PS227368@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:07:49 +0100 Subject: [PATCH 2/3] testjee --- resources/views/index.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 442ea66..e846d5b 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -12,4 +12,5 @@ - \ No newline at end of file + + \ No newline at end of file From 76dd3171ffaaa7135f9321fb1622aa875fb045e7 Mon Sep 17 00:00:00 2001 From: PS227368 <93662513+PS227368@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:11:42 +0100 Subject: [PATCH 3/3] testee --- resources/views/index.blade.php | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index e846d5b..d470e72 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -12,5 +12,4 @@ - \ No newline at end of file