created a main layout view

This commit is contained in:
Ghostie 2024-08-19 16:43:22 -05:00
parent 910d45a2ff
commit 5b8c3e40d2
4 changed files with 19 additions and 173 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title') | DevStagram</title>
</head>
<body>
</body>
</html>

View File

@ -0,0 +1,3 @@
@extends ("layouts.app")
@section('title', 'Main Page')

File diff suppressed because one or more lines are too long

View File

@ -3,5 +3,5 @@
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
return view('main');
});