initial commit adding feedback

Signed-off-by: Max Cembalest <mbcembalest@gmail.com>
This commit is contained in:
Max Cembalest 2024-07-11 10:57:23 -04:00
parent e832ebaf21
commit 33eb5d21bb
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,15 @@
{% extends "theme/material/templates/base.html" %}
{% block extrahead %}
<!-- PushFeedback styles -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pushfeedback/dist/pushfeedback/pushfeedback.css">
<!-- PushFeedback script as ES6 module -->
<script type="module" src="https://cdn.jsdelivr.net/npm/pushfeedback/dist/pushfeedback/pushfeedback.esm.js"></script>
{% endblock %}
{% block content %}
{{ super() }}
<feedback-button project="k0qy0bw47i" button-position="bottom-right" modal-position="bottom-right" button-style="light">Feedback</feedback-button>
{% endblock %}

View File

@ -26,7 +26,8 @@ nav:
theme:
name: material
name: 'material'
custom_dir: 'docs/overrides'
palette:
primary: white
logo: assets/nomic.png