added download page (experimental)

This commit is contained in:
Thomas G 2022-07-09 22:59:50 +10:00
parent 215a9615eb
commit aee046cb26
3 changed files with 49 additions and 0 deletions

View File

@ -75,4 +75,9 @@ class PageController extends Controller
{ {
return view('misc.settings'); return view('misc.settings');
} }
public function download()
{
return view('pages.download');
}
} }

View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Download - {{ env('APP_NAME') }}</title>
<meta charset="utf-8">
<meta content="Download - {{ env('APP_NAME') }}" property="og:title" />
<meta content="ARCHBLOX is a work in progress revival." property="og:description" />
<meta content="https://archblox.com" property="og:url" />
<meta content="https://archblox.com/img/MORBLOXlogo.png" property="og:image" />
<meta content="#4b4b4b" data-react-helmet="true" name="theme-color" />
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="{{ asset('img/MORBLOX.png') }}" />
<link rel="apple-touch-startup-image" href="{{ asset('img/MORBLOXsplash.png') }}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<script src="{{ asset('js/main.js') }}"></script>
</head>
<body>
<br>
<div id="logo_signup">
<a href="{{ route('index') }}"><img alt="ARCHBLOX Logo" src="{{ asset('img/ARCHBLOXarched.png') }}"
width="200" height="40" /></a>
<p id="morbin">We're Still Morbin'</p>
</div>
<div class="content_signup">
<h1>Downloads</h1>
<p>Requires Windows.</p>
<p><a href="{{ asset('bootstrapper/ARCHBLOXBootstrapper-32bit.exe') }}">32 Bit</a><a href="{{ asset('bootstrapper/ARCHBLOXBootstrapper-64bit.exe') }}">64 Bit</a></p>
<p>If you get a popup saying "Windows protected your PC", press "More info" and then press "Run anyway".</p>
</div>
<div id="footer_signup">
<p>ARCHBLOX is not affiliated with Roblox Corp, Lego, Sony, SEGA, Microsoft, Nintendo and Morbius. It's Morbin
time!</p>
<p><a href="{{ route('privacy') }}">Privacy Policy</a> <a href="{{ route('tos') }}">Terms of Service</a></p>
</div>
</body>
</html>

View File

@ -31,6 +31,7 @@ Route::middleware(['auth'])->group(function () {
Route::get('/my/settings', [App\Http\Controllers\PageController::class, 'settings'])->name('settings'); Route::get('/my/settings', [App\Http\Controllers\PageController::class, 'settings'])->name('settings');
Route::get('/my/invites', [App\Http\Controllers\KeyController::class, 'index'])->name('key_index'); 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::post('/my/invites', [App\Http\Controllers\KeyController::class, 'create'])->name('key_create');
Route::post('/download', [App\Http\Controllers\PageController::class, 'download'])->name('download');
// Friendship system routes // Friendship system routes
Route::get('/my/friends', [App\Http\Controllers\FriendController::class, 'friends'])->name('friends'); Route::get('/my/friends', [App\Http\Controllers\FriendController::class, 'friends'])->name('friends');