Skip to content

Commit 57342d3

Browse files
committed
Remove unused component code
1 parent 373bcb5 commit 57342d3

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

app/views/components/layouts/front_door.rb

Lines changed: 0 additions & 22 deletions
This file was deleted.

app/views/components/layouts/front_door_form.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,6 @@ def form_with(**opts, &block)
3737
)
3838
end
3939

40-
def form_header(&block)
41-
div(class: "mx-auto w-full max-w-sm") do
42-
plain inline_svg_tag "joy-logo.svg",
43-
class: "fill-current mx-auto",
44-
style: "max-width: 64px;",
45-
alt: "Joy of Rails"
46-
h2(
47-
class: "text-center text-2xl font-bold leading-9 tracking-tight",
48-
&block
49-
)
50-
end
51-
end
52-
5340
def form_label(form, *args, **opts)
5441
div(class: "flex items-center justify-between") do
5542
plain form.label(*args, class: "block text-sm font-medium leading-6", **opts)

0 commit comments

Comments
 (0)