Fix: about section (remove duplicate stat, fix text), placeholder public
This commit is contained in:
parent
1236a27c49
commit
bda0871969
@ -3,7 +3,7 @@
|
|||||||
* Public: landing page, auth routes, static assets, health, placeholder API.
|
* Public: landing page, auth routes, static assets, health, placeholder API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const PUBLIC_PATHS = ['/', '/health', '/favicon.ico', '/status'];
|
const PUBLIC_PATHS = ['/', '/health', '/favicon.ico', '/status', '/placeholder'];
|
||||||
const PUBLIC_API = ['/api/settings', '/api/tools', '/api/content/advantages', '/api/content/dashboard'];
|
const PUBLIC_API = ['/api/settings', '/api/tools', '/api/content/advantages', '/api/content/dashboard'];
|
||||||
const PUBLIC_PREFIXES = ['/auth/', '/vendor/', '/placeholder-img/', '/status/'];
|
const PUBLIC_PREFIXES = ['/auth/', '/vendor/', '/placeholder-img/', '/status/'];
|
||||||
const PUBLIC_FILES = ['/shared.css', '/shared.js', '/landing.html'];
|
const PUBLIC_FILES = ['/shared.css', '/shared.js', '/landing.html'];
|
||||||
|
|||||||
@ -245,7 +245,7 @@ fetch('/api/content/dashboard').then(r => r.ok ? r.json() : []).then(blocks => {
|
|||||||
const h = document.querySelector('.about-card h2');
|
const h = document.querySelector('.about-card h2');
|
||||||
const p = document.querySelector('.about-card p');
|
const p = document.querySelector('.about-card p');
|
||||||
if (h) h.textContent = about.title;
|
if (h) h.textContent = about.title;
|
||||||
if (p) p.innerHTML = '<strong style="color:var(--text-primary);">WA Dev Tools</strong> — ' + about.body;
|
if (p) p.textContent = about.body;
|
||||||
}
|
}
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user