Improving welcome page

This commit is contained in:
Bruno F. Fontes 2018-09-09 00:57:44 -03:00
parent fd3e4a67cf
commit 53758c6d69
2 changed files with 24 additions and 9 deletions

View File

@ -59,8 +59,19 @@
} }
.m-b-md { .m-b-md {
margin-top: 0px;
margin-bottom: 30px; margin-bottom: 30px;
} }
.footer {
font-size: 11px;
padding-top: 30%;
}
.footer > a{
font-size: 10px;
text-transform: none;
}
</style> </style>
</head> </head>
<body> <body>
@ -80,15 +91,20 @@
<div class="title m-b-md"> <div class="title m-b-md">
Share It! Share It!
</div> </div>
<div>Hello, {{$name}}!</div>
<div class="links"> <div class="links">
<a href="https://laravel.com/docs">Documentation</a> <a href="/login">Login</a>
<a href="https://laracasts.com">Laracasts</a> <a href="/register">Register</a>
<a href="https://laravel-news.com">News</a> <a href="/help">Help</a>
<a href="https://nova.laravel.com">Nova</a>
<a href="https://forge.laravel.com">Forge</a> <!--<a href="https://github.com/laravel/laravel">GitHub</a>-->
<a href="https://github.com/laravel/laravel">GitHub</a> </div>
<div>
<br>
</div>
<div class="links footer">
<a href="https://brunofontes.net">By Bruno Fontes</a>
<p>© 2018 Bruno Fontes All Rights Reserved</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -12,8 +12,7 @@
*/ */
Route::get('/', function () { Route::get('/', function () {
$name = 'Bruno'; return view('welcome');
return view('welcome', compact('name'));
}); });
Route::get('/product', 'ProductController@index'); Route::get('/product', 'ProductController@index');