Skip to content

Commit d323c92

Browse files
authored
remove crates.io link (#166)
1 parent 9341f65 commit d323c92

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

preview/src/main.rs

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -216,22 +216,23 @@ fn Navbar() -> Element {
216216
}
217217
}
218218
div { class: "navbar-links",
219-
Link {
220-
to: "https://crates.io/crates/dioxus-components",
221-
class: "navbar-link",
222-
aria_label: "Dioxus components crates.io",
223-
svg {
224-
"viewBox": "0 0 576 512",
225-
xmlns: "http://www.w3.org/2000/svg",
226-
width: "24",
227-
height: "24",
228-
path {
229-
d: "M290.8 48.6l78.4 29.7L288 109.5 206.8 78.3l78.4-29.7c1.8-.7 3.8-.7 5.7 0zM136 92.5l0 112.2c-1.3 .4-2.6 .8-3.9 1.3l-96 36.4C14.4 250.6 0 271.5 0 294.7L0 413.9c0 22.2 13.1 42.3 33.5 51.3l96 42.2c14.4 6.3 30.7 6.3 45.1 0L288 457.5l113.5 49.9c14.4 6.3 30.7 6.3 45.1 0l96-42.2c20.3-8.9 33.5-29.1 33.5-51.3l0-119.1c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-1.3-.5-2.6-.9-3.9-1.3l0-112.2c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-12.8-4.8-26.9-4.8-39.7 0l-96 36.4C150.4 48.4 136 69.3 136 92.5zM392 210.6l-82.4 31.2 0-89.2L392 121l0 89.6zM154.8 250.9l78.4 29.7L152 311.7 70.8 280.6l78.4-29.7c1.8-.7 3.8-.7 5.7 0zm18.8 204.4l0-100.5L256 323.2l0 95.9-82.4 36.2zM421.2 250.9c1.8-.7 3.8-.7 5.7 0l78.4 29.7L424 311.7l-81.2-31.1 78.4-29.7zM523.2 421.2l-77.6 34.1 0-100.5L528 323.2l0 90.7c0 3.2-1.9 6-4.8 7.3z",
230-
fill: "currentColor",
231-
fill_rule: "nonzero",
232-
}
233-
}
234-
}
219+
// TODO: restore once the primitives crate is published
220+
// Link {
221+
// to: "https://crates.io/crates/dioxus-components",
222+
// class: "navbar-link",
223+
// aria_label: "Dioxus components crates.io",
224+
// svg {
225+
// "viewBox": "0 0 576 512",
226+
// xmlns: "http://www.w3.org/2000/svg",
227+
// width: "24",
228+
// height: "24",
229+
// path {
230+
// d: "M290.8 48.6l78.4 29.7L288 109.5 206.8 78.3l78.4-29.7c1.8-.7 3.8-.7 5.7 0zM136 92.5l0 112.2c-1.3 .4-2.6 .8-3.9 1.3l-96 36.4C14.4 250.6 0 271.5 0 294.7L0 413.9c0 22.2 13.1 42.3 33.5 51.3l96 42.2c14.4 6.3 30.7 6.3 45.1 0L288 457.5l113.5 49.9c14.4 6.3 30.7 6.3 45.1 0l96-42.2c20.3-8.9 33.5-29.1 33.5-51.3l0-119.1c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-1.3-.5-2.6-.9-3.9-1.3l0-112.2c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-12.8-4.8-26.9-4.8-39.7 0l-96 36.4C150.4 48.4 136 69.3 136 92.5zM392 210.6l-82.4 31.2 0-89.2L392 121l0 89.6zM154.8 250.9l78.4 29.7L152 311.7 70.8 280.6l78.4-29.7c1.8-.7 3.8-.7 5.7 0zm18.8 204.4l0-100.5L256 323.2l0 95.9-82.4 36.2zM421.2 250.9c1.8-.7 3.8-.7 5.7 0l78.4 29.7L424 311.7l-81.2-31.1 78.4-29.7zM523.2 421.2l-77.6 34.1 0-100.5L528 323.2l0 90.7c0 3.2-1.9 6-4.8 7.3z",
231+
// fill: "currentColor",
232+
// fill_rule: "nonzero",
233+
// }
234+
// }
235+
// }
235236
Link {
236237
to: "https://github.com/DioxusLabs/components",
237238
class: "navbar-link",

0 commit comments

Comments
 (0)