diff --git a/next.config.ts b/next.config.ts index e33df0a..4aaad85 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,6 +3,9 @@ import type { NextConfig } from 'next' const nextConfig: NextConfig = { /* config options here */ reactStrictMode: true, + generateBuildId: async () => { + return process.env.GIT_HASH ?? 'development' + }, images: { remotePatterns: [ { diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 8cda8ad..41a7acd 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -5,6 +5,7 @@ import { Roboto } from 'next/font/google' import { CapAppBar } from '@/components/CapAppBar' import { useUserStore } from '@/services/user' import { useEffect } from 'react' +import Head from 'next/head' const fontRoboto = Roboto({ subsets: ['latin'], @@ -32,6 +33,12 @@ export default function App({ Component, pageProps }: AppProps) { userStore.fetchUser() }, []) + const title = pageProps.title + ? pageProps.title.endsWith('Solar Network') + ? pageProps.title + : `${pageProps.title} | Solsynth LLC` + : 'Solsynth LLC' + return ( <> + + {title} + + diff --git a/src/pages/terms/index.tsx b/src/pages/terms/index.tsx new file mode 100644 index 0000000..7f9a81d --- /dev/null +++ b/src/pages/terms/index.tsx @@ -0,0 +1,52 @@ +import { Box, Button, Card, CardActions, CardContent, Container, Typography } from '@mui/material' +import Link from 'next/link' + +export default function Terms() { + return ( + + + Terms & Conditions + + + + Nothing too special here, just some legal files which make our lawyers happy.{' '} + Do we really have a lawyer? + + + + + + + Privacy Policy + + + Learn about how do we protect your data and privacy. + + + + + + + + + + + + User Agreements + + + + Learn about how do we dealing the user generated content on Solar Network, distrubution of our products + and more. + + + + + + + + + + + ) +} diff --git a/src/pages/terms/privacy-policy.tsx b/src/pages/terms/privacy-policy.tsx new file mode 100644 index 0000000..d57fd76 --- /dev/null +++ b/src/pages/terms/privacy-policy.tsx @@ -0,0 +1,65 @@ +import { Box, Container, Divider, Typography } from '@mui/material' + +export async function getStaticProps() { + return { + props: { + title: 'Privacy Policy', + }, + } +} + +export default function PrivacyPolicy() { + return ( + + + Privacy Policy + + + + + +

Introduction

+

+ We take your privacy seriously. This privacy policy outlines the types of personal information we collect, how + we use it, and the measures we take to protect your data. +

+

Information Collection

+

+ We collect personal information only when necessary to provide our services. This may include your name, email + address, and other relevant details. +

+

Use of Information

+

We use your personal information to:

+
    +
  • Provide and improve our services
  • +
  • Communicate with you about updates or important information
  • +
  • Ensure compliance with legal obligations
  • +
+

Data Sharing

+

We do not sell, trade, or share your personal information with third parties except as required by law.

+

Data Security

+

+ We implement robust security measures to protect your personal information from unauthorized access, + alteration, disclosure, or destruction. +

+

Your Rights

+

You have the right to:

+
    +
  • Access the personal information we hold about you
  • +
  • Request corrections to your personal information
  • +
  • Request the deletion of your personal information
  • +
+

Contact Us

+

+ If you have any questions or concerns about this privacy policy or our data practices, please contact us at + lily@solsynth.dev. +

+

Changes to This Policy

+

+ We may update this privacy policy from time to time. Any changes will be posted on this page, and we will + notify you of any significant changes. +

+
+
+ ) +} diff --git a/src/pages/terms/user-agreements.tsx b/src/pages/terms/user-agreements.tsx new file mode 100644 index 0000000..510a828 --- /dev/null +++ b/src/pages/terms/user-agreements.tsx @@ -0,0 +1,121 @@ +import { Box, Container, Divider, Typography } from '@mui/material' + +export async function getStaticProps() { + return { + props: { + title: 'User Agreements', + }, + } +} + +export default function PrivacyPolicy() { + return ( + + + User Agreements + + + + + +

+ This Agreement applies to all Solsynth LLC products, including but not limited to Solar Network, Solian, + DietaryGuard, AceField. +

+

Provision and Discontinuance of Service

+

+ Solsynth LLC will provide equal service to all living things in the world, including grasshoppers. We also + reserve the right to stop service to any user. We do not require prior notice for discontinuing services to + some users. +

+

User Generated Content

+

+ Any content posted on Solar Network (including but not limited to posts, articles, attachments) grants + Solsynth LLC the right to display it by default. Unless otherwise stated by the user, all rights are reserved + by the original poster, and reprints should be authorized by the original poster. +

+

Reproduction Recognition

+

+ Unless specifically stated by the poster, all content is subject to the definition of reprint in this section. +

+

+ Republishing means uploading the content of the original post to another platform or to the Solar Network, + either unchanged or with minor modifications, provided that simultaneous reposting of the post, embedded + components, and links to the presentation do not constitute republishing. Republishing also requires + attribution when authorized by the original poster. +

+

Freedom of Speech

+

+ We do not remove user-generated content except in cases of misuse of resources. We will not ask any user to + remove any content. +

+

+ However, Solsynth LLC reserves the right to restrict and stop the display of content to the public that + violates community guidelines (e.g., obscenity, violence, gore, anti-social, terrorist organizations, etc.). +

+

+ Although you have 100% freedom of speech on Solar Network. However, please be aware that freedom of speech + does not mean that you will not be held accountable for what you say. +

+

Restriction and Discontinuation

+
    +
  • +

    + Restriction of Display: Discontinuation of related tweets, while retaining the right to access them + directly through resource identifiers and sharing links. +

    +
  • +
  • +

    Cease display: stop all access to the resource by anyone other than the author.

    +
  • +
+

Resource Misuse Prevention Policy

+

+ Although there are no capacity limitations for using Solar Network's data hosting services, resources + determined to be abusive will be disenfranchised from some features. Solsynth LLC reserves the right to + reclaim space on previously uploaded resources for deletion. +

+

Determination of Misuse

+
    +
  • + Uploading without using: e.g. uploading excessive attachments in Solar Network's Interactive Attachment + Pool and not linking them to posts. +
  • +
  • Meaningless Posts: meaningless shuffling or wasting of Solar Network's storage resources
  • +
  • + Misuse: using Solar Network's public resources as if they were your own dedicated pool (see the + Wiki's Dedicated Pools page for details). +
  • +
+

The Solsynth Trust & Safety Team is ultimately responsible for determining misuse.

+

Secondary Releases

+

A secondary release is when our assets are downloaded and re-hosted on another site.

+

Product Secondary Release

+

+ Unless otherwise stated, Solsynth LLC products are not available for secondary distribution, please do not + download our product builds and upload them twice to another site. Please do not download our product builds + and upload them to other sites. Secondary distribution for commercial use is not permitted.. +

+

+ What you should do is post a link to our product on another site. Or use the embedded component. And indicate + Solsynth LLC All Rights Reserved. +

+

If you want to build a mirror site of our products, please contact us to waive this rule.

+

Secondary distribution of source code

+

+ We do not allow any form of redistribution of source code (except for Forks). This includes, but is not + limited to, mirroring code repositories on GitHub or the Solsynth Code Repository to other Git providers such + as GitLab, Gitee, and so on. + Selling source code twice is not allowed. +

+

+ For more information on source code usage regulations, please follow the open source license used by the + project. +

+

If you would like to set up a mirror of our source code, please contact us to waive this policy.

+
+

Solsynth LLC reserves the right of final interpretation of this agreement.

+
+
+ ) +}