GamePage UPdate Test

This commit is contained in:
Thomas G 2022-10-22 09:39:21 +11:00
parent 3bbcc54e56
commit 0ecbd48bab
6 changed files with 62 additions and 8 deletions

View File

@ -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');

View File

@ -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;

View File

@ -19,18 +19,20 @@
<img class="gamethumbnail_large">
</div>
<div class="rightgamecontainer">
<h1>Natural Disaster Survival</h1>
<p>By <a href="{{ route('profile', 1) }}">ARCHBLOX</a></p>
<p style="text-align: center;">
<div>
<h1>Natural Disaster Survival</h1>
<p>By <a href="{{ route('profile', 1) }}">ARCHBLOX</a></p>
</div>
<div>
<button onclick="openClientPopup('localhost','53640','temp.rbxl','hostandjoin')" class="greenbutton" style="width: 70%; height: 50px; font-size: x-large; margin-top: 115px; align-content: center;">Host &amp; Play</button>
<button onclick="openClientPopup(null,'53640','temp.rbxl','host')" class="greenbutton" style="width: 27%;height: 50px;margin-top: 0px;font-size: x-large;align-content: center;">Host</button>
</p>
</div>
</div>
</div>
<br>
<p>Test place.</p>
<p>Natural Disaster Survival is a game where you survive disasters.</p>
<br>
<div style="text-align: center;">
<p><!--Visits: 0 | -->Created: 28/8/2022 | Last updated: 28/8/2022</p>
<p><!--Visits: 0 | -->Created: 28/8/2022 | Last updated: 22/10/2022</p>
</div>
@endsection

View File

@ -35,8 +35,8 @@
<div class="gameitem">
<a href="#"><img style="background-image: url(/img/reviewpending.png);" class="gamethumbnail_small"></a>
<br>
<a href="#">PLACEHOLDER</a>
<p>By <a href="{{ route('profile', 1) }}">ARCHBLOX</a></p>
<a href="#">dummy place</a>
<p>By <a href="{{ route('profile', 2) }}">Thomas</a></p>
</div>
<div class="gameitem">
<a href="#"><img style="background-image: url(/img/reviewpending.png);" class="gamethumbnail_small"></a>

View File

@ -0,0 +1,34 @@
@extends('layouts.app')
@section('title')
<title>Natural Disaster Survival - {{ env('APP_NAME') }}</title>
@endsection
@section('titlediscord')
<meta content="Natural Disaster Survival - {{ env('APP_NAME') }}" property="og:title" />
@endsection
@section('descdiscord')
<meta content="ARCHBLOX is a work in progress 2012 ROBLOX revival with a heavy emphasis on Skeuomorphic UI." property="og:description" />
@endsection
@section('content')
<div class="content_special" id="gametopcontainer">
<div class="leftgamecontainer">
<img style="background-image: url(/img/reviewpending.png);" class="gamethumbnail_large">
</div>
<div class="rightgamecontainer">
<div>
<h1>dummy place</h1>
<p>By <a href="{{ route('profile', 2) }}">Thomas</a></p>
</div>
<div>
<p>This place requires the use of Radmin VPN.</p>
<button onclick="openClientPopup('26.220.138.92','53640', null, 'join')" class="greenbutton" style="width: 100%;height: 50px;font-size: x-large;align-content: center;">Join</button>
</div>
</div>
</div>
<br>
<p>Test joining place. Will not be open forever.</p>
<br>
<div style="text-align: center;">
<p><!--Visits: 0 | -->Created: 22/10/2022 | Last updated: 22/10/2022</p>
</div>
@endsection

View File

@ -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