Add catalog.blade.php
This commit is contained in:
parent
3e0e1c32e8
commit
0625458279
|
|
@ -110,4 +110,9 @@ class PageController extends Controller
|
|||
{
|
||||
return view('maintenance');
|
||||
}
|
||||
|
||||
public function catalog()
|
||||
{
|
||||
return view('pages.catalog');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
@extends('layouts.app')
|
||||
@section('title')
|
||||
<title>Catalog - {{ env('APP_NAME') }}</title>
|
||||
@endsection
|
||||
@section('titlediscord')
|
||||
<meta content="Catalog - {{ env('APP_NAME') }}" property="og:title" />
|
||||
@endsection
|
||||
@section('descdiscord')
|
||||
<meta content="ARCHBLOX is a work in progress revival." property="og:description" />
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<h1 id="usernameframe">Catalog</h1>
|
||||
@endsection
|
||||
|
|
@ -35,6 +35,8 @@ Route::get('/maintenance', [App\Http\Controllers\PageController::class, 'mainten
|
|||
Route::middleware(['auth'])->group(function () {
|
||||
Route::get('/home', [App\Http\Controllers\HomeController::class, 'home'])->name('home');
|
||||
|
||||
Route::get('/catalog', [App\Http\Controllers\PageController::class, 'catalog'])->name('catalog');
|
||||
|
||||
// Rate limit + auth
|
||||
Route::middleware(['throttle:feed_post'])->group(function () {
|
||||
Route::post('/home', [App\Http\Controllers\HomeController::class, 'feed_post'])->name('feed_post'); // Posting to the feed
|
||||
|
|
|
|||
Loading…
Reference in New Issue