Files

51 lines
4.6 KiB
HTML

<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Radio panels | prototype bench</title>
<style>
:root{--bg:#121113;--card:#1d1b1f;--line:#38333b;--ink:#f1ece8;--dim:#a99fa6;--acc:#ff7a45;--acc2:#ff5c9a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 "DejaVu Sans",system-ui,sans-serif}
main{max-width:1180px;margin:0 auto;padding:40px 24px 64px}
h1{font-size:28px;margin:0 0 6px;letter-spacing:-.02em}h1 span{color:var(--acc)}
p.lead{color:var(--dim);margin:0 0 28px;max-width:70ch}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
a.card{display:block;text-decoration:none;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:border-color .15s,transform .15s}
a.card:hover,a.card:focus-visible{border-color:var(--acc);transform:translateY(-2px);outline:none}
.thumb{aspect-ratio:16/9;background:#000 center/cover no-repeat;border-bottom:1px solid var(--line)}
.meta{padding:12px 14px 14px}.brand{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--acc2)}
.model{font-size:19px;font-weight:700;margin:2px 0 4px}.desc{color:var(--dim);font-size:13.5px}
.tag{display:inline-block;margin-top:8px;font-size:11.5px;border:1px solid var(--line);border-radius:99px;padding:2px 9px;color:var(--dim)}
h2{font-size:15px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin:30px 0 12px;font-weight:600}
.hh .thumb{aspect-ratio:16/9}
footer{margin-top:32px;color:var(--dim);font-size:13px}
</style></head><body><main>
<h1>Radio <span>panels</span></h1>
<p class="lead">Interactive front-panel recreations of current flagship base radios. Everything runs locally against a simulated band (CW, SSB, FT8 cycles, broadcast AM, DMR and P25 traffic). Click once anywhere in a panel to enable audio, then turn the AF knob up.</p>
<h2>Base and mobile</h2>
<div class="grid" id="g"></div>
<h2>Handhelds</h2>
<div class="grid" id="h"></div>
<footer>Prototype. Simulated signals only, no CAT or SDR hookup yet. Each panel has a ? help overlay in its bottom-left corner.</footer>
</main>
<script>
const R=[
['kenwood-ts890s.html','Kenwood','TS-890S','HF/50/70 MHz, 7 inch TFT, high speed band scope, roofing filters, multi-page menu.','HF base'],
['yaesu-ftdx101mp.html','Yaesu','FTDX101MP','Dual receiver MAIN/SUB, 3DSS display, VC-Tune, IPO/AMP, roofing filters.','HF base'],
['icom-ic7760.html','Icom','IC-7760','Separate controller head, real-time scope, Twin PBT, Icom menu grid and SET list.','HF base'],
['xiegu-x6200.html','Xiegu','X6200','Compact SDR with spectrum, waterfall and built-in FT8 decode page.','HF portable/base'],
['motorola-apx8500.html','Motorola Solutions','APX 8500','O2 control head, P25 trunking, zones, scan, emergency, desk mic PTT.','LMR P25'],
['hytera-hm785.html','Hytera','HM785','DMR Tier II/III, talkgroups, contacts, messages, desk mic PTT.','LMR DMR'],
];
const HH=[
['kenwood-thd75.html','Kenwood','TH-D75A','Tri-band APRS and D-STAR, GPS, wideband RX including HF SSB.','HT ham'],
['yaesu-ft5dr.html','Yaesu','FT5DR','C4FM/FM dual band, WIRES-X, GM, band scope, AMS.','HT ham'],
['icom-id52a.html','Icom','ID-52A PLUS','D-STAR/FM, real-time band scope, RX history, dual watch.','HT ham'],
['motorola-apxnext.html','Motorola Solutions','APX NEXT','Touchscreen P25 smart radio, ViQi, SmartMapping, emergency.','HT P25'],
['hytera-hp785.html','Hytera','HP785','DMR Tier II/III handheld, keypad dialing, man down, messages.','HT DMR'],
['baofeng-uv5r.html','Baofeng','UV-5R','The classic. Menu 0 to 40, FM broadcast, flashlight, dual watch.','HT ham'],
['radioddity-gd168.html','Radioddity','GD-168','Dual band DMR/analog, talker alias, APRS, satellite mode, recording.','HT DMR'],
['baofeng-uv17rplus.html','Baofeng','UV-17R Plus','Colour screen, NOAA weather alerts, wireless copy, airband.','HT ham'],
];
const card=([f,b,m,d,t])=>'<a class="card" href="'+f+'"><div class="thumb" style="background-image:url(thumbs/'+f.replace('.html','.png')+')"></div><div class="meta"><div class="brand">'+b+'</div><div class="model">'+m+'</div><div class="desc">'+d+'</div><span class="tag">'+t+'</span></div></a>';
document.getElementById('h').innerHTML=HH.map(card).join('');
document.getElementById('g').innerHTML=R.map(([f,b,m,d,t])=>'<a class="card" href="'+f+'"><div class="thumb" style="background-image:url(thumbs/'+f.replace('.html','.png')+')"></div><div class="meta"><div class="brand">'+b+'</div><div class="model">'+m+'</div><div class="desc">'+d+'</div><span class="tag">'+t+'</span></div></a>').join('');
</script></body></html>