canadianlover's avatar

Get rid of text at top of every app page

Hi everybody. I am new to laravel. I get the following output from laravel at the top of each page. I don't know how it got there. How do I get rid of it?

Skip to content Personal Open source Business Explore Pricing Blog Support This repository

3,019 22,483

7,384

laravel/laravel Code Pull requests 0 Pulse Graphs laravel/config/database.php eb7743f 11 days ago @dakira dakira allow for setting sqlite database via env @taylorotwell @TGM @vlakoff @dakira @marcanuy @pedes42 @jimmypuckett @GrahamCampbell @david-ridgeonnet @SyntaxC4 @overtrue 121 lines (101 sloc) 3.84 KB

0 likes
8 replies
zachleigh's avatar

What set up are you using (OS, database, php version etc.)? Can you show us one of your views?

canadianlover's avatar

I'm running Linux Mint, with MySQL and PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)

zachleigh's avatar

Show us some code. These files would help us figure out what going on: routes.php, a controller, a view.

canadianlover's avatar

c ontroller

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;

use App\Item; class ItemController extends Controller { public function index() { //fetch all items from the database $items = Item::All(); return $items; } }

routes

@index'); Route::get('item', 'ItemController@index'); Route::get('welcome', function() { return view('welcome'); }); Route::group(['middleware' => 'web'], function () { Route::auth();
Route::get('/home', 'HomeController@index');

}); @extends('layouts.app')

@section('content')

Dashboard
            <div class="panel-body">
                You are logged in!
            </div>
        </div>
    </div>
</div>
@endsection
Jaytee's avatar

It's likely in your Master template, go into layouts/app and copy the content here:

canadianlover's avatar

here it is:

<title>Laravel</title>

<!-- Fonts -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel='stylesheet' type='text/css'>

<!-- Styles -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
{{-- <link href="{{ elixir('css/app.css') }}" rel="stylesheet"> --}}

<style>
    body {
        font-family: 'Lato';
    }

    .fa-btn {
        margin-right: 6px;
    }
</style>

Please or to participate in this conversation.