From 6b6ab7c30c37b9a2d7a8bef6854695325f09941f Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Tue, 5 Jul 2022 17:17:50 +1000 Subject: [PATCH] added ide/landing --- app/Http/Controllers/PageController.php | 5 ++++ public/css/app.css | 4 +-- resources/views/layouts/ide.blade.php | 35 ++++++++++++++++++++++ resources/views/pages/idelanding.blade.php | 16 ++++++++++ routes/web.php | 1 + 5 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 resources/views/layouts/ide.blade.php create mode 100644 resources/views/pages/idelanding.blade.php diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index 522c03a..dfe8fd1 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -61,4 +61,9 @@ class PageController extends Controller { return view('pages.friends'); } + + public function idelanding() + { + return view('pages.idelanding'); + } } diff --git a/public/css/app.css b/public/css/app.css index 3be18de..5906a23 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -491,7 +491,7 @@ width: 20%; height: 100%; margin-left: 0px; - background-color: rgba(255, 255, 255, 0.5); + background-color: rgba(132, 132, 132, 0.5); padding-bottom: 5px; padding-top: 5px; } @@ -502,7 +502,7 @@ width: 80%; height: 100%; left: 20%; - background-color: rgba(132, 132, 132, 0.5); + background-color: #ffffff; padding-bottom: 5px; padding-top: 5px; } diff --git a/resources/views/layouts/ide.blade.php b/resources/views/layouts/ide.blade.php new file mode 100644 index 0000000..09c29ed --- /dev/null +++ b/resources/views/layouts/ide.blade.php @@ -0,0 +1,35 @@ + + + +
+ @yield('title') + + @yield('titlediscord') + @yield('descdiscord') + + + + + + + + + + + + + + + + @yield('popup_content') + + + + + diff --git a/resources/views/pages/idelanding.blade.php b/resources/views/pages/idelanding.blade.php new file mode 100644 index 0000000..8f8a276 --- /dev/null +++ b/resources/views/pages/idelanding.blade.php @@ -0,0 +1,16 @@ +@extends('layouts.ide') +@section('title') +You haven't made any games yet!
+@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 04058bf..df79a63 100644 --- a/routes/web.php +++ b/routes/web.php @@ -31,6 +31,7 @@ Route::middleware(['auth'])->group(function () { Route::get('/my/invites', [App\Http\Controllers\KeyController::class, 'index'])->name('key_index'); Route::post('/my/invites', [App\Http\Controllers\KeyController::class, 'create'])->name('key_create'); Route::get('/my/friends', [App\Http\Controllers\PageController::class, 'friends'])->name('friends'); + Route::get('/IDE/Landing', [App\Http\Controllers\PageController::class, 'idelanding'])->name('idelanding'); }); // Admin only