feat(public): add About Us page

Adds a public "درباره ما" page at /درباره-ما reusing the landing theme
(same webpack entry, header, footer, registration modal). Section ids
match the header anchors so the nav works on this page too.

The explicit route takes precedence over LandingController's catch-all
/{slug}, which is registered with priority -10.

Also links it from the header nav and footer quick links, and lists it
in sitemap.xml.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-08-19 14:54:06 +03:30
co-authored by Claude Opus 5
parent 40b1da64be
commit 1ca20b6f53
7 changed files with 300 additions and 4 deletions
+3 -3
View File
@@ -84,9 +84,9 @@ class LandingPageTest extends WebTestCase
$xml = $this->html('/sitemap.xml');
$doc = new \SimpleXMLElement($xml);
// خانه + هر صفحهٔ فرود. عدد از خودِ رجیستری می‌آید تا افزودن خوشهٔ کلیدواژهٔ
// تازه این تست را نشکند، ولی جاافتادن یک صفحه از sitemap هنوز قرمز شود.
self::assertCount(1 + count($this->registry->all()), $doc->url);
// خانه + دربارهٔ ما + هر صفحهٔ فرود. عدد از خودِ رجیستری می‌آید تا افزودن خوشهٔ
// کلیدواژهٔ تازه این تست را نشکند، ولی جاافتادن یک صفحه از sitemap هنوز قرمز شود.
self::assertCount(2 + count($this->registry->all()), $doc->url);
foreach (array_keys($this->registry->all()) as $slug) {
self::assertStringContainsString(rawurlencode($slug), $xml, "«{$slug}» در sitemap نیست");