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:
ctao
2026-07-24 23:00:07 +02:00
parent 11e7eb484f
commit cf35739a64
17 changed files with 627 additions and 231 deletions
+49
View File
@@ -0,0 +1,49 @@
---
import Base from '../layouts/Base.astro';
---
<Base title="CTAO Science Portal — Proposals" description="Observation proposal submission (mock)">
<section class="hero-band">
<div class="container hero">
<div class="eyebrow">Proposal Submission</div>
<h1>Observation proposals</h1>
<p>Submitting observation proposals, including ToO / MWL requests</p>
</div>
</section>
<section class="container page">
<span class="badge-mock">Mock — no submission logic</span>
<span class="badge-ext">Target: Proposal Handling System (APC team) integrated into the portal</span>
<div class="panel panel--narrow">
<div class="form-row">
<label for="f-title">Proposal title</label>
<input id="f-title" type="text" placeholder="e.g. AGN flare observations" />
</div>
<div class="form-row">
<label for="f-scope">Telescope</label>
<select id="f-scope">
<option>LST-1 (Large-Sized Telescope)</option>
<option>MST (Medium-Sized Telescope)</option>
<option>SST (Small-Sized Telescope)</option>
</select>
</div>
<div class="form-row">
<label for="f-energy">Energy range</label>
<select id="f-energy">
<option>20 GeV – 3 TeV</option>
<option>80 GeV – 50 TeV</option>
<option>1 TeV – 300 TeV</option>
</select>
</div>
<div class="form-row">
<label for="f-hours">Requested time (hours)</label>
<input id="f-hours" type="number" min="1" placeholder="e.g. 25" />
</div>
<div class="form-row">
<label for="f-just">Scientific justification</label>
<textarea id="f-just" rows="4" placeholder="Brief description of the observation goal..."></textarea>
</div>
<button class="btn" type="button">Submit proposal</button>
<p class="notice">Demonstration mock — the form does not store any data.</p>
</div>
</section>
</Base>