diff --git a/app/routes/about.php b/app/routes/pages/about.php similarity index 66% rename from app/routes/about.php rename to app/routes/pages/about.php index 5857481..fdad5dc 100755 --- a/app/routes/about.php +++ b/app/routes/pages/about.php @@ -2,6 +2,6 @@ $app->get('/about', function() use($app) { - $app->render('about.twig'); + $app->render('pages/about.twig'); })->name('about'); diff --git a/app/routes/contact.php b/app/routes/pages/contact.php similarity index 66% rename from app/routes/contact.php rename to app/routes/pages/contact.php index e125bd9..931f4a6 100755 --- a/app/routes/contact.php +++ b/app/routes/pages/contact.php @@ -2,6 +2,6 @@ $app->get('/contact', function() use($app) { - $app->render('contact.twig'); + $app->render('pages/contact.twig'); })->name('contact'); diff --git a/app/routes/home.php b/app/routes/pages/home.php similarity index 66% rename from app/routes/home.php rename to app/routes/pages/home.php index be6b6c8..d55a9e0 100755 --- a/app/routes/home.php +++ b/app/routes/pages/home.php @@ -2,6 +2,6 @@ $app->get('/home', function() use($app) { - $app->render('home.twig'); + $app->render('pages/home.twig'); })->name('home'); diff --git a/app/routes/index.php b/app/routes/pages/index.php similarity index 100% rename from app/routes/index.php rename to app/routes/pages/index.php diff --git a/app/routes/music.php b/app/routes/pages/music.php similarity index 86% rename from app/routes/music.php rename to app/routes/pages/music.php index 1a70c91..5815b7d 100755 --- a/app/routes/music.php +++ b/app/routes/pages/music.php @@ -6,7 +6,7 @@ $app->get('/music1', function() use($app) { $albums = $app->album->all()->sortByDesc('release_date')->values()->all(); $songs = $albums[0]->songs; - $app->render('music1.twig', [ + $app->render('pages/music1.twig', [ 'albums' => $albums, 'songs' => $songs, ]); @@ -19,7 +19,7 @@ $app->get('/music2', function() use($app) { $albums = $app->album->all()->sortByDesc('release_date')->values()->all(); $songs = $albums[0]->songs; - $app->render('music2.twig', [ + $app->render('pages/music2.twig', [ 'albums' => $albums, 'songs' => $songs, ]); diff --git a/app/routes/shows.php b/app/routes/pages/shows.php similarity index 96% rename from app/routes/shows.php rename to app/routes/pages/shows.php index df150e7..32863e3 100755 --- a/app/routes/shows.php +++ b/app/routes/pages/shows.php @@ -10,7 +10,7 @@ $app->get('/shows', function() use($app) { $show->time = date('H:i', strtotime($show->datetime)); } - $app->render('shows.twig', [ + $app->render('pages/shows.twig', [ 'shows' => $shows, ]); diff --git a/app/views/about.twig b/app/views/pages/about.twig similarity index 100% rename from app/views/about.twig rename to app/views/pages/about.twig diff --git a/app/views/contact.twig b/app/views/pages/contact.twig similarity index 100% rename from app/views/contact.twig rename to app/views/pages/contact.twig diff --git a/app/views/home.twig b/app/views/pages/home.twig similarity index 100% rename from app/views/home.twig rename to app/views/pages/home.twig diff --git a/app/views/music1.twig b/app/views/pages/music1.twig similarity index 100% rename from app/views/music1.twig rename to app/views/pages/music1.twig diff --git a/app/views/music2.twig b/app/views/pages/music2.twig similarity index 100% rename from app/views/music2.twig rename to app/views/pages/music2.twig diff --git a/app/views/shows.twig b/app/views/pages/shows.twig similarity index 100% rename from app/views/shows.twig rename to app/views/pages/shows.twig