Skip to content

Commit 8347845

Browse files
authored
Add survey popup to every page (#94)
1 parent 1133ef4 commit 8347845

5 files changed

Lines changed: 40 additions & 0 deletions

File tree

.DS_Store

10 KB
Binary file not shown.

_build/logs/myst.build.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"input": {
3+
"files": [
4+
"."
5+
],
6+
"opts": {
7+
"execute": false,
8+
"executeParallel": 9,
9+
"pdf": false,
10+
"tex": false,
11+
"typst": false,
12+
"docx": false,
13+
"md": false,
14+
"xml": false,
15+
"meca": false,
16+
"cff": false,
17+
"site": false,
18+
"html": false,
19+
"all": true,
20+
"doiBib": false,
21+
"watch": false,
22+
"force": false,
23+
"checkLinks": false,
24+
"strict": false,
25+
"ci": false,
26+
"maxSizeWebp": 1572864,
27+
"keepHost": false
28+
},
29+
"performSiteBuild": true
30+
},
31+
"exports": []
32+
}

mirdotcom/.DS_Store

10 KB
Binary file not shown.

mirdotcom/_config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ html:
2727
use_issues_button: true
2828
use_repository_button: true
2929
use_multitoc_numbering: true
30+
extra_footer: |
31+
<div id="survey-popup" style="position:fixed;bottom:20px;right:20px;background:#fff;border:1px solid #ccc;padding:20px;z-index:9999;border-radius:8px;max-width:300px;">
32+
<p style="color:#000;"><strong>We are redesigning mirdotcom and... We Need You!</strong></p>
33+
<p style="color:#000;">Got 5 minutes? Please take our survey and help us improve MIR learning.</p>
34+
<a href="https://forms.office.com/e/XFcpGE23PQ" target="_blank" style="font-weight:bold;">Take the survey</a><br><br>
35+
<button onclick="document.getElementById('survey-popup').style.display='none'">No thanks</button>
36+
</div>
37+
3038
3139
launch_buttons:
3240
notebook_interface: classic

mirdotcom/assets/.DS_Store

8 KB
Binary file not shown.

0 commit comments

Comments
 (0)