diff --git a/docs/privacy.md b/docs/privacy.md
new file mode 100644
index 00000000..a4cec9cc
--- /dev/null
+++ b/docs/privacy.md
@@ -0,0 +1,12 @@
+# Privacy policy
+
+I love free software and I'm doing this because it's fun and to give back. I have no bad intentions and I will
+never monetize or sell your information. This service will always stay free and open.
+
+Neither the server nor the app record any personal information, or share any of the messages and topics with
+any outside service. All data is exclusively used to make the service function properly. The one exception
+is the Firebase Cloud Messaging (FCM) service, which is required to provide instant Android notifications (see
+[FAQ](faq.md) for details).
+
+The web server does not log or otherwise store request paths, remote IP addresses or even topics or messages,
+aside from a short on-disk cache to support service restarts.
diff --git a/mkdocs.yml b/mkdocs.yml
index e24634fb..8a20bdbe 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -36,6 +36,11 @@ theme:
- navigation.instant
- toc.integrate
- content.tabs.link
+extra:
+ homepage: /
+ social:
+ - icon: fontawesome/brands/github-alt
+ link: https://github.com/binwiederhier
extra_javascript:
- static/js/extra.js
extra_css:
@@ -63,25 +68,22 @@ markdown_extensions:
plugins:
- search
-extra:
- social:
- - icon: fontawesome/brands/github-alt
- link: https://github.com/binwiederhier
-
nav:
- "Getting started": index.md
-- "Installation": install.md
-- "Configuration": config.md
- "Publishing":
- "Sending messages": publish.md
- "Subscribing":
- - "From your phone": subscribe/phone.md
- - "From the Web UI": subscribe/web.md
- - "Using the API": subscribe/api.md
+ - "From your phone": subscribe/phone.md
+ - "From the Web UI": subscribe/web.md
+ - "Using the API": subscribe/api.md
+- "Self-hosting":
+ - "Installation": install.md
+ - "Configuration": config.md
- "Other things":
+ - "FAQs": faq.md
- "Examples": examples.md
- "Emojis 🥳 🎉": emojis.md
- "Development": develop.md
- - "FAQs": faq.md
+ - "Privacy policy": privacy.md
diff --git a/server/index.gohtml b/server/index.gohtml
index 0975d756..c6f86be7 100644
--- a/server/index.gohtml
+++ b/server/index.gohtml
@@ -34,9 +34,21 @@
{{end}}
-
+
+
-
ntfy.sh | PUT/POST push notifications to your phone
+
Send push notifications to your phone or desktop via PUT/POST
ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service.
It allows you to send notifications to your phone or desktop via scripts from any computer,
@@ -83,8 +95,8 @@
Subscribe to a topic
- You can create and subscribe to a topic either in this web UI, or in your own app by subscribing to an
- EventSource, a JSON feed, or raw feed.
+ You can create and subscribe to a topic either using your phone,
+ in this web UI, or in your own app by subscribing via the API.
@@ -160,18 +172,6 @@
And another one with a smiley face 😀
-
Privacy policy
-
- Neither the server nor the app record any personal information, or share any of the messages and topics with
- any outside service. All data is exclusively used to make the service function properly. The one exception
- is the Firebase Cloud Messaging (FCM) service, which is required to provide instant Android notifications (see
- FAQ for details).
-
-
- The web server does not log or otherwise store request paths, remote IP addresses or even topics or messages,
- aside from a short on-disk cache (for {{.CacheDuration}}) to support service restarts.
-
-
Made with ❤️ by Philipp C. Heckel
diff --git a/server/static/css/app.css b/server/static/css/app.css
index e6a232c5..bd383fe4 100644
--- a/server/static/css/app.css
+++ b/server/static/css/app.css
@@ -24,8 +24,8 @@ a:hover {
}
h1 {
- margin-top: 25px;
- margin-bottom: 18px;
+ margin-top: 35px;
+ margin-bottom: 30px;
font-size: 2.5em;
word-wrap: break-word; /* For very long topics */
padding-right: 40px; /* For the X on the detail page */
@@ -209,8 +209,39 @@ code {
padding: 0 10px;
}
-#header img {
+#header #logo {
margin-top: 23px;
+ float: left;
+}
+
+#header #name {
+ float: left;
+ color: white;
+ font-size: 2.6em;
+ font-weight: bold;
+ margin: 35px 0 0 20px;
+}
+
+#header ol {
+ list-style-type: none;
+ float:right;
+ margin-top: 80px;
+}
+
+#header ol li {
+ display: inline-block;
+ margin: 0 10px;
+ font-weight: bold;
+
+}
+
+#header ol li a, nav ol li a:visited {
+ color: white;
+ text-decoration: none;
+}
+
+#header ol li a:hover {
+ text-decoration: underline;
}
/* Subscribe box */