Skip to content

Commit

Permalink
docs: add banner for recipinned (#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot authored Oct 17, 2023
1 parent defdc82 commit b7c7c0f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
17 changes: 17 additions & 0 deletions docs/docs/assets/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,20 @@ th {
.md-button {
padding: 0.2rem 0.75rem !important;
}

.announce-left {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
}

.announce-left > a {
color: #e0e0e0;
font-weight: bold;
}

.announce-left > a:hover {
color: var(--md-primary-fg-color);
text-decoration: underline;
}
14 changes: 7 additions & 7 deletions docs/docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "base.html" %} {% block analytics %}
<script
async
defer
data-domain="hay-kot.github.io/mealie"
src="https://plausible.io/js/plausible.js"
></script>
{% extends "base.html" %}
{% block announce %}
<div class="announce-left">
<a href="https://recipinned.com">
Looking for a hosted solution? Explore Recipinned from the creator of Mealie
</a>
</div>
{% endblock %}

0 comments on commit b7c7c0f

Please sign in to comment.