From 0ecbd48bab01ab83182f94ba2e5cf6941d836aca Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sat, 22 Oct 2022 09:39:21 +1100 Subject: [PATCH] GamePage UPdate Test --- app/Http/Controllers/PageController.php | 5 ++++ public/css/app.css | 12 ++++++++ resources/views/pages/gamepage.blade.php | 14 +++++---- resources/views/pages/games.blade.php | 4 +-- resources/views/pages/thomasgame.blade.php | 34 ++++++++++++++++++++++ routes/web.php | 1 + 6 files changed, 62 insertions(+), 8 deletions(-) create mode 100644 resources/views/pages/thomasgame.blade.php diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index 23b8459..71b6ef0 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -126,6 +126,11 @@ class PageController extends Controller return view('pages.gamepage'); } + public function thomasgame() + { + return view('pages.thomasgame'); + } + public function avatar() { return view('pages.avatar'); diff --git a/public/css/app.css b/public/css/app.css index 5a5da54..a09aa34 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -538,6 +538,7 @@ iframe { } .leftgamecontainer { + height: 270px; text-align: center; padding-left: 5px; padding-right: 5px; @@ -545,6 +546,17 @@ iframe { } .rightgamecontainer { + height: 270px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + display: flex; + flex-direction: column; + align-content: space-around; + justify-content: space-between; + align-items: flex-end; + flex-wrap: nowrap; text-align: right; padding-left: 5px; padding-right: 5px; diff --git a/resources/views/pages/gamepage.blade.php b/resources/views/pages/gamepage.blade.php index e9204e5..2907870 100644 --- a/resources/views/pages/gamepage.blade.php +++ b/resources/views/pages/gamepage.blade.php @@ -19,18 +19,20 @@
-

Natural Disaster Survival

-

By ARCHBLOX

-

+

+

Natural Disaster Survival

+

By ARCHBLOX

+
+
-

+

-

Test place.

+

Natural Disaster Survival is a game where you survive disasters.


-

Created: 28/8/2022 | Last updated: 28/8/2022

+

Created: 28/8/2022 | Last updated: 22/10/2022

@endsection \ No newline at end of file diff --git a/resources/views/pages/games.blade.php b/resources/views/pages/games.blade.php index e93297b..1267bc5 100644 --- a/resources/views/pages/games.blade.php +++ b/resources/views/pages/games.blade.php @@ -35,8 +35,8 @@

- PLACEHOLDER -

By ARCHBLOX

+ dummy place +

By Thomas

diff --git a/resources/views/pages/thomasgame.blade.php b/resources/views/pages/thomasgame.blade.php new file mode 100644 index 0000000..6dae074 --- /dev/null +++ b/resources/views/pages/thomasgame.blade.php @@ -0,0 +1,34 @@ +@extends('layouts.app') +@section('title') + Natural Disaster Survival - {{ env('APP_NAME') }} +@endsection +@section('titlediscord') + +@endsection +@section('descdiscord') + +@endsection + +@section('content') +
+
+ +
+
+
+

dummy place

+

By Thomas

+
+
+

This place requires the use of Radmin VPN.

+ +
+
+
+
+

Test joining place. Will not be open forever.

+
+
+

Created: 22/10/2022 | Last updated: 22/10/2022

+
+@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 6b1b81c..3553fbc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -45,6 +45,7 @@ Route::middleware(['auth'])->group(function () { // games & game page Route::get('/games', [App\Http\Controllers\PageController::class, 'games'])->name('games'); Route::get('/games/1', [App\Http\Controllers\PageController::class, 'gamepage'])->name('gamepage'); + Route::get('/games/2', [App\Http\Controllers\PageController::class, 'thomasgame'])->name('thomasgame'); // Rate limit + auth