1use crate::ui::components::footer::Footer;
22use crate::ui::components::icon::{Icon, IconSize, IconVariant};
23use crate::ui::components::main_nav::{ActivePage, MainNav};
24use crate::ui::pages::news::get_articles;
25use crate::ui::pages::roadmap_data::{get_milestones, Milestone, Status};
26use crate::ui::pages::roadmap_history::{get_history, news_slug_for, Release};
27use crate::ui::router::Route;
28use crate::ui::seo::{
29 breadcrumb_schema, organization_schema, pages as seo_pages, roadmap_schema, BreadcrumbItem,
30 JsonLdMultiple, PageHead,
31};
32use dioxus::prelude::*;
33#[cfg(all(feature = "split", target_arch = "wasm32"))]
34use dioxus::wasm_split;
35
36const ROADMAP_STYLE: &str = r#"
37.roadmap-container {
38 min-height: 100vh;
39 background: linear-gradient(135deg, #070a12 0%, #0b1022 50%, #070a12 100%);
40 color: #e5e7eb;
41 font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
42}
43
44.roadmap-nav {
45 position: sticky;
46 top: 0;
47 z-index: 50;
48 backdrop-filter: blur(18px);
49 background: linear-gradient(180deg, rgba(7,10,18,0.72), rgba(7,10,18,0.44));
50 border-bottom: 1px solid rgba(255,255,255,0.06);
51 padding: 16px 20px;
52}
53
54.roadmap-nav-inner {
55 max-width: 1000px;
56 margin: 0 auto;
57 display: flex;
58 align-items: center;
59 justify-content: space-between;
60}
61
62.roadmap-brand {
63 display: flex;
64 align-items: center;
65 gap: 12px;
66 text-decoration: none;
67 color: #e5e7eb;
68}
69
70.roadmap-logo {
71 width: 36px;
72 height: 36px;
73 border-radius: 12px;
74 background:
75 radial-gradient(circle at 30% 30%, rgba(96,165,250,0.85), transparent 55%),
76 radial-gradient(circle at 65% 60%, rgba(167,139,250,0.85), transparent 55%),
77 rgba(255,255,255,0.06);
78 border: 1px solid rgba(255,255,255,0.10);
79}
80
81.roadmap-brand-name {
82 font-weight: 800;
83 font-size: 14px;
84 letter-spacing: -0.5px;
85}
86
87.roadmap-back {
88 color: #a78bfa;
89 text-decoration: none;
90 font-size: 14px;
91 padding: 8px 16px;
92 border-radius: 8px;
93 border: 1px solid rgba(167,139,250,0.3);
94 transition: all 0.2s ease;
95}
96
97.roadmap-back:hover {
98 background: rgba(167,139,250,0.1);
99 border-color: rgba(167,139,250,0.5);
100}
101
102.roadmap-hero {
103 text-align: center;
104 padding: 60px 20px 40px;
105 max-width: 800px;
106 margin: 0 auto;
107}
108
109.roadmap-hero h1 {
110 font-size: 42px;
111 font-weight: 800;
112 letter-spacing: -1px;
113 background: linear-gradient(180deg, #ffffff 0%, rgba(229,231,235,0.78) 100%);
114 -webkit-background-clip: text;
115 -webkit-text-fill-color: transparent;
116 margin-bottom: 12px;
117}
118
119.roadmap-hero .version {
120 display: inline-block;
121 font-size: 14px;
122 padding: 6px 14px;
123 border-radius: 20px;
124 background: rgba(167,139,250,0.15);
125 border: 1px solid rgba(167,139,250,0.3);
126 color: #a78bfa;
127 margin-bottom: 16px;
128}
129
130.roadmap-hero p {
131 color: rgba(229,231,235,0.72);
132 font-size: 18px;
133 line-height: 1.6;
134}
135
136/* The timeline's geometry, set once. Each card draws its own dot and the stretch of line from
137 that dot down to the next card's, both placed from these values inside the card, so the dots
138 sit on the line and the line runs from the first dot to the last at every width. */
139.timeline {
140 --rail-x: 28px;
141 --rail-w: 3px;
142 --dot: 28px;
143 --card-x: 70px;
144 --card-border: 1px;
145 --card-pad: 24px;
146 --title-line: 28px;
147 --gap: 40px;
148 --dot-center: calc(var(--card-border) + var(--card-pad) + var(--title-line) / 2);
149 --rail-done: #22c55e;
150 --rail-progress: #a78bfa;
151 --rail-planned: rgba(148, 163, 184, 0.45);
152 max-width: 700px;
153 margin: 0 auto;
154 padding: 0 20px 80px;
155}
156
157.milestone {
158 position: relative;
159 padding-left: var(--card-x);
160 margin-bottom: var(--gap);
161}
162
163.milestone:last-child {
164 margin-bottom: 0;
165}
166
167/* The line from this card's dot to the next card's, in this card's status colour fading into
168 the next one's. */
169.milestone::before {
170 content: "";
171 position: absolute;
172 left: calc(var(--rail-x) - var(--rail-w) / 2);
173 top: var(--dot-center);
174 width: var(--rail-w);
175 height: calc(100% + var(--gap));
176 border-radius: 2px;
177 background: linear-gradient(var(--rail-from), var(--rail-to));
178}
179
180.milestone:last-child::before {
181 display: none;
182}
183
184.milestone.from-done { --rail-from: var(--rail-done); }
185.milestone.from-progress { --rail-from: var(--rail-progress); }
186.milestone.from-planned { --rail-from: var(--rail-planned); }
187.milestone.to-done { --rail-to: var(--rail-done); }
188.milestone.to-progress { --rail-to: var(--rail-progress); }
189.milestone.to-planned { --rail-to: var(--rail-planned); }
190
191.milestone-dot {
192 position: absolute;
193 z-index: 1;
194 left: calc(var(--rail-x) - var(--dot) / 2);
195 top: calc(var(--dot-center) - var(--dot) / 2);
196 width: var(--dot);
197 height: var(--dot);
198 box-sizing: border-box;
199 border-radius: 50%;
200 display: flex;
201 align-items: center;
202 justify-content: center;
203}
204
205.milestone-dot.done {
206 background: linear-gradient(135deg, #22c55e, #16a34a);
207 box-shadow: 0 0 20px rgba(34,197,94,0.4);
208}
209
210.milestone-dot.progress {
211 background: linear-gradient(135deg, #a78bfa, #8b5cf6);
212 box-shadow: 0 0 20px rgba(167,139,250,0.4);
213 animation: pulse 2s ease-in-out infinite;
214}
215
216/* Planned work is a sketch: an opaque disc, so the line stops at its rim, drawn in dashes. */
217.milestone-dot.planned {
218 background: #151b2e;
219 border: 2px dashed rgba(148, 163, 184, 0.6);
220}
221
222@keyframes pulse {
223 0%, 100% { transform: scale(1); }
224 50% { transform: scale(1.1); }
225}
226
227.milestone-content {
228 background: rgba(255,255,255,0.03);
229 border: var(--card-border) solid rgba(255,255,255,0.08);
230 border-radius: 16px;
231 padding: var(--card-pad);
232 transition: all 0.2s ease;
233}
234
235.milestone-content:hover {
236 background: rgba(255,255,255,0.05);
237 border-color: rgba(255,255,255,0.12);
238}
239
240.milestone-header {
241 display: flex;
242 flex-wrap: wrap;
243 align-items: center;
244 gap: 6px 12px;
245 min-height: var(--title-line);
246 margin-bottom: 12px;
247}
248
249/* A fixed first line box: the dot centres on it, whether or not the header wraps. */
250.milestone-title {
251 font-size: 20px;
252 font-weight: 700;
253 line-height: var(--title-line);
254 color: #fff;
255}
256
257.milestone-badge {
258 font-size: 11px;
259 font-weight: 600;
260 padding: 4px 10px;
261 border-radius: 12px;
262 text-transform: uppercase;
263 letter-spacing: 0.5px;
264}
265
266.milestone-badge.done {
267 background: rgba(34,197,94,0.15);
268 color: #22c55e;
269 border: 1px solid rgba(34,197,94,0.3);
270}
271
272.milestone-badge.progress {
273 background: rgba(167,139,250,0.15);
274 color: #a78bfa;
275 border: 1px solid rgba(167,139,250,0.3);
276}
277
278.milestone-badge.planned {
279 background: rgba(255,255,255,0.05);
280 color: rgba(255,255,255,0.5);
281 border: 1px solid rgba(255,255,255,0.1);
282}
283
284.milestone-desc {
285 color: rgba(229,231,235,0.72);
286 font-size: 14px;
287 line-height: 1.6;
288 margin-bottom: 16px;
289}
290
291.milestone-features {
292 display: flex;
293 flex-wrap: wrap;
294 gap: 8px;
295}
296
297.feature-tag {
298 font-size: 12px;
299 padding: 6px 12px;
300 border-radius: 8px;
301 background: rgba(255,255,255,0.04);
302 border: 1px solid rgba(255,255,255,0.08);
303 color: rgba(229,231,235,0.8);
304}
305
306.feature-tag.done {
307 background: rgba(34,197,94,0.08);
308 border-color: rgba(34,197,94,0.2);
309 color: #86efac;
310}
311
312.roadmap-footer {
313 border-top: 1px solid rgba(255,255,255,0.06);
314 padding: 24px 20px;
315 text-align: center;
316 color: rgba(229,231,235,0.56);
317 font-size: 13px;
318}
319
320.roadmap-footer a {
321 color: rgba(229,231,235,0.72);
322 text-decoration: none;
323 margin: 0 8px;
324}
325
326.roadmap-footer a:hover {
327 color: #a78bfa;
328}
329
330.roadmap-nav-links {
331 display: flex;
332 align-items: center;
333 gap: 12px;
334}
335
336.roadmap-github {
337 display: flex;
338 align-items: center;
339 justify-content: center;
340 width: 36px;
341 height: 36px;
342 border-radius: 8px;
343 border: 1px solid rgba(255,255,255,0.1);
344 background: rgba(255,255,255,0.03);
345 color: rgba(229,231,235,0.72);
346 transition: all 0.2s ease;
347}
348
349.roadmap-github:hover {
350 background: rgba(255,255,255,0.08);
351 color: #e5e7eb;
352 border-color: rgba(255,255,255,0.2);
353}
354
355.roadmap-github svg {
356 width: 18px;
357 height: 18px;
358 fill: currentColor;
359}
360
361.github-link {
362 display: inline-flex;
363 align-items: center;
364 gap: 6px;
365}
366
367@media (max-width: 600px) {
368 .timeline {
369 --rail-x: 14px;
370 --dot: 24px;
371 --card-x: 40px;
372 --card-pad: 18px;
373 --title-line: 26px;
374 }
375 .milestone-title {
376 font-size: 18px;
377 }
378}
379
380.milestone-examples {
381 margin-top: 16px;
382 border-top: 1px solid rgba(255,255,255,0.06);
383 padding-top: 16px;
384}
385
386.milestone-tabs {
387 display: flex;
388 gap: 6px;
389 margin-bottom: 12px;
390 flex-wrap: wrap;
391}
392
393.milestone-tab {
394 padding: 6px 12px;
395 border-radius: 6px;
396 border: 1px solid rgba(255,255,255,0.1);
397 background: rgba(255,255,255,0.03);
398 color: #94a3b8;
399 cursor: pointer;
400 font-size: 12px;
401 font-weight: 500;
402 transition: all 0.2s ease;
403}
404
405.milestone-tab:hover {
406 background: rgba(255,255,255,0.08);
407 color: #e8e8e8;
408}
409
410.milestone-tab.active {
411 background: linear-gradient(135deg, #667eea, #764ba2);
412 color: white;
413 border-color: transparent;
414}
415
416.milestone-code {
417 background: rgba(0,0,0,0.25);
418 border-radius: 8px;
419 padding: 16px;
420 font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
421 font-size: 13px;
422}
423
424.milestone-english {
425 color: #e8e8e8;
426 font-style: italic;
427 margin-bottom: 8px;
428 white-space: pre-wrap;
429 line-height: 1.5;
430}
431
432.milestone-english.source {
433 font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
434 font-style: normal;
435 font-size: 12px;
436 color: #cbd5e1;
437}
438
439.milestone-arrow {
440 color: #667eea;
441 margin: 8px 0;
442 font-size: 16px;
443}
444
445.milestone-output {
446 color: #98c379;
447 white-space: pre-wrap;
448 line-height: 1.4;
449}
450
451.format-toggle {
452 display: flex;
453 gap: 4px;
454 margin-bottom: 8px;
455}
456
457.format-btn {
458 padding: 3px 8px;
459 border-radius: 4px;
460 border: 1px solid rgba(255,255,255,0.1);
461 background: rgba(255,255,255,0.03);
462 color: #64748b;
463 cursor: pointer;
464 font-size: 10px;
465 font-weight: 500;
466 text-transform: uppercase;
467 letter-spacing: 0.5px;
468 transition: all 0.15s ease;
469}
470
471.format-btn:hover {
472 background: rgba(255,255,255,0.06);
473 color: #94a3b8;
474}
475
476.format-btn.active {
477 background: rgba(102,126,234,0.2);
478 border-color: rgba(102,126,234,0.4);
479 color: #a5b4fc;
480}
481"#;
482
483#[component]
484fn MilestoneExamples(examples: &'static [crate::ui::pages::roadmap_data::Example]) -> Element {
485 use crate::ui::pages::roadmap_data::Output;
486 let mut active = use_signal(|| 0usize);
487 let mut use_unicode = use_signal(|| false);
488
489 let ex = examples[active()];
490
491 rsx! {
492 div { class: "milestone-examples",
493 div { class: "milestone-tabs",
494 for (i, e) in examples.iter().enumerate() {
495 button {
496 key: "{i}",
497 class: if active() == i { "milestone-tab active" } else { "milestone-tab" },
498 onclick: move |_| active.set(i),
499 "{e.label}"
500 }
501 }
502 }
503 div { class: "milestone-code",
504 {match ex.output {
505 Output::Fol { .. } => rsx! {
506 div { class: "milestone-english", "\"{ex.english}\"" }
507 },
508 _ => rsx! {
509 div { class: "milestone-english source", "{ex.english}" }
510 },
511 }}
512 div { class: "milestone-arrow", "↓" }
513 {match ex.output {
514 Output::Fol { simple, unicode } => rsx! {
515 div { class: "format-toggle",
516 button {
517 class: if !use_unicode() { "format-btn active" } else { "format-btn" },
518 onclick: move |_| use_unicode.set(false),
519 "Simple"
520 }
521 button {
522 class: if use_unicode() { "format-btn active" } else { "format-btn" },
523 onclick: move |_| use_unicode.set(true),
524 "Unicode"
525 }
526 }
527 div { class: "milestone-output",
528 if use_unicode() { "{unicode}" } else { "{simple}" }
529 }
530 },
531 Output::Rust(code) => rsx! {
532 div { class: "format-toggle",
533 span { class: "format-btn active", "Rust" }
534 }
535 div { class: "milestone-output", "{code}" }
536 },
537 Output::Sva(code) => rsx! {
538 div { class: "format-toggle",
539 span { class: "format-btn active", "SVA" }
540 }
541 div { class: "milestone-output", "{code}" }
542 },
543 }}
544 }
545 }
546 }
547}
548
549pub fn next_release_summary(changed: usize, fixed: usize, since: &str) -> Option<String> {
552 let counts: Vec<String> = [(changed, "change", "changes"), (fixed, "fix", "fixes")]
553 .into_iter()
554 .filter(|&(n, _, _)| n > 0)
555 .map(|(n, one, many)| format!("{n} {}", if n == 1 { one } else { many }))
556 .collect();
557 if counts.is_empty() {
558 return None;
559 }
560 Some(format!("Plus {} since v{since}.", counts.join(" and ")))
561}
562
563fn milestone_dot_icon(status: Status) -> IconVariant {
565 match status {
566 Status::Complete => IconVariant::Check,
567 Status::InProgress => IconVariant::Hammer,
568 Status::Planned => IconVariant::DraftingCompass,
569 }
570}
571
572fn milestone_dot_color(status: Status) -> &'static str {
574 match status {
575 Status::Planned => "#cbd5e1",
576 _ => "#fff",
577 }
578}
579
580#[component]
583fn MilestoneItem(milestone: &'static Milestone, next: Option<Status>) -> Element {
584 let status = milestone.status;
585 let card_class = match next {
586 Some(next) => format!(
587 "milestone from-{} to-{}",
588 status.css_class(),
589 next.css_class()
590 ),
591 None => format!("milestone from-{}", status.css_class()),
592 };
593 let dot_class = format!("milestone-dot {}", status.css_class());
594 let badge_class = format!("milestone-badge {}", status.css_class());
595 let tag_class = match status {
596 Status::Complete => "feature-tag done",
597 _ => "feature-tag",
598 };
599
600 rsx! {
601 div { class: "{card_class}",
602 div { class: "{dot_class}",
603 Icon { variant: milestone_dot_icon(status), size: IconSize::Small, color: milestone_dot_color(status) }
604 }
605 div { class: "milestone-content",
606 div { class: "milestone-header",
607 span { class: "milestone-title", "{milestone.title}" }
608 span { class: "{badge_class}", "{status.label()}" }
609 }
610 p { class: "milestone-desc", "{milestone.description}" }
611 div { class: "milestone-features",
612 for (i, feature) in milestone.features.iter().enumerate() {
613 span { key: "{i}", class: "{tag_class}", "{feature}" }
614 }
615 }
616 if !milestone.examples.is_empty() {
617 MilestoneExamples { examples: milestone.examples }
618 }
619 }
620 }
621 }
622}
623
624const RELEASE_HISTORY_STYLE: &str = r#"
625.roadmap-section-title {
626 max-width: 700px;
627 margin: 8px auto 18px;
628 padding: 0 20px;
629 font-size: 13px;
630 font-weight: 600;
631 text-transform: uppercase;
632 letter-spacing: 1px;
633 color: rgba(229,231,235,0.5);
634}
635
636.release-history {
637 max-width: 700px;
638 margin: 0 auto;
639 padding: 0 20px 80px;
640}
641
642.next-release {
643 margin: 0 0 20px;
644 padding: 16px 18px;
645 border-radius: 12px;
646 border: 1px solid rgba(167,139,250,0.25);
647 background: rgba(167,139,250,0.05);
648}
649
650.next-release-header {
651 display: flex;
652 align-items: center;
653 gap: 10px;
654 margin-bottom: 10px;
655}
656
657.next-release-title {
658 font-weight: 700;
659 font-size: 15px;
660 color: #fff;
661}
662
663.next-release-list {
664 margin: 0;
665 padding-left: 18px;
666 display: flex;
667 flex-direction: column;
668 gap: 6px;
669 color: rgba(229,231,235,0.85);
670 font-size: 14px;
671 line-height: 1.5;
672}
673
674.next-release-summary {
675 margin: 10px 0 0;
676 color: rgba(229,231,235,0.55);
677 font-size: 13px;
678}
679
680.next-release-news {
681 display: inline-block;
682 margin-top: 10px;
683 color: #a78bfa;
684 font-size: 13px;
685 text-decoration: none;
686}
687
688.next-release-news:hover {
689 text-decoration: underline;
690}
691
692.release-list {
693 display: flex;
694 flex-direction: column;
695 gap: 2px;
696}
697
698.release-row {
699 display: flex;
700 align-items: baseline;
701 gap: 14px;
702 padding: 10px 14px;
703 border-radius: 10px;
704 border: 1px solid transparent;
705 text-decoration: none;
706 color: inherit;
707 transition: background 0.15s ease, border-color 0.15s ease;
708}
709
710.release-row.linked {
711 cursor: pointer;
712}
713
714.release-row.linked:hover {
715 background: rgba(255,255,255,0.04);
716 border-color: rgba(255,255,255,0.08);
717}
718
719.release-version {
720 font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
721 font-weight: 700;
722 font-size: 13px;
723 color: #a78bfa;
724 min-width: 64px;
725}
726
727.release-date {
728 color: rgba(229,231,235,0.45);
729 font-size: 12px;
730 min-width: 92px;
731 font-variant-numeric: tabular-nums;
732}
733
734.release-title {
735 flex: 1;
736 color: rgba(229,231,235,0.85);
737 font-size: 14px;
738}
739
740.release-unreleased {
741 font-size: 10px;
742 font-weight: 600;
743 text-transform: uppercase;
744 letter-spacing: 0.5px;
745 color: #a78bfa;
746 border: 1px solid rgba(167,139,250,0.3);
747 border-radius: 10px;
748 padding: 2px 8px;
749}
750
751.release-arrow {
752 color: rgba(229,231,235,0.25);
753 font-size: 14px;
754 transition: color 0.15s ease;
755}
756
757.release-row.linked:hover .release-arrow {
758 color: #a78bfa;
759}
760
761.release-row.maintenance {
762 opacity: 0.5;
763}
764
765.release-row.maintenance .release-version {
766 color: rgba(167,139,250,0.6);
767}
768
769.maint-toggle {
770 display: inline-block;
771 margin: 0 0 14px;
772 padding: 6px 12px;
773 border-radius: 8px;
774 border: 1px solid rgba(255,255,255,0.1);
775 background: rgba(255,255,255,0.03);
776 color: rgba(229,231,235,0.6);
777 cursor: pointer;
778 font-size: 12px;
779 font-weight: 500;
780 transition: background 0.15s ease, color 0.15s ease;
781}
782
783.maint-toggle:hover {
784 background: rgba(255,255,255,0.06);
785 color: #e5e7eb;
786}
787
788@media (max-width: 600px) {
789 .release-date { display: none; }
790}
791"#;
792
793#[component]
794fn ReleaseRowBody(release: &'static Release, unreleased: bool) -> Element {
795 rsx! {
796 span { class: "release-version", "v{release.version}" }
797 span { class: "release-date", "{release.date}" }
798 span { class: "release-title", "{release.title}" }
799 if unreleased {
800 span { class: "release-unreleased", "Unreleased" }
801 }
802 }
803}
804
805#[component]
806fn ReleaseRow(release: &'static Release, unreleased: bool) -> Element {
807 let maint = if release.maintenance {
808 " maintenance"
809 } else {
810 ""
811 };
812 match news_slug_for(&release.version) {
813 Some(slug) => rsx! {
814 Link {
815 to: Route::NewsArticle { slug: slug.to_string() },
816 class: "release-row linked{maint}",
817 ReleaseRowBody { release, unreleased }
818 span { class: "release-arrow", "→" }
819 }
820 },
821 None => rsx! {
822 div { class: "release-row{maint}",
823 ReleaseRowBody { release, unreleased }
824 }
825 },
826 }
827}
828
829mod next {
832 include!(concat!(env!("OUT_DIR"), "/roadmap_next.rs"));
833}
834
835#[component]
838fn NextRelease() -> Element {
839 let last = get_history().first();
840 let since = last.map(|r| r.version.as_str()).unwrap_or_default();
841 let since_date = last.map(|r| r.date.as_str()).unwrap_or_default();
842 let summary = next_release_summary(next::CHANGED, next::FIXED, since);
843 let article = get_articles().into_iter().find(|a| a.date > since_date);
844
845 rsx! {
846 div { class: "next-release",
847 div { class: "next-release-header",
848 span { class: "next-release-title", "Next release" }
849 span { class: "release-unreleased", "In progress" }
850 }
851 ul { class: "next-release-list",
852 for (i, headline) in next::ADDED.iter().enumerate() {
853 li { key: "{i}", "{headline}" }
854 }
855 }
856 if let Some(summary) = summary {
857 p { class: "next-release-summary", "{summary}" }
858 }
859 if let Some(article) = article {
860 Link {
861 to: Route::NewsArticle { slug: article.slug.to_string() },
862 class: "next-release-news",
863 "Read: {article.title} →"
864 }
865 }
866 }
867 }
868}
869
870#[component(lazy)]
871pub fn Roadmap() -> Element {
872 let breadcrumbs = vec![
873 BreadcrumbItem {
874 name: "Home",
875 path: "/",
876 },
877 BreadcrumbItem {
878 name: "Roadmap",
879 path: "/roadmap",
880 },
881 ];
882 let schemas = vec![
883 organization_schema(),
884 roadmap_schema(),
885 breadcrumb_schema(&breadcrumbs),
886 ];
887
888 let milestones = get_milestones();
892 let history = get_history();
893 let first_tagged = history
894 .iter()
895 .position(|r| r.tagged)
896 .unwrap_or(history.len());
897 let maint_count = history.iter().filter(|r| r.maintenance).count();
898 let mut show_maint = use_signal(|| false);
899
900 rsx! {
901 PageHead {
902 title: seo_pages::ROADMAP.title,
903 description: seo_pages::ROADMAP.description,
904 canonical_path: seo_pages::ROADMAP.canonical_path,
905 }
906 style { "{ROADMAP_STYLE}" }
907 style { "{RELEASE_HISTORY_STYLE}" }
908 JsonLdMultiple { schemas }
909
910 div { class: "roadmap-container",
911 MainNav { active: ActivePage::Roadmap, subtitle: Some("Where we're headed") }
912
913 section { class: "roadmap-hero",
914 h1 { "LOGOS Roadmap" }
915 span { class: "version", "v0.11.0" }
916 p { "From English sentences to a verified compilation stack: first-order logic, full-stack websites, native, GPU and WebAssembly backends, hardware model checking, a kernel-certified proof core, and circuits compiled from the program itself." }
917 }
918
919 h2 { class: "roadmap-section-title", "Featured milestones" }
920 div { class: "timeline",
921 for (i, milestone) in milestones.iter().enumerate() {
922 MilestoneItem { key: "{i}", milestone, next: milestones.get(i + 1).map(|m| m.status) }
923 }
924 }
925
926 h2 { class: "roadmap-section-title", "Release history" }
927 section { class: "release-history",
928 NextRelease {}
929 if maint_count > 0 {
930 button {
931 class: "maint-toggle",
932 onclick: move |_| { let on = show_maint(); show_maint.set(!on); },
933 if show_maint() {
934 "Hide maintenance releases"
935 } else {
936 "Show {maint_count} maintenance releases (CI, benchmarks, tooling)"
937 }
938 }
939 }
940 div { class: "release-list",
941 for (i, release) in history.iter().enumerate() {
942 if !release.maintenance || show_maint() {
943 ReleaseRow { key: "{i}", release, unreleased: i < first_tagged }
944 }
945 }
946 }
947 }
948
949 Footer {}
950 }
951 }
952}
953
954#[cfg(test)]
955#[path = "../../../../../crates/logicaffeine_tests/unit/logicaffeine_web/ui/pages/roadmap/tests.rs"]
956mod tests;