ClaimApproved mailable sent when admin approves a claim — dark
themed HTML email with name, next steps, and CTA links. Wrapped
in try/catch so email failure doesn't block approval.
Dynamic SVG OpenGraph images at /names/{name}/og.svg — shows name,
type badge (Registered/Reserved/Gateway/Available), and branding.
og:image meta tag added to name detail pages via @push('head').
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
378 B
PHP
11 lines
378 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Mod\Names\Controllers\NamesWebController;
|
|
|
|
Route::get('/', [NamesWebController::class, 'index']);
|
|
Route::get('/register', [NamesWebController::class, 'register']);
|
|
Route::get('/{name}/og.svg', \Mod\Names\Controllers\OgImageController::class);
|
|
Route::get('/{name}', [NamesWebController::class, 'show']);
|