diff --git a/resources/views/components/web/hub/site-footer.blade.php b/resources/views/components/web/hub/site-footer.blade.php
index ba3f75f8..80266f86 100644
--- a/resources/views/components/web/hub/site-footer.blade.php
+++ b/resources/views/components/web/hub/site-footer.blade.php
@@ -54,6 +54,7 @@
- So funktioniert es
- Die Portale
+ - Changelog
- FAQ
- Hilfe-Center
- API-Referenz
diff --git a/resources/views/components/web/hub/site-header.blade.php b/resources/views/components/web/hub/site-header.blade.php
index d2f0b90e..2e411abe 100644
--- a/resources/views/components/web/hub/site-header.blade.php
+++ b/resources/views/components/web/hub/site-header.blade.php
@@ -20,6 +20,7 @@
['label' => 'Tarife', 'href' => route('home').'#tarife'],
['label' => 'So funktioniert es', 'href' => route('home').'#funktion'],
['label' => 'Plattform-Familie', 'href' => route('home').'#familie'],
+ ['label' => 'Changelog', 'href' => route('changelog')],
['label' => 'FAQ', 'href' => route('home').'#faq'],
];
@endphp
diff --git a/tests/Feature/ChangelogTest.php b/tests/Feature/ChangelogTest.php
index 9a1fd4c0..c413f8c3 100644
--- a/tests/Feature/ChangelogTest.php
+++ b/tests/Feature/ChangelogTest.php
@@ -140,6 +140,14 @@ test('the changelog belongs to the hub and the feed is rss', function () {
->assertSee('Rechnungen kommen per E-Mail.', false);
});
+test('the hub links the changelog in the header before the faq and in the footer under platform', function () {
+ /** @var TestCase $this */
+ $html = $this->get('https://pressekonto.test/')->assertOk()->getContent();
+
+ expect(substr_count($html, 'href="'.route('changelog').'"'))->toBeGreaterThanOrEqual(3)
+ ->and(strpos($html, '>Changelog<'))->toBeLessThan(strpos($html, '#faq'));
+});
+
test('the new hint shows only with a recent published entry', function () {
/** @var TestCase $this */
$timeline = app(ChangelogTimeline::class);