Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechu10 committed Oct 16, 2024
1 parent 3a7e0c1 commit 3b8e372
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/pages/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ pub fn Index() -> View {
view! {
div(class="flex flex-col container mx-2 md:mx-auto") {
div(class="mt-20 flex flex-col md:flex-row gap-10 items-center justify-between") {
div {
div(class="max-w-[530px]") {
h1(class="text-5xl pb-5 font-bold bg-gradient-to-br from-orange-800 from-20% to-orange-800 to-80% via-orange-950 text-transparent bg-clip-text") {
"Reactive Apps with"
br {}
"Effortless Performance."
}
p(class="text-2xl") {
"Sycamore is a next generation Rust UI library."
"Sycamore is a next generation Rust UI library powered by fine-grained reactivity."
}

div(class="flex flex-row flex-wrap gap-4 font-semibold mt-10") {
Expand All @@ -23,6 +23,10 @@ pub fn Index() -> View {
"Join the Discord"
}
}

p(class="text-sm mt-4 text-gray-800") {
"Latest Release: " a(href="https://crates.io/crates/sycamore", class="underline") { "v0.9.0-beta.4" }
}
}
// Code example
div(class="flex-grow w-full md:w-auto") {
Expand All @@ -49,6 +53,11 @@ fn Counter(initial: i32) -> View {
h2(class="text-4xl font-bold mt-20") {
"Features"
}

// News
h2(class="text-4xl font-bold mt-20") {
"News"
}
}
}
}

0 comments on commit 3b8e372

Please sign in to comment.