Support the ongoing development of Laravel.io →
posted 5 years ago
Last updated 1 year ago.
0

my default is vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\views

@extends('errors::illustrated-layout')

@section('code', '404')
@section('title', __('Page Not Found'))

@section('image')
<div style="background-image: url({{ asset('/svg/404.svg') }});" class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center">
</div>
@endsection

@section('message', __('Sorry, the page you are looking for could not be found.'))

create a bade view at resources/views/errors/404.blade.php and customize it as needed. keep in mind your layout could be named @extends('layouts.app') instead of the laravel default

Last updated 5 years ago.
0

Thank you. That's exactly what I was looking for.

I opened another thread for de __('text') question ... :-)

0

this is how you would make the text "GO Home" in your language https://laravel.com/docs/5.7/localization

0

You are getting device id through GET request so use the below line instead of $request()->device_id.

Use this $name = $request->input('device_id') Build your own ecommerce marketplace software Online rental marketplace- Airbnb clone,Vacation Rental script,Car rental script **Food ordering **script

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Alberto alagorovigo Joined 17 Dec 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.