feat: portal IA per spec (home entry point, /news, /proposals+redirect, /support), live search + suggestions, article TOC, mobile disclosure menu, CMS preview styles, modernization pass 1
This commit is contained in:
@@ -10,8 +10,25 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>CTAO — Content Editor</title>
|
||||
<meta name="theme-color" content="#00004A" />
|
||||
<link rel="icon" href="/brand/CTAO_Logo_positive.svg" type="image/svg+xml" />
|
||||
<style>
|
||||
/* Wrapper-page styling only — never injected into the Sveltia app.
|
||||
Galaxy-Blue backdrop makes the load-in feel intentional. */
|
||||
body { margin: 0; background: #00004a; }
|
||||
noscript p {
|
||||
color: #fff; font-family: Inter, Arial, system-ui, sans-serif;
|
||||
text-align: center; margin: 40vh 24px 0; line-height: 1.6;
|
||||
}
|
||||
noscript a { color: #00e4d8; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<noscript><p>The CTAO content editor requires JavaScript.<br />Please enable it, or return to the <a href="/">Science Portal</a>.</p></noscript>
|
||||
<script is:inline src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script>
|
||||
<script is:inline>
|
||||
// Officially supported API: article previews rendered with portal-like styles.
|
||||
window.CMS?.registerPreviewStyle?.('/admin/preview.css');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user