-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a footer and tos and pp pages
- Loading branch information
1 parent
f8348d5
commit 7b6967c
Showing
5 changed files
with
193 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
import Link from "next/link"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className="border-t bg-gray-100 py-8 dark:bg-slate-950"> | ||
<div className="container mx-auto px-4"> | ||
<div className="flex flex-wrap justify-between"> | ||
<div className="mb-4 w-full md:w-1/3"> | ||
<h3 className="mb-2 text-lg font-semibold text-gray-900 dark:text-gray-100"> | ||
Survive The Night | ||
</h3> | ||
<p className="text-sm text-gray-600 dark:text-gray-300"> | ||
A zombie survival simulation game that challenges both AI models | ||
and human players. | ||
</p> | ||
</div> | ||
<div className="mb-4 w-full md:w-1/3"> | ||
<h3 className="mb-2 text-lg font-semibold text-gray-900 dark:text-gray-100"> | ||
Quick Links | ||
</h3> | ||
<ul className="space-y-2"> | ||
<li> | ||
<Link | ||
href="/" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Home | ||
</Link> | ||
</li> | ||
<li> | ||
<Link | ||
href="/play" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Play | ||
</Link> | ||
</li> | ||
<li> | ||
<Link | ||
href="/rules" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Rules | ||
</Link> | ||
</li> | ||
<li> | ||
<Link | ||
href="/playground" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Playground | ||
</Link> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className="mb-4 w-full md:w-1/3"> | ||
<h3 className="mb-2 text-lg font-semibold text-gray-900 dark:text-gray-100"> | ||
Connect | ||
</h3> | ||
<p className="text-sm text-gray-600 dark:text-gray-300"> | ||
Follow us on social media for updates and community discussions. | ||
</p> | ||
<div className="mt-2"> | ||
<Link | ||
href="https://discord.gg/N2uEyp7Rfu" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300" | ||
> | ||
Join our Discord community | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="mt-8 border-t border-gray-200 pt-4 text-center dark:border-gray-700"> | ||
<p className="text-sm text-gray-600 dark:text-gray-300"> | ||
© {new Date().getFullYear()} Survive The Night. All rights | ||
reserved. | ||
</p> | ||
<div className="mt-2 space-x-4"> | ||
<Link | ||
href="/terms" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Terms of Service | ||
</Link> | ||
<Link | ||
href="/privacy" | ||
className="text-sm text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100" | ||
> | ||
Privacy Policy | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export default function PrivacyPolicy() { | ||
return ( | ||
<div className="container mx-auto py-12"> | ||
<article className="prose dark:prose-invert lg:prose-xl"> | ||
<h1>Privacy Policy</h1> | ||
<p> | ||
At Survive The Night, we are committed to protecting your privacy. | ||
This Privacy Policy explains how we collect, use, disclose, and | ||
safeguard your information when you visit our website or use our | ||
services. | ||
</p> | ||
<h2>1. Information We Collect</h2> | ||
<p> | ||
We may collect personal information that you provide directly to us, | ||
such as when you create an account, contact us, or participate in any | ||
interactive features of our services. | ||
</p> | ||
<h2>2. How We Use Your Information</h2> | ||
<p> | ||
We use the information we collect for various purposes, including to | ||
provide, maintain, and improve our services, to communicate with you, | ||
and to detect, prevent, and address technical issues. | ||
</p> | ||
<h2>3. Sharing of Your Information</h2> | ||
<p> | ||
We do not share, sell, rent or trade your personal information with | ||
third parties for their commercial purposes, except as described in | ||
this policy or with your consent. | ||
</p> | ||
{/* Add more sections as needed */} | ||
</article> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export default function TermsOfService() { | ||
return ( | ||
<div className="container mx-auto py-12"> | ||
<article className="prose dark:prose-invert lg:prose-xl"> | ||
<h1>Terms of Service</h1> | ||
<p> | ||
Welcome to Survive The Night. By using our website and services, you | ||
agree to comply with and be bound by the following terms and | ||
conditions. | ||
</p> | ||
<h2>1. Acceptance of Terms</h2> | ||
<p> | ||
By accessing or using Survive The Night, you agree to these Terms of | ||
Service and all applicable laws and regulations. If you do not agree | ||
with any part of these terms, you may not use our services. | ||
</p> | ||
<h2>2. Use of Service</h2> | ||
<p> | ||
You agree to use Survive The Night only for lawful purposes and in a | ||
way that does not infringe the rights of, restrict or inhibit anyone | ||
else's use and enjoyment of the website. | ||
</p> | ||
<h2>3. Intellectual Property</h2> | ||
<p> | ||
The content, organization, graphics, design, compilation, magnetic | ||
translation, digital conversion and other matters related to Survive | ||
The Night are protected under applicable copyrights, trademarks and | ||
other proprietary rights. | ||
</p> | ||
{/* Add more sections as needed */} | ||
</article> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters