Skip to content

[feat] Added a better designed privacy page #781 #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Open your browser and visit <http://localhost:3000> to see the application runni

## Working on New Features


If you're new to Github and working with open source repositories, I made a video a while back which walks you through the process:
[![How to make a pull request on an open source project](https://img.youtube.com/vi/8A4TsoXJOs8/0.jpg)](https://youtu.be/8A4TsoXJOs8)

Expand Down
57 changes: 48 additions & 9 deletions packages/app/src/app/privacy/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,54 @@
import { Heading } from "@/components/ui/heading";
import Link from "next/link";

function PrivacyPage({}) {
const page = () => {
return (
<div className="pt-12 pb-12">
<Heading
title="Privacy Policies"
description="Privacy policies for Code Racer"
/>
{/* ADD PRIVACY POLICY */}
<div className="pt-12 pb-12 md:w-3/4 w-full md:pl-12 ">
<Heading title="Privacy Policies" />
<p className="text-sm md:text-md text-gray-600 dark:text-gray-300 text-left">Privacy policies for Code Racer</p>
<p className="text-left mt-6 text-sm lg:text-md">
At Code Racer, we value your privacy and are committed to protecting your personal information. This Privacy Policy outlines how we collect, use, and protect any data you share while using our platform.
</p>

<div className="flex flex-col justify-center mt-8 gap-4">
<section>
<h2 className="text-lg md:text-xl font-semibold">Information We Collect</h2>
<p className="mb-4 text-sm md:text-md">
At Code Racer, we collect limited information to offer you a smooth, competitive, and personalized experience. When you register or sign in (optionally via services like GitHub), we may collect basic user data such as your name, email, and profile image.
</p>
</section>

<section className="my-2">
<h2 className="text-lg md:text-xl font-semibold">How We Use Your Information</h2>
<p className="text-sm md:text-md">
All collected information is used solely to enhance your experience on Code Racer. We use it to manage races, maintain leaderboards, track progress, and occasionally communicate important updates.
</p>
</section>

<section className="my-2 ">
<h2 className="text-lg md:text-xl font-semibold">Cookies and Tracking</h2>
<p className="text-sm md:text-md">
Cookies may be used to remember your session, improve navigation, and gather usage analytics. You can disable cookies in your browser settings if you prefer, but please note that some features of the site might not function as intended.
</p>
</section>

<section className="my-2">
<h2 className="text-lg md:text-xl font-semibold">Data Security</h2>
<p className="text-sm md:text-md">
We implement industry-standard security measures to protect your data. However, no system is 100% secure, so we advise users to keep strong passwords and log out after sessions.
</p>
</section>

<section className="my-2">
<h2 className="text-lg md:text-xl font-semibold">Third-Party Services</h2>
<p className="text-sm md:text-md">
If we integrate with third-party services (like GitHub OAuth), their respective privacy policies will apply. We encourage users to review those policies before use.
</p>
</section>

</div>
</div>
);
}
};

export default PrivacyPage;
export default page;