Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Illuminate/Foundation/Exceptions/views/404.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@extends('errors::layout')

@section('title', 'Page Not Found')

@section('message', 'Sorry, the page you are looking for could not be found.')
5 changes: 5 additions & 0 deletions src/Illuminate/Foundation/Exceptions/views/500.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@extends('errors::layout')

@section('title', 'Error')

@section('message', 'Whoops, looks like something went wrong.')
57 changes: 3 additions & 54 deletions src/Illuminate/Foundation/Exceptions/views/503.blade.php
Original file line number Diff line number Diff line change
@@ -1,56 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@extends('errors::layout')

<title>Service Unavailable</title>
@section('title', 'Service Unavailable')

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">

<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Raleway', sans-serif;
font-weight: 100;
height: 100vh;
margin: 0;
}

.full-height {
height: 100vh;
}

.flex-center {
align-items: center;
display: flex;
justify-content: center;
}

.position-ref {
position: relative;
}

.content {
text-align: center;
}

.title {
font-size: 84px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title">
Be right back.
</div>
</div>
</div>
</body>
</html>
@section('message', 'Be right back.')
57 changes: 57 additions & 0 deletions src/Illuminate/Foundation/Exceptions/views/layout.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>@yield('title')</title>

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">

<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Raleway', sans-serif;
font-weight: 100;
height: 100vh;
margin: 0;
}

.full-height {
height: 100vh;
}

.flex-center {
align-items: center;
display: flex;
justify-content: center;
}

.position-ref {
position: relative;
}

.content {
text-align: center;
}

.title {
font-size: 36px;
padding: 20px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title">
@yield('message')
</div>
</div>
</div>
</body>
</html>