Skip to content

Commit 4b3bc90

Browse files
committed
Remove unused code
1 parent 55c4d29 commit 4b3bc90

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

apps/components_guide_web/lib/components_guide_web/views/accessibility_first_testing_view.ex

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,6 @@ defmodule ComponentsGuideWeb.AccessibilityFirstTestingView do
1111
])
1212
end
1313

14-
# def_E :topic_article, quote(do: ~E"""
15-
# <article class="mb-8">
16-
# <h2 class="mb-2 text-4xl leading-normal text-teal-800"><%= @title %></h2>
17-
# <%= block[:do] %>
18-
# </article>
19-
# """)
20-
21-
# EEx.function_from_string(
22-
# :def,
23-
# :topic_article,
24-
# """
25-
# <article class="mb-8">
26-
# <h2 class="mb-2 text-4xl leading-normal text-teal-800"><%= @title %></h2>
27-
# <%= block[:do] %>
28-
# </article>
29-
# """,
30-
# [:assigns, :block],
31-
# engine: Phoenix.HTML.Engine
32-
# )
33-
3414
def topic_article(assigns, block) do
3515
~E"""
3616
<article class="mb-8">
@@ -39,13 +19,4 @@ defmodule ComponentsGuideWeb.AccessibilityFirstTestingView do
3919
</article>
4020
"""
4121
end
42-
43-
# def topic_article(title, content_html) do
44-
# <article class="mb-8">
45-
# <h2 class="mb-2 text-4xl leading-normal text-teal-800">Atomic design</h2>
46-
# <p>
47-
# Learn how to name components. Apply the single responsibility principle. Find the indivisible component units, and compose them together into larger molecules.
48-
# </p>
49-
# </article>
50-
# end
5122
end

0 commit comments

Comments
 (0)