From 19a1256a3696434ee2461ada2f0e67c776d70bfd Mon Sep 17 00:00:00 2001 From: mintpic dev <108204467+mintpic@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:30:45 -0500 Subject: [PATCH] Commit newer1 --- src/pages/links.tsx | 100 ++++++++++++++++++++++++++++++++++++++++++++ src/pages/terms.tsx | 62 +++++++++++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 src/pages/links.tsx create mode 100644 src/pages/terms.tsx diff --git a/src/pages/links.tsx b/src/pages/links.tsx new file mode 100644 index 0000000..44174ee --- /dev/null +++ b/src/pages/links.tsx @@ -0,0 +1,100 @@ +import React, { useState } from 'react'; +import Head from 'next/head'; +import Link from 'next/link'; + +const LinksPage: React.FC = () => { + const [isAuthenticated, setIsAuthenticated] = useState(false); + const [password, setPassword] = useState(''); + + const handleLogin = () => { + if (password === 'nullshiftrules') { + setIsAuthenticated(true); + } else { + alert('Incorrect password!'); + } + }; + + if (!isAuthenticated) { + return ( +
+
+

Enter Password

+ setPassword(e.target.value)} + /> + +
+
+ ); + } + + return ( + <> + + Links - NullShift + + +
+ {/* Header */} +
+
+ + nullshift.xyz + +
+
+ + {/* Main Content */} +
+

Useful Links

+ +
+ + {/* Footer */} + +
+ + ); +}; + +export default LinksPage; diff --git a/src/pages/terms.tsx b/src/pages/terms.tsx new file mode 100644 index 0000000..c46dc12 --- /dev/null +++ b/src/pages/terms.tsx @@ -0,0 +1,62 @@ +import React from 'react'; +import Head from 'next/head'; +import Link from 'next/link'; + +const TermsPage: React.FC = () => { + return ( + <> + + Terms and Conditions - NullShift + + +
+ {/* Header */} +
+
+ + nullshift.xyz + +
+
+ + {/* Main Content */} +
+

Terms and Conditions

+

+ Welcome to NullShift! These terms and conditions outline the rules and regulations for the use of our website. +

+

1. Introduction

+

+ By accessing this website, you agree to comply with these terms and conditions. If you disagree with any part of these terms, please do not use our website. +

+

2. Usage

+

+ The content on this website is for general information and use only. It is subject to change without notice. +

+

3. Intellectual Property

+

+ The website and its content are owned by NullShift and protected by intellectual property laws. +

+

4. Liability

+

+ NullShift is not responsible for any errors or omissions, or for the results obtained from the use of this information. +

+

5. Contact

+

+ If you have any questions about these Terms and Conditions, please contact us at support@nullshift.xyz. +

+
+ + {/* Footer */} + +
+ + ); +}; + +export default TermsPage;