web(hub): Changelog im Header vor der FAQ und im Footer unter Plattform
Changelog: Verbessert Public: Der Changelog ist auf pressekonto.com über die Navigation und den Footer erreichbar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b38c69bd36
commit
e9cd572aa4
3 changed files with 10 additions and 0 deletions
|
|
@ -54,6 +54,7 @@
|
||||||
<ul class="space-y-2 text-[13px] text-white/75 list-none p-0 m-0">
|
<ul class="space-y-2 text-[13px] text-white/75 list-none p-0 m-0">
|
||||||
<li><a href="{{ route('home') }}#funktion" class="hover:text-white transition-colors">So funktioniert es</a></li>
|
<li><a href="{{ route('home') }}#funktion" class="hover:text-white transition-colors">So funktioniert es</a></li>
|
||||||
<li><a href="{{ route('home') }}#familie" class="hover:text-white transition-colors">Die Portale</a></li>
|
<li><a href="{{ route('home') }}#familie" class="hover:text-white transition-colors">Die Portale</a></li>
|
||||||
|
<li><a href="{{ route('changelog') }}" class="hover:text-white transition-colors">Changelog</a></li>
|
||||||
<li><a href="{{ route('faq', ['edition' => 'de']) }}" class="hover:text-white transition-colors">FAQ</a></li>
|
<li><a href="{{ route('faq', ['edition' => 'de']) }}" class="hover:text-white transition-colors">FAQ</a></li>
|
||||||
<li><a href="{{ route('hilfe', ['edition' => 'de']) }}" class="hover:text-white transition-colors">Hilfe-Center</a></li>
|
<li><a href="{{ route('hilfe', ['edition' => 'de']) }}" class="hover:text-white transition-colors">Hilfe-Center</a></li>
|
||||||
<li><a href="{{ route('api', ['edition' => 'de']) }}" class="hover:text-white transition-colors">API-Referenz</a></li>
|
<li><a href="{{ route('api', ['edition' => 'de']) }}" class="hover:text-white transition-colors">API-Referenz</a></li>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
['label' => 'Tarife', 'href' => route('home').'#tarife'],
|
['label' => 'Tarife', 'href' => route('home').'#tarife'],
|
||||||
['label' => 'So funktioniert es', 'href' => route('home').'#funktion'],
|
['label' => 'So funktioniert es', 'href' => route('home').'#funktion'],
|
||||||
['label' => 'Plattform-Familie', 'href' => route('home').'#familie'],
|
['label' => 'Plattform-Familie', 'href' => route('home').'#familie'],
|
||||||
|
['label' => 'Changelog', 'href' => route('changelog')],
|
||||||
['label' => 'FAQ', 'href' => route('home').'#faq'],
|
['label' => 'FAQ', 'href' => route('home').'#faq'],
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,14 @@ test('the changelog belongs to the hub and the feed is rss', function () {
|
||||||
->assertSee('Rechnungen kommen per E-Mail.', false);
|
->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 () {
|
test('the new hint shows only with a recent published entry', function () {
|
||||||
/** @var TestCase $this */
|
/** @var TestCase $this */
|
||||||
$timeline = app(ChangelogTimeline::class);
|
$timeline = app(ChangelogTimeline::class);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue