Adds the Posts index page (list/create/edit/delete) following the existing Sites/SocialAccounts pattern, and extends the shared nav layout with a Posts link. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
474 B
PHP
15 lines
474 B
PHP
<?php
|
|
|
|
use App\Livewire\Posts\Index as PostsIndex;
|
|
use App\Livewire\Sites\Index as SitesIndex;
|
|
use App\Livewire\SocialAccounts\Index as SocialAccountsIndex;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::get('/', function () {
|
|
return view('welcome');
|
|
});
|
|
|
|
Route::get('/sites', SitesIndex::class)->name('sites.index');
|
|
Route::get('/social-accounts', SocialAccountsIndex::class)->name('social-accounts.index');
|
|
Route::get('/posts', PostsIndex::class)->name('posts.index');
|