From 99f46def5c04d4c10cc03366d2df347d4cead99e Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:22:20 +1000 Subject: [PATCH] test --- app/Http/Controllers/PageController.php | 10 +++++++ public/css/app.css | 37 +++++++++++++++++++++++- resources/views/layouts/app.blade.php | 18 +++++++++++- resources/views/pages/gamepage.blade.php | 29 +++++++++++++++++++ resources/views/pages/games.blade.php | 24 +++++++++++++++ routes/web.php | 6 ++++ 6 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 resources/views/pages/gamepage.blade.php create mode 100644 resources/views/pages/games.blade.php diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index 2f47d65..e82c0e1 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -115,4 +115,14 @@ class PageController extends Controller { return view('pages.catalog'); } + + public function games() + { + return view('pages.games'); + } + + public function gamepage() + { + return view('pages.gamepage'); + } } diff --git a/public/css/app.css b/public/css/app.css index 2f804b9..c429212 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -158,7 +158,7 @@ font-size: 9px; } } -.popupcontainer, .popupcontainer_studio { +.popupcontainer, .popupcontainer_studio, .popupcontainer_client { top: 0%; position: fixed; background-color: rgba(0, 0, 0, 0.5); @@ -167,6 +167,29 @@ z-index: 100000000; } +.gamethumbnail_large { + background-color: black; + background-position-x: center; + background-position-y: center; + background-image: url("/img/gameplaceholder.png"); + background-size: contain; + border-width: 0px; + width: 100%; + background-repeat: no-repeat; + height: 100%; +} +.gamethumbnail_small { + background-color: black; + background-position-x: center; + background-position-y: center; + background-image: url("/img/gameplaceholder.png"); + background-size: contain; + border-width: 0px; + width: 100%; + background-repeat: no-repeat; + height: 130px; +} + .popup { color: #000000; text-align: center; @@ -463,6 +486,18 @@ iframe { width: 50%; } +.leftgamecontainer { + text-align: center; + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.rightgamecontainer { + text-align: right; + padding-left: 5px; + padding-right: 5px; +} + .FeedContainerBox, .ProfileContainerBox { border-radius: 1px; diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index af0e3ac..b511a04 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -110,7 +110,7 @@ src="{{ asset('img/MORBLOXlogoshort.png') }}"/>
+ + +By ARCHBLOX
+ +Test place.
+Created: 28/8/2022 | Last updated: 28/8/2022
+Note that this page does not support joining yet. If you would like to join your own game that you are currently hosting, click here.
+