Tool-Aktionen

This commit is contained in:
overcuriousity 2025-08-11 23:09:16 +02:00
parent 653e8d03de
commit a3736c9dbd

View File

@ -101,8 +101,8 @@ const currentUrl = Astro.url.href;
'<div class="gated-icon">🔒</div>', '<div class="gated-icon">🔒</div>',
'<h3 class="gated-title">Authentifizierung erforderlich</h3>', '<h3 class="gated-title">Authentifizierung erforderlich</h3>',
'<p class="gated-description">Dieser Artikel enthält geschützte Inhalte und ist nur für authentifizierte Benutzer zugänglich.</p>', '<p class="gated-description">Dieser Artikel enthält geschützte Inhalte und ist nur für authentifizierte Benutzer zugänglich.</p>',
'<div class="gated-actions">', '<div style="display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem;">',
'<a href="' + loginUrl + '" class="btn btn-primary">', '<a href="' + loginUrl + '" class="btn btn-primary" style="min-width: 140px; text-align: center;">',
'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">', '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right: 0.5rem;">',
'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/>', '<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/>',
'<polyline points="10 17 15 12 10 7"/>', '<polyline points="10 17 15 12 10 7"/>',
@ -110,7 +110,7 @@ const currentUrl = Astro.url.href;
'</svg>', '</svg>',
'Anmelden', 'Anmelden',
'</a>', '</a>',
'<a href="/knowledgebase" class="btn btn-secondary">Zurück zur Übersicht</a>', '<a href="/knowledgebase" class="btn btn-secondary" style="min-width: 140px; text-align: center;">Zurück zur Übersicht</a>',
'</div>', '</div>',
'<div class="gated-help">', '<div class="gated-help">',
'<small>Nach der Anmeldung werden Sie automatisch zu diesem Artikel zurückgeleitet.</small>', '<small>Nach der Anmeldung werden Sie automatisch zu diesem Artikel zurückgeleitet.</small>',
@ -287,7 +287,7 @@ const currentUrl = Astro.url.href;
<!-- Article Footer --> <!-- Article Footer -->
<footer class="article-footer"> <footer class="article-footer">
<div class="article-footer-actions"> <div class="article-footer-actions">
<h3>Tool-Aktionen</h3> <h3>Links</h3>
<div class="footer-actions-grid"> <div class="footer-actions-grid">
{isStandalone ? ( {isStandalone ? (
<a href="/knowledgebase" class="btn btn-primary"> <a href="/knowledgebase" class="btn btn-primary">
@ -679,7 +679,10 @@ const currentUrl = Astro.url.href;
gap: 1rem; gap: 1rem;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
margin-bottom: 1.5rem; }
.gated-actions .btn {
margin: 0 0.5rem;
} }
.gated-help { .gated-help {