Don't worry - Pinchflat is completely free :)
+
+ If you find the project valuable and want to support its development, a
+ <.inline_link href="https://www.paypal.me/kieraneglin">donation
+ would be greatly appreciated.
+
+
+ Plus, $5 USD from any donation over $10 USD will be donated to
+ <.inline_link href="https://www.eff.org/">The Electronic Frontier Foundation
+ who defend your online liberties and backed
+ <.inline_code>youtube-dl
+ when Google took them down<.inline_link href="https://github.com/github/dmca/blob/9a85e0f021f7967af80e186b890776a50443f06c/2020/11/2020-11-16-RIAA-reversal-effletter.pdf">
+ <.icon name="hero-arrow-top-right-on-square" class="h-3 w-3" />
+ . You do not need to donate to unlock Pro. It's just a way to say thanks!
+
+
+
+ To unlock Pro, simply type
+ <.inline_code>got it!
+ into the text box and press the button.
+
+
+ <%= live_render(@conn, Pinchflat.UpgradeButtonLive) %>
+
+
diff --git a/lib/pinchflat_web/components/layouts/root.html.heex b/lib/pinchflat_web/components/layouts/root.html.heex
index c562aa7..6b696c0 100644
--- a/lib/pinchflat_web/components/layouts/root.html.heex
+++ b/lib/pinchflat_web/components/layouts/root.html.heex
@@ -12,7 +12,14 @@
-
+
<%= @inner_content %>
+
+
+ <.upgrade_modal conn={@conn} />
+
diff --git a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
index 8124106..77d8865 100644
--- a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
+++ b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
@@ -36,12 +36,14 @@
/>
<%!-- TODO: use Alpine to disable the index frequency when fast indexing is enabled --%>
- <.input
- field={f[:fast_index]}
- type="toggle"
- label="Use Fast Indexing?"
- help="Experimental. Ignores 'Index Frequency'. Recommended for large channels that upload frequently. See below for more info"
- />
+
+ <.input
+ field={f[:fast_index]}
+ type="toggle"
+ label="Use Fast Indexing?"
+ help="Experimental. Ignores 'Index Frequency'. Recommended for large channels that upload frequently. See below for more info"
+ />
+