From bfb2664b54ee9057fcee1f4dd8b75a036d1d30f2 Mon Sep 17 00:00:00 2001 From: Tianzhou Chen Date: Sun, 21 May 2023 12:34:44 +0800 Subject: [PATCH] chore: add ToS --- public/privacy.md | 6 +++--- public/terms.md | 12 ++++++++++++ src/components/SettingView.tsx | 9 +++++++-- src/pages/terms/index.tsx | 8 ++++++++ 4 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 public/terms.md create mode 100644 src/pages/terms/index.tsx diff --git a/public/privacy.md b/public/privacy.md index 76a01fd..6b7ed96 100644 --- a/public/privacy.md +++ b/public/privacy.md @@ -1,5 +1,7 @@ # SQL Chat Privacy Policy +*Last Updated: May 21, 2023* + We respect your privacy and are committed to protecting your personal information. This Privacy Policy explains how we collect, use, and disclose your personal information when you use our application that calls LLM provider's API. ## Collection of Application Data @@ -41,6 +43,4 @@ For more information about our privacy and data protection practices, including ## Contact Us -Please contact us at support@bytebase.com if you have questions about this Privacy Policy. - -*Last Updated: May 21, 2023* \ No newline at end of file +Please contact us at support@bytebase.com if you have questions about this Privacy Policy. \ No newline at end of file diff --git a/public/terms.md b/public/terms.md new file mode 100644 index 0000000..39c9383 --- /dev/null +++ b/public/terms.md @@ -0,0 +1,12 @@ +# Terms of Service + +*Last Updated: May 21, 2023* + +## Refund Policy + +All fees and charges are earned upon receipt by us and are nonrefundable. + + +## Contact Us + +Please contact us at support@bytebase.com if you have questions about this Terms of Service. \ No newline at end of file diff --git a/src/components/SettingView.tsx b/src/components/SettingView.tsx index 9fe67da..ee53bfe 100644 --- a/src/components/SettingView.tsx +++ b/src/components/SettingView.tsx @@ -17,7 +17,7 @@ const SettingView = () => { const { data: session } = useSession(); return ( -
+
{
-
+
Privacy
+
+ + Terms + +
diff --git a/src/pages/terms/index.tsx b/src/pages/terms/index.tsx new file mode 100644 index 0000000..8eaec0c --- /dev/null +++ b/src/pages/terms/index.tsx @@ -0,0 +1,8 @@ +import MarkdownRenderer from "@/components/MarkdownRenderer"; +import { NextPage } from "next"; + +const PrivacyPage: NextPage = () => { + return ; +}; + +export default PrivacyPage;