Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 1072676

Browse files
committed
Fix standardrb
1 parent f1d66df commit 1072676

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

app/views/pages/home.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ def view_template
2424
end
2525
end
2626

27-
28-
2927
div(class: "overflow-hidden") do
3028
div(class: "container mx-auto max-w-5xl px-4 flex justify-center my-8") do
3129
iframe(width: "100%", height: "720", src: "https://www.youtube.com/embed/OQZam7rug00?si=JmZNzS5u194Q0AWQ", title: "YouTube video player", frameborder: "0", allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share", referrerpolicy: "strict-origin-when-cross-origin", allowfullscreen: true)
3230
end
33-
31+
3432
div(class: "relative z-10 container mx-auto max-w-5xl pt-16 lg:pt-16 py-24 lg:py-32 px-4") do
3533
div(class: "grid grid-cols-6 gap-4") do
3634
render HomeView::Card.new(class: "col-span-6 sm:col-span-3 md:col-span-4", title: "Built for Speed", subtitle: "Dive into a world where your Rails UI development happens at light speed. Phlex is not just fast - it's blazing fast.", color: :secondary) do |card|
@@ -54,9 +52,9 @@ def view_template
5452
card.content do
5553
div(class: "flex flex-col items-center justify-center text-center space-y-4 h-full") do
5654
p(class: "text-6xl font-semibold") { "7.7x" }
57-
p do
55+
p do
5856
a(href: "https://github.com/palkan/view-layer-benchmarks", class: "underline") { "Faster" }
59-
span {" than traditional Rails ERB"}
57+
span { " than traditional Rails ERB" }
6058
end
6159
end
6260
end

0 commit comments

Comments
 (0)