* fix: prevent long strings from overflowing public layout * fix: fall back to default hero copy and tighten hero line-height * fix: skip blank testimonials and guard empty portfolio metadata * feat: add branded 419, 429 and 503 error pages * fix: reset submit state on bfcache restore, swap label while sending, trap mobile menu focus * chore: track hardening task status * fix: restore contact submit state after bfcache * fix: allow contact links to wrap long unbroken strings
29 lines
1.3 KiB
PHP
29 lines
1.3 KiB
PHP
@php
|
|
try {
|
|
$errorSettings = \App\Models\SiteSetting::instance();
|
|
$pageMeta = \App\Application\Data\PageMeta::forErrorPage($errorSettings, 429);
|
|
} catch (\Throwable $e) {
|
|
$pageMeta = new \App\Application\Data\PageMeta(
|
|
title: 'Muitas solicitações - Amare Assessoria',
|
|
description: 'Você enviou muitas solicitações em pouco tempo. Aguarde um instante e tente novamente.',
|
|
canonical: '',
|
|
robots: 'noindex, nofollow',
|
|
);
|
|
}
|
|
@endphp
|
|
|
|
@extends('layouts.public')
|
|
|
|
@section('content')
|
|
<div class="container-amare max-w-2xl space-y-6 py-20 text-center">
|
|
<p class="text-xs font-semibold uppercase tracking-[0.14em] text-amare-accent">Erro 429</p>
|
|
<h1 class="text-4xl font-medium tracking-tight text-amare-text">Muitas solicitações</h1>
|
|
<p class="text-amare-muted">Você enviou muitas solicitações em pouco tempo. Aguarde um instante e tente novamente.</p>
|
|
<p>
|
|
<a href="{{ route('home') }}" class="inline-flex min-h-11 items-center bg-amare-accent px-5 py-3 text-sm font-semibold uppercase tracking-[0.12em] text-amare-accent-text transition-colors hover:bg-amare-accent-deep">
|
|
Voltar para a home
|
|
</a>
|
|
</p>
|
|
</div>
|
|
@endsection
|