add "powered by" text when running on hop
This commit is contained in:
parent
80de6a1ebe
commit
3004daecc9
2 changed files with 5 additions and 0 deletions
|
@ -658,6 +658,10 @@ input[type="checkbox"] {
|
||||||
#pd-share {
|
#pd-share {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
#hop-attribution {
|
||||||
|
display: block;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
/* adapt the page according to screen size */
|
/* adapt the page according to screen size */
|
||||||
@media screen and (min-width: 2300px) {
|
@media screen and (min-width: 2300px) {
|
||||||
html {
|
html {
|
||||||
|
|
|
@ -106,6 +106,7 @@ export default function(obj) {
|
||||||
"title": t("CollapsePrivacy"),
|
"title": t("CollapsePrivacy"),
|
||||||
"body": t("PrivacyPolicy")
|
"body": t("PrivacyPolicy")
|
||||||
}])
|
}])
|
||||||
|
+ `${process.env.DEPLOYMENT_ID && process.env.INTERNAL_IP ? '<a id="hop-attribution" class="explanation" href="https://hop.io/" target="_blank">powered by hop.io</a>' : ''}`
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue