Skip to content

Commit 8bfc984

Browse files
committed
Add convertkit form to bottom of every page
1 parent b74f1eb commit 8bfc984

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script async data-uid="cdeda516d7" src="https://components-guide.ck.page/cdeda516d7/index.js"></script>

apps/components_guide_web/lib/components_guide_web/templates/landing/index.html.eex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ subhead = "Guides to accessibility, TDD, BDD, naming, performance, and the lates
166166
</div>
167167

168168
<div x-x class="py-8 bg-purple-300">
169-
<script async data-uid="cdeda516d7" src="https://components-guide.ck.page/cdeda516d7/index.js"></script>
169+
<%= render ComponentsGuideWeb.IntegrationsView, "convertkit_form.html", [] %>
170170
</div>
171171

172172
<div class="text-white">

apps/components_guide_web/lib/components_guide_web/templates/layout/_contentinfo.html.eex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<footer role="contentinfo" class="container pt-4 pb-6 text-gray-500 tracking-wide">
2+
<div class="X pt-8 pb-12">
3+
<%= render ComponentsGuideWeb.IntegrationsView, "convertkit_form.html", [] %>
4+
</div>
5+
26
<p><small class="text-xs">Copyright © 2020 Patrick Smith</small></p>
37
<ul class="list-none text-xs mt-4 leading-loose text-purple-500">
48
<li><a href="https://github.com/ComponentsTV/components_guide">Source on GitHub</a>

apps/components_guide_web/lib/components_guide_web/templates/layout/root.html.leex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<%= csrf_meta_tag() %>
88
<%= live_title_tag assigns[:page_title] || "Guides to React, Accessibility, Modern CSS, TypeScript", suffix: " · Components.Guide" %>
99
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
10-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/RoyalIcing/tela@0d21d625a3c131a5a270c24ffb2b503f6e20bdc4/tela.css"/>
10+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/RoyalIcing/tela@2d421cafc1ea99fab91aa4fcbf3b554160bcada5/tela.css"/>
1111
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
1212
<script src="https://cdn.usefathom.com/script.js" site="LYHMLVID" defer></script>
1313
</head>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
defmodule ComponentsGuideWeb.IntegrationsView do
2+
use ComponentsGuideWeb, :view
3+
end

0 commit comments

Comments
 (0)