From a711d23ddc180d1d9905f7891565fc7bfb2a4dad Mon Sep 17 00:00:00 2001 From: nomi-nonsz Date: Tue, 2 Sep 2025 03:23:31 +0700 Subject: [PATCH] Legal stuff --- src/app/page.tsx | 41 +++++++++-------- src/app/privacy/page.tsx | 16 +++++++ src/app/terms/page.tsx | 16 +++++++ src/components/button.tsx | 13 ++++++ src/components/home-text.mdx | 4 +- src/components/landing-image.tsx | 2 +- src/components/page-template.tsx | 23 ++++++++++ src/components/texts/privacy-policy.mdx | 3 ++ src/components/texts/terms-and-condition.mdx | 46 ++++++++++++++++++++ src/components/windows.tsx | 26 ++++++----- 10 files changed, 157 insertions(+), 33 deletions(-) create mode 100644 src/app/privacy/page.tsx create mode 100644 src/app/terms/page.tsx create mode 100644 src/components/button.tsx create mode 100644 src/components/page-template.tsx create mode 100644 src/components/texts/privacy-policy.mdx create mode 100644 src/components/texts/terms-and-condition.mdx diff --git a/src/app/page.tsx b/src/app/page.tsx index 8390b65..8fbac58 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,25 +10,28 @@ export default function Home() { return (
-
-

- Nonszy Workspace -

-
- - - -
- -
-
-

⚡ Powered with Cloudflare ☁️

-
-
-

© 2024-2025 Nomi Nonsense

-
+
+

+ Nonszy Workspace +

+
+ + + +
+ +
+
+

⚡ Powered with Cloudflare ☁️

+
+
+

© 2024-2025 Nomi Nonsense

+

+ Terms and conditions and Privacy Policy +

+
); diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx new file mode 100644 index 0000000..3b70412 --- /dev/null +++ b/src/app/privacy/page.tsx @@ -0,0 +1,16 @@ +import type { Metadata } from "next"; + +import PrivacyPolicy from "@/components/texts/privacy-policy.mdx" +import { SimpleArticle } from "@/components/page-template"; + +export const metadata: Metadata = { + title: "Privacy Policy", +}; + +export default function Terms () { + return ( + + + + ) +} \ No newline at end of file diff --git a/src/app/terms/page.tsx b/src/app/terms/page.tsx new file mode 100644 index 0000000..6d607d1 --- /dev/null +++ b/src/app/terms/page.tsx @@ -0,0 +1,16 @@ +import type { Metadata } from "next"; + +import TermsAndConditions from "@/components/texts/terms-and-condition.mdx" +import { SimpleArticle } from "@/components/page-template"; + +export const metadata: Metadata = { + title: "Terms and conditions", +}; + +export default function Terms () { + return ( + + + + ) +} \ No newline at end of file diff --git a/src/components/button.tsx b/src/components/button.tsx new file mode 100644 index 0000000..fd601c5 --- /dev/null +++ b/src/components/button.tsx @@ -0,0 +1,13 @@ +import clsx from "clsx" + +export function ButtonPrimary({ + className, + ...props +}: React.ComponentProps<"button">) { + return ( + - +
+
+
+ {windowText}
- + +
+ + +
+
+
-
- {children} +
+
+ {children} +
) \ No newline at end of file