Skip to content

Commit a70d791

Browse files
committed
Add licensing section to about page
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 4953cd4 commit a70d791

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

src/routes/about.rs

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,37 @@ pub fn AboutPage() -> Element {
221221

222222
AnchorHeader {
223223
level: H2,
224-
target: "dependencies",
225-
"Relationship to dependencies"
224+
target: "license",
225+
"Licensing"
226226
}
227227

228228
p {
229-
"Blitz's approach to modularity allows it to take full advantage of existing libraries where appropriate libraries are available which,
230-
(due to the flourishing Rust crates ecosystem and the legacy of the Servo project), turns out to be quite a lot of places."
229+
"Blitz lis icensed under a variety of permissive open source licenses:"
231230
}
232231

232+
ul {
233+
li {
234+
style: "margin-bottom: 6px",
235+
"All first-party code in Blitz is dual licensed under Apache 2.0 OR MIT."
236+
}
237+
li {
238+
style: "margin-bottom: 6px",
239+
"All dependencies are available under one the Apache 2.0, MIT, BSD, or Zlib, ISC, CC0, Unicode, BSL and MPL licenses
240+
(correct at time of writing). A full list can be generated by running cargo-license on Blitz."
241+
}
242+
}
243+
244+
// AnchorHeader {
245+
// level: H2,
246+
// target: "dependencies",
247+
// "Relationship to dependencies"
248+
// }
249+
250+
// p {
251+
// "Blitz's approach to modularity allows it to take full advantage of existing libraries where appropriate libraries are available which,
252+
// (due to the flourishing Rust crates ecosystem and the legacy of the Servo project), turns out to be quite a lot of places."
253+
// }
254+
233255

234256

235257
}

0 commit comments

Comments
 (0)