diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index ec5261dee..c670cf75a 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go @@ -300,6 +300,10 @@ func serve(cctx *cli.Context) error { e.GET("/support/tos", server.WebGeneric) e.GET("/support/community-guidelines", server.WebGeneric) e.GET("/support/copyright", server.WebGeneric) + // about/support pages (syu.is specific) + e.GET("/about/support/tos", server.WebAboutTOS) + e.GET("/about/support/privacy-policy", server.WebAboutPrivacy) + e.GET("/about/support/help", server.WebAboutHelp) e.GET("/intent/compose", server.WebGeneric) e.GET("/intent/verify-email", server.WebGeneric) e.GET("/intent/age-assurance", server.WebGeneric) @@ -753,3 +757,21 @@ func (srv *Server) WebIpCC(c echo.Context) error { } return c.JSON(200, outResponse) } + +// Handler for About TOS page (syu.is specific) +func (srv *Server) WebAboutTOS(c echo.Context) error { + data := srv.NewTemplateContext() + return c.Render(http.StatusOK, "about-tos.html", data) +} + +// Handler for About Privacy Policy page (syu.is specific) +func (srv *Server) WebAboutPrivacy(c echo.Context) error { + data := srv.NewTemplateContext() + return c.Render(http.StatusOK, "about-privacy.html", data) +} + +// Handler for About Help page (syu.is specific) +func (srv *Server) WebAboutHelp(c echo.Context) error { + data := srv.NewTemplateContext() + return c.Render(http.StatusOK, "about-help.html", data) +} diff --git a/bskyweb/templates/about-help.html b/bskyweb/templates/about-help.html new file mode 100644 index 000000000..d37db25c5 --- /dev/null +++ b/bskyweb/templates/about-help.html @@ -0,0 +1,98 @@ + + +
+ + +syu.is is a social networking service built on the AT Protocol (Authenticated Transfer Protocol). It allows users to share content, connect with others, and participate in a decentralized social network.
+ +The AT Protocol is a decentralized social networking protocol that allows users to own their data and identity. It enables federation between different services while maintaining user control.
+You can create an account by downloading the app or visiting the website. You'll need to provide an email address and choose a username.
+You can reset your password through the login screen by selecting "Forgot Password" and following the instructions sent to your email.
+You can delete your account through Settings > Account. Please note that account deletion is permanent and cannot be undone.
+You can report content by using the report function available on each post. Our moderation team will review reports and take appropriate action.
+For additional support or questions:
+This Privacy Policy explains how syu.is collects, uses, and protects your personal information when you use our service.
+ +We collect the following types of information:
+We use your information to:
+As part of the AT Protocol federation, your public content may be shared with other servers in the network. We do not sell your personal information to third parties.
+ +We implement appropriate security measures to protect your personal information. However, no method of transmission over the Internet is 100% secure.
+ +You have the right to:
+We use cookies and similar technologies to maintain your session and improve your experience.
+ +We may update this Privacy Policy from time to time. We will notify you of any significant changes.
+ +For privacy-related questions, please visit our Help page.
+ + + + diff --git a/bskyweb/templates/about-tos.html b/bskyweb/templates/about-tos.html new file mode 100644 index 000000000..db5d82f5c --- /dev/null +++ b/bskyweb/templates/about-tos.html @@ -0,0 +1,84 @@ + + + + + +Welcome to syu.is. By using our service, you agree to these terms. Please read them carefully.
+ +syu.is is a social networking service built on the AT Protocol. We provide a platform for users to share content and connect with others.
+ +As a user of syu.is, you agree to:
+Users are responsible for the content they post. Prohibited content includes:
+Your privacy is important to us. Please review our Privacy Policy to understand how we handle your data.
+ +The service is provided "as is" without warranties of any kind. We are not liable for any damages arising from your use of the service.
+ +We may update these terms from time to time. Continued use of the service after changes constitutes acceptance of the new terms.
+ +For questions about these terms, please visit our Help page.
+ + + +