Use app name
This commit is contained in:
parent
17fb0e236f
commit
1e78a8e6d9
|
@ -4,6 +4,9 @@ APP_KEY=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
# This can be your main homepage, other than this site itself
|
||||||
|
APP_SITEHOMEPAGE=""
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
|
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
|
|
|
@ -15,6 +15,19 @@ return [
|
||||||
|
|
||||||
'name' => env('APP_NAME', 'Laravel'),
|
'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
|
| Application Environment
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<meta name="tags" content="minecraft, minecraft server staff, minecraft staff, minecraft servers">
|
<meta name="tags" content="minecraft, minecraft server staff, minecraft staff, minecraft servers">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<title>{{config('app.name')}} | Home</title>
|
||||||
<!-- Font Awesome -->
|
<!-- Font Awesome -->
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
||||||
<!-- Google Fonts -->
|
<!-- Google Fonts -->
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<nav class="navbar fixed-top navbar-expand-lg navbar-dark">
|
<nav class="navbar fixed-top navbar-expand-lg navbar-dark">
|
||||||
<a class="navbar-brand" href="#"><strong>Raspberry Network</strong></a>
|
<a class="navbar-brand" href="#"><strong>{{config('app.name')}}</strong></a>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
||||||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
@ -51,10 +52,7 @@
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav mr-auto">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link " href="#">Homepage</a>
|
<a class="nav-link " href="{{config('app.sitehomepage')}}">Homepage</a>
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Ban Appeals</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -92,7 +90,7 @@
|
||||||
<div class="mask rgba-black-light flex-center">
|
<div class="mask rgba-black-light flex-center">
|
||||||
<div class="container text-center white-text">
|
<div class="container text-center white-text">
|
||||||
<div class="white-text text-center wow fadeInUp">
|
<div class="white-text text-center wow fadeInUp">
|
||||||
<h2>Raspberry Network Application Center</h2>
|
<h2>{{config('app.name')}}</h2>
|
||||||
<h5>Welcome to our team management center!</h5>
|
<h5>Welcome to our team management center!</h5>
|
||||||
<br>
|
<br>
|
||||||
<p>Here, you can apply for open staff member positions, view your application status, and manage your profile. </p>
|
<p>Here, you can apply for open staff member positions, view your application status, and manage your profile. </p>
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||||
|
use Illuminate\Foundation\Testing\WithFaker;
|
||||||
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
class OptionsTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* A basic feature test example.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function testExample()
|
||||||
|
{
|
||||||
|
$response = $this->get('/');
|
||||||
|
|
||||||
|
$response->assertStatus(200);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue