formatting: run cargo fmt

This commit is contained in:
Jonathan Kelley committed 2022-01-03 01:20:05 -05:00
1 parent 5da0a0c97e
commit a95dead76d
4 files changed
+13 -22

No files matched your search

+7 -10
View File
@@ -1,12 +1,11 @@
//! Example: Basic Tailwind usage
//!
//!
//! This example shows how an app might be styled with TailwindCSS.
//!
//!
//! To minify your tailwind bundle, currently you need to use npm. Follow these instructions:
//!
//!
//! https://dev.to/arctic_hen7/how-to-set-up-tailwind-css-with-yew-and-trunk-il9
use dioxus::prelude::*;
fn main() {
@@ -44,7 +43,7 @@ pub fn app(cx: Scope) -> Element {
RightArrowIcon {}
}
}
}
}
section { class: "text-gray-400 bg-gray-900 body-font",
div { class: "container mx-auto flex px-5 py-24 md:flex-row flex-col items-center",
@@ -73,11 +72,11 @@ pub fn app(cx: Scope) -> Element {
}
}
div { class: "lg:max-w-lg lg:w-full md:w-1/2 w-5/6",
img {
class: "object-cover object-center rounded",
img {
class: "object-cover object-center rounded",
src: "https://i.imgur.com/oK6BLtw.png",
referrerpolicy:"no-referrer",
alt: "hero",
alt: "hero",
}
}
}
@@ -86,8 +85,6 @@ pub fn app(cx: Scope) -> Element {
))
}
pub fn StacksIcon(cx: Scope) -> Element {
cx.render(rsx!(
svg {