fix social-app feed view patch
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go
|
||||
index ec5261dee..c670cf75a 100644
|
||||
index 790f211ee..ec05a8bcd 100644
|
||||
--- a/bskyweb/cmd/bskyweb/server.go
|
||||
+++ b/bskyweb/cmd/bskyweb/server.go
|
||||
@@ -302,6 +302,12 @@ func serve(cctx *cli.Context) error {
|
||||
@@ -317,6 +317,12 @@ 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)
|
||||
@@ -15,9 +15,9 @@ index ec5261dee..c670cf75a 100644
|
||||
e.GET("/intent/compose", server.WebGeneric)
|
||||
e.GET("/intent/verify-email", server.WebGeneric)
|
||||
e.GET("/intent/age-assurance", server.WebGeneric)
|
||||
@@ -755,3 +761,33 @@ func (srv *Server) WebIpCC(c echo.Context) error {
|
||||
}
|
||||
return c.JSON(200, outResponse)
|
||||
@@ -825,3 +831,33 @@ func (srv *Server) serveSitemapRequest(c echo.Context, url, sitemapType string)
|
||||
|
||||
return nil
|
||||
}
|
||||
+
|
||||
+// Handler for About TOS page (syu.is specific)
|
||||
@@ -51,7 +51,7 @@ index ec5261dee..c670cf75a 100644
|
||||
+}
|
||||
diff --git a/bskyweb/templates/about-app.html b/bskyweb/templates/about-app.html
|
||||
new file mode 100644
|
||||
index 000000000..000000002
|
||||
index 000000000..62a39a21d
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-app.html
|
||||
@@ -0,0 +1,135 @@
|
||||
@@ -152,26 +152,26 @@ index 000000000..000000002
|
||||
+ <div class="link-row">
|
||||
+ <span class="link-icon">GitHub</span>
|
||||
+ <a href="https://github.com/syui" class="link-value" target="_blank">github.com/syui</a>
|
||||
+ <span class="link-arrow">→</span>
|
||||
+ <span class="link-arrow">→</span>
|
||||
+ </div>
|
||||
+ <div class="link-row">
|
||||
+ <span class="link-icon">ATProto</span>
|
||||
+ <a href="https://syu.is/syui" class="link-value" target="_blank">syu.is/syui</a>
|
||||
+ <span class="link-arrow">→</span>
|
||||
+ <span class="link-arrow">→</span>
|
||||
+ </div>
|
||||
+ </div>
|
||||
+
|
||||
+ <div class="section">
|
||||
+ <div class="section-title">Bitcoin</div>
|
||||
+ <div class="bitcoin-row">
|
||||
+ <span class="bitcoin-label">₿</span>
|
||||
+ <span class="bitcoin-label">₿</span>
|
||||
+ <span class="bitcoin-address" id="btc-address">3BqHXxraZyBapyNpJmniJDh9zqzuB8aoRr</span>
|
||||
+ <span class="copy-btn" onclick="copyBTC()">copy</span>
|
||||
+ </div>
|
||||
+ </div>
|
||||
+
|
||||
+ <div class="footer">
|
||||
+ <p class="copyright">© syui</p>
|
||||
+ <p class="copyright">© syui</p>
|
||||
+ </div>
|
||||
+
|
||||
+ <script>
|
||||
@@ -190,84 +190,12 @@ index 000000000..000000002
|
||||
+ </script>
|
||||
+</body>
|
||||
+</html>
|
||||
diff --git a/bskyweb/templates/about-license.html b/bskyweb/templates/about-license.html
|
||||
new file mode 100644
|
||||
index 000000000..000000003
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-license.html
|
||||
@@ -0,0 +1,66 @@
|
||||
+<!DOCTYPE html>
|
||||
+<html lang="ja">
|
||||
+<head>
|
||||
+ <meta charset="UTF-8">
|
||||
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
|
||||
+ <title>License - syu.is</title>
|
||||
+ <link rel="icon" type="image/png" href="{{ staticCDNHost }}/static/favicon.png">
|
||||
+ <style>
|
||||
+ * { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
+ body {
|
||||
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
+ line-height: 1.6;
|
||||
+ color: #1a1a1a;
|
||||
+ background: #fff;
|
||||
+ padding: 20px;
|
||||
+ max-width: 800px;
|
||||
+ margin: 0 auto;
|
||||
+ }
|
||||
+ @media (prefers-color-scheme: dark) {
|
||||
+ body { background: #000; color: #e0e0e0; }
|
||||
+ a { color: #6bb3ff; }
|
||||
+ h1, h2, h3 { color: #fff; }
|
||||
+ }
|
||||
+ h1 { font-size: 28px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #ddd; }
|
||||
+ h2 { font-size: 20px; margin: 24px 0 12px; }
|
||||
+ p { margin-bottom: 16px; }
|
||||
+ ul { margin: 0 0 16px 24px; }
|
||||
+ li { margin-bottom: 8px; }
|
||||
+ a { color: #0066cc; text-decoration: none; }
|
||||
+ a:hover { text-decoration: underline; }
|
||||
+ .header { margin-bottom: 32px; }
|
||||
+ .back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; }
|
||||
+ .footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; font-size: 14px; color: #666; }
|
||||
+ pre { background: #f5f5f5; padding: 16px; border-radius: 8px; overflow-x: auto; font-size: 13px; }
|
||||
+ @media (prefers-color-scheme: dark) { pre { background: #1a1a1a; } }
|
||||
+ </style>
|
||||
+</head>
|
||||
+<body>
|
||||
+ <div class="header">
|
||||
+ <a href="/" class="back-link">← Back to syu.is</a>
|
||||
+ <h1>License</h1>
|
||||
+ </div>
|
||||
+
|
||||
+ <h2>Aiat (iOS/Android App)</h2>
|
||||
+ <p>This application is based on the Bluesky Social App, which is open source software.</p>
|
||||
+
|
||||
+ <h2>Open Source Licenses</h2>
|
||||
+ <p>This app uses the following open source software:</p>
|
||||
+
|
||||
+ <h3>Bluesky Social App</h3>
|
||||
+ <p>Licensed under the MIT License</p>
|
||||
+ <p><a href="https://github.com/bluesky-social/social-app" target="_blank">https://github.com/bluesky-social/social-app</a></p>
|
||||
+
|
||||
+ <h3>AT Protocol</h3>
|
||||
+ <p>Licensed under the MIT License / Apache 2.0</p>
|
||||
+ <p><a href="https://github.com/bluesky-social/atproto" target="_blank">https://github.com/bluesky-social/atproto</a></p>
|
||||
+
|
||||
+ <h2>Third Party Libraries</h2>
|
||||
+ <p>This application includes various third-party libraries, each with their own licenses. For a complete list, please see the application's source code repository.</p>
|
||||
+
|
||||
+ <div class="footer">
|
||||
+ <p>Last updated: 2025</p>
|
||||
+ <p>© syu.is</p>
|
||||
+ </div>
|
||||
+</body>
|
||||
+</html>
|
||||
diff --git a/bskyweb/templates/about-help.html b/bskyweb/templates/about-help.html
|
||||
new file mode 100644
|
||||
index 000000000..d37db25c5
|
||||
index 000000000..89f40e414
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-help.html
|
||||
@@ -0,0 +1,91 @@
|
||||
@@ -0,0 +1,100 @@
|
||||
+<!DOCTYPE html>
|
||||
+<html lang="ja">
|
||||
+<head>
|
||||
@@ -368,12 +296,84 @@ index 000000000..d37db25c5
|
||||
+ </div>
|
||||
+</body>
|
||||
+</html>
|
||||
diff --git a/bskyweb/templates/about-license.html b/bskyweb/templates/about-license.html
|
||||
new file mode 100644
|
||||
index 000000000..02fe64696
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-license.html
|
||||
@@ -0,0 +1,66 @@
|
||||
+<!DOCTYPE html>
|
||||
+<html lang="ja">
|
||||
+<head>
|
||||
+ <meta charset="UTF-8">
|
||||
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
|
||||
+ <title>License - syu.is</title>
|
||||
+ <link rel="icon" type="image/png" href="{{ staticCDNHost }}/static/favicon.png">
|
||||
+ <style>
|
||||
+ * { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
+ body {
|
||||
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
+ line-height: 1.6;
|
||||
+ color: #1a1a1a;
|
||||
+ background: #fff;
|
||||
+ padding: 20px;
|
||||
+ max-width: 800px;
|
||||
+ margin: 0 auto;
|
||||
+ }
|
||||
+ @media (prefers-color-scheme: dark) {
|
||||
+ body { background: #000; color: #e0e0e0; }
|
||||
+ a { color: #6bb3ff; }
|
||||
+ h1, h2, h3 { color: #fff; }
|
||||
+ }
|
||||
+ h1 { font-size: 28px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #ddd; }
|
||||
+ h2 { font-size: 20px; margin: 24px 0 12px; }
|
||||
+ p { margin-bottom: 16px; }
|
||||
+ ul { margin: 0 0 16px 24px; }
|
||||
+ li { margin-bottom: 8px; }
|
||||
+ a { color: #0066cc; text-decoration: none; }
|
||||
+ a:hover { text-decoration: underline; }
|
||||
+ .header { margin-bottom: 32px; }
|
||||
+ .back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; }
|
||||
+ .footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; font-size: 14px; color: #666; }
|
||||
+ pre { background: #f5f5f5; padding: 16px; border-radius: 8px; overflow-x: auto; font-size: 13px; }
|
||||
+ @media (prefers-color-scheme: dark) { pre { background: #1a1a1a; } }
|
||||
+ </style>
|
||||
+</head>
|
||||
+<body>
|
||||
+ <div class="header">
|
||||
+ <a href="/" class="back-link">← Back to syu.is</a>
|
||||
+ <h1>License</h1>
|
||||
+ </div>
|
||||
+
|
||||
+ <h2>Aiat (iOS/Android App)</h2>
|
||||
+ <p>This application is based on the Bluesky Social App, which is open source software.</p>
|
||||
+
|
||||
+ <h2>Open Source Licenses</h2>
|
||||
+ <p>This app uses the following open source software:</p>
|
||||
+
|
||||
+ <h3>Bluesky Social App</h3>
|
||||
+ <p>Licensed under the MIT License</p>
|
||||
+ <p><a href="https://github.com/bluesky-social/social-app" target="_blank">https://github.com/bluesky-social/social-app</a></p>
|
||||
+
|
||||
+ <h3>AT Protocol</h3>
|
||||
+ <p>Licensed under the MIT License / Apache 2.0</p>
|
||||
+ <p><a href="https://github.com/bluesky-social/atproto" target="_blank">https://github.com/bluesky-social/atproto</a></p>
|
||||
+
|
||||
+ <h2>Third Party Libraries</h2>
|
||||
+ <p>This application includes various third-party libraries, each with their own licenses. For a complete list, please see the application's source code repository.</p>
|
||||
+
|
||||
+ <div class="footer">
|
||||
+ <p>Last updated: 2025</p>
|
||||
+ <p>© syu.is</p>
|
||||
+ </div>
|
||||
+</body>
|
||||
+</html>
|
||||
diff --git a/bskyweb/templates/about-privacy.html b/bskyweb/templates/about-privacy.html
|
||||
new file mode 100644
|
||||
index 000000000..14a1168ad
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-privacy.html
|
||||
@@ -0,0 +1,83 @@
|
||||
@@ -0,0 +1,92 @@
|
||||
+<!DOCTYPE html>
|
||||
+<html lang="ja">
|
||||
+<head>
|
||||
@@ -471,7 +471,7 @@ new file mode 100644
|
||||
index 000000000..db5d82f5c
|
||||
--- /dev/null
|
||||
+++ b/bskyweb/templates/about-tos.html
|
||||
@@ -0,0 +1,76 @@
|
||||
@@ -0,0 +1,84 @@
|
||||
+<!DOCTYPE html>
|
||||
+<html lang="ja">
|
||||
+<head>
|
||||
|
||||
Reference in New Issue
Block a user