1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
use dioxus::prelude::*;
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct FooterLinks {
pub blog: String,
pub pricing: String,
pub contact: String,
pub terms: String,
pub privacy: String,
pub about: Option<String>,
pub variant: Option<String>,
}
#[component]
pub fn Footer(margin_top: Option<String>, links: FooterLinks) -> Element {
let extra_class = if let Some(extra_class) = margin_top {
extra_class
} else {
"mt-24".to_string()
};
if links.variant.as_deref() == Some("decision-luxe") {
return rsx! {
footer {
class: "dl-footer {extra_class}",
div {
class: "dl-footer-grid",
div {
h4 { "Decision Advantage" }
p {
class: "dl-lead",
style: "font-size:0.92rem;max-width:30ch;",
"Decision Advantage - Agentic decision support for command judgment."
}
div { class: "status", span { class: "pulse-dot" } "System Operational" }
}
nav {
h4 { "Platform" }
a { href: "/#hero", "Overview" }
a { href: "/#protocol", "Architecture" }
}
nav {
h4 { "Security" }
a { href: "/#manifesto", "Controls" }
a { href: "/#manifesto", "Assurance" }
}
nav {
h4 { "Contact" }
a { href: links.contact.clone(), "Schedule Demo" }
a { href: links.contact.clone(), "Inquiries" }
}
}
}
};
}
rsx! {
footer {
class: "{extra_class} bg-neutral text-neutral-content p-10",
div {
class: "mx-auto lg:max-w-5xl flex flex-col md:flex-row justify-between",
nav {
h6 {
class: "footer-title",
"Resources"
}
a {
href: links.blog.clone(),
class: "block link-hover",
"Blog"
}
a {
href: links.pricing.clone(),
class: "block link-hover",
"Pricing"
}
}
nav {
h6 {
class: "footer-title",
"Company"
}
if let Some(about) = links.about.clone() {
a {
class: "block link-hover",
href: about,
"About Us"
}
} else {
a {
class: "block link-hover",
"About Us"
}
}
a {
href: links.contact.clone(),
class: "block link-hover",
"Contact"
}
}
nav {
h6 {
class: "footer-title",
"Legal"
}
a {
href: links.terms.clone(),
class: "block link-hover",
"Terms of Use"
}
a {
href: links.privacy.clone(),
class: "block link-hover",
"Privacy Policy"
}
}
}
}
}
}