File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
docs/.vuepress/theme/components Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" feedback" >
3+ <h3 >Was this information helpful?</h3 >
4+ <div class =" feedback--actions" >
5+ <button class =" btn btn-primary" title =" Helpful" data-title =" helpful" >
6+ Yes
7+ </button >
8+ <button
9+ class =" btn btn-primary"
10+ title =" Not Helpful"
11+ data-title =" not helpful"
12+ >
13+ No
14+ </button >
15+ </div >
16+ <div class =" feedback--result" >
17+ <p >Thank you for the feedback.</p >
18+ </div >
19+ <p class =" feedback--edit-or-open" >
20+ <a
21+ href =" https://github.com/ipfs/docs/blob/master/content/"
22+ target =" _blank"
23+ >Edit this page</a
24+ >
25+ in GitHub or
26+ <a
27+ :href ="
28+ `https://github.com/ipfs/docs/issues/new?assignees=&labels=OKR+3%3A+Content+Improvement%2C+docs-ipfs&template=documentation-issue.md&title=%5BDOCS+ISSUE%5D+Page:+${$page.title}`
29+ "
30+ target =" _blank"
31+ >open an issue</a
32+ >
33+ </p >
34+ </div >
35+ </template >
36+
37+ <script >
38+ export default {}
39+ </script >
40+
41+ <style lang="stylus" scoped>
42+ @keyframes fadein {
43+ from {
44+ opacity : 0 ;
45+ }
46+
47+ to {
48+ opacity : 1 ;
49+ }
50+ }
51+
52+ .feedback {
53+ margin : 2em 0 ;
54+
55+ & --result {
56+ display : none ;
57+ }
58+
59+ & --show {
60+ display : block ;
61+ animation : fadein 1s ;
62+ }
63+
64+ & --hide {
65+ display : none ;
66+ }
67+
68+ & --result .feedback--show {
69+ min-height : 40px ;
70+ display : flex ;
71+ align-items : center ;
72+
73+ * {
74+ margin : 0 ;
75+ }
76+ }
77+ }
78+ </style >
You can’t perform that action at this time.
0 commit comments