<li> <a href="{{ url('/page') }}/{{ $r->slug }}" class="widget-3-fav no-decoration">Read</a> </li> </ul> </div> <div class="clearfix"></div> </div> <div class="pull-bottom p-b-30"> <p class="p-t-10 fs-12 p-b-5 hint-text">{{ $SC->tgl_indo($r->created_at) }}</p> <h3 class="no-margin text-white p-b-10 p-r-30">{{ $r->judul }}</h3> </div> </div> </div> <?php $r = App\Blog::orderBy('id', 'desc')->first(); ?> <div class="slide-back tiles"> <div class="padding-30"> <div class="pull-top"> <div class="pull-left visible-lg visible-xlg f-z-30"> <i class="fa fa-newspaper-o"></i> </div> <div class="pull-right"> <ul class="list-inline"> <li> <a href="{{ url('/blog') }}/{{ $r->slug }}" class="widget-3-fav no-decoration">Read</a> </li> </ul> </div> <div class="clearfix"></div>
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond to | and give it the controller to call when that URI is requested. | */ Route::get('/', function () { $blog = App\Blog::orderBy('created_at', 'DESC')->paginate(10); return view('pages.index')->with('blog', $blog); }); Route::resources(['/blog' => 'Pages\\BlogController']); Route::controllers(['/vk-friend' => 'Pages\\FriendsController', '/wallpaper' => 'Wallpaper\\WallpaperController', '/bot_telegram' => 'CrossFit\\MainController']); // ТЕСТ создание страницы слайдоов Route::get('/slide', function () { return view('pages.slides.content'); })->name('slide'); /* * * * * * * * * * * * * | Выдача шаблонов для View Angular.JS */ Route::get('/template/{name}', function ($name) { return View::make('angular-pages.' . $name); }); Route::get('/auth', function () { return view('auth.index'); })->name('auth');