Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions lib/plausible_web/templates/layout/_embed_mode_footer.html.eex
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<div class="bg-gray-800 dark:bg-gray-800 mt-4">
<div class="container px-4 sm:px-6 lg:px-8">
<div class="xl:grid xl:grid-cols-3 xl:gap-8">
<div class="col-start-2 xl:my-0">
<p class="text-center">
<span class="text-gray-100 text-xs">Powered by</span>
<img src="/images/icon/plausible_logo_sm.png" class="inline-block w-4 ml-1" />
<span class="leading-5 font-semibold tracking-wider text-gray-300 text-xs">Plausible Analytics</span>
</p>
</div>
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions lib/plausible_web/templates/layout/app.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
</main>
<%= if !(@conn.assigns[:embed_mode] && @conn.assigns.site.embeddable) do %>
<%= render("_footer.html", assigns) %>
<% else %>
<%= render("_embed_mode_footer.html", assigns) %>
<% end %>
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</body>
Expand Down