From 34a4ccde2ea4979216d5386824cded2bcf9cabe3 Mon Sep 17 00:00:00 2001 From: fthvgb1 Date: Sat, 2 Jun 2018 23:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/app.css | 18 ++++++++++++------ resources/assets/sass/app.scss | 2 +- routes/web.php | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 36890ce..c8e5386 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -8479,7 +8479,8 @@ body { /* Topic Index Page */ .topics-index-page .topic-list .nav > li > a, -.categories-show-page .topic-list .nav > li > a { +.categories-show-page .topic-list .nav > li > a, +.home-page .topic-list .nav > li > a { position: relative; display: block; padding: 5px 14px; @@ -8487,28 +8488,33 @@ body { } .topics-index-page .topic-list a, -.categories-show-page .topic-list a { +.categories-show-page .topic-list a, +.home-page .topic-list a { color: #444444; } .topics-index-page .topic-list .meta, -.categories-show-page .topic-list .meta { +.categories-show-page .topic-list .meta, +.home-page .topic-list .meta { font-size: 0.9em; color: #b3b3b3; } .topics-index-page .topic-list .meta a, -.categories-show-page .topic-list .meta a { +.categories-show-page .topic-list .meta a, +.home-page .topic-list .meta a { color: #b3b3b3; } .topics-index-page .topic-list .badge, -.categories-show-page .topic-list .badge { +.categories-show-page .topic-list .badge, +.home-page .topic-list .badge { background-color: #d8d8d8; } .topics-index-page .topic-list hr, -.categories-show-page .topic-list hr { +.categories-show-page .topic-list hr, +.home-page .topic-list hr { margin-top: 12px; margin-bottom: 12px; border: 0; diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss index 5fff1da..1460d41 100644 --- a/resources/assets/sass/app.scss +++ b/resources/assets/sass/app.scss @@ -135,7 +135,7 @@ body { } /* Topic Index Page */ -.topics-index-page, .categories-show-page { +.topics-index-page, .categories-show-page, .home-page { .topic-list { .nav > li > a { position: relative; diff --git a/routes/web.php b/routes/web.php index 7bdf1d7..f5c9897 100644 --- a/routes/web.php +++ b/routes/web.php @@ -11,7 +11,7 @@ | */ -Route::get('/', 'PagesController@root')->name('home'); +Route::get('/', 'TopicsController@index')->name('home'); Route::resource('users', 'UsersController', ['only' => ['update', 'show', 'edit']]) ->middleware('auth');