diff --git a/.env.example b/.env.example index 62d733c..48adfd8 100644 --- a/.env.example +++ b/.env.example @@ -4,6 +4,9 @@ APP_KEY= APP_DEBUG=true APP_URL=http://localhost +# This can be your main homepage, other than this site itself +APP_SITEHOMEPAGE="" + LOG_CHANNEL=stack DB_CONNECTION=mysql diff --git a/config/app.php b/config/app.php index bcd24bf..96e5484 100644 --- a/config/app.php +++ b/config/app.php @@ -15,6 +15,19 @@ return [ 'name' => env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Homepage + |-------------------------------------------------------------------------- + | + | This value is the application's homepage. + | If you have a main website other than this application itself, you can link it here. + | It will be used exclusively on the "Homepage" header menu. + | + */ + 'sitehomepage' => env('APP_SITEHOMEPAGE', 'https://google.com'), + /* |-------------------------------------------------------------------------- | Application Environment diff --git a/resources/views/breadcrumbs/header.blade.php b/resources/views/breadcrumbs/header.blade.php index d2099da..cda3993 100644 --- a/resources/views/breadcrumbs/header.blade.php +++ b/resources/views/breadcrumbs/header.blade.php @@ -10,6 +10,7 @@ + {{config('app.name')}} | Home @@ -43,7 +44,7 @@