-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
685757d
commit 2ea29a1
Showing
8 changed files
with
271 additions
and
4 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,13 @@ | ||
package handlers | ||
|
||
import ( | ||
"context" | ||
"net/http" | ||
|
||
"github.com/kailashchoudhary11/repo-guard/templates" | ||
) | ||
|
||
func PrivacyPolicy(w http.ResponseWriter, r *http.Request) { | ||
template := templates.PrivacyPolicy() | ||
template.Render(context.Background(), w) | ||
} |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,7 +1,13 @@ | ||
package templates | ||
|
||
templ Navbar() { | ||
<nav class="bg-[#0F1322] text-3xl font-black text-white py-8 px-32 font-maven"> | ||
Repo Guard | ||
<nav class="bg-[#0F1322] text-white py-8 px-32 font-maven flex justify-between items-center"> | ||
<a href="/" class="text-3xl font-black">Repo Guard</a> | ||
<div class="space-x-8"> | ||
<a href="/privacy-policy" class="text-xl hover:text-[#8855EA] transition-colors duration-300"> | ||
Privacy | ||
Policy | ||
</a> | ||
</div> | ||
</nav> | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,107 @@ | ||
package templates | ||
|
||
templ PrivacyPolicy() { | ||
@Layout("Privacy Policy") { | ||
<div class="font-maven bg-gray-900 min-h-screen text-white py-12 px-4 sm:px-6 lg:px-8"> | ||
<div class="max-w-3xl mx-auto bg-gray-800 shadow-md rounded-lg overflow-hidden"> | ||
<div class="px-6 py-8 text-white"> | ||
<h1 class="text-3xl text-white font-bold mb-6">Privacy Policy</h1> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl text-white font-semibold mb-4">Introduction</h2> | ||
<p> | ||
Welcome to Repo-Guard! We value your privacy and are committed to protecting | ||
your personal information. This | ||
Privacy Policy outlines how we handle data when you use the Repo-Guard GitHub | ||
app. | ||
</p> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Information We Collect</h2> | ||
<h3 class="text-xl font-medium mb-2">1. Repository Data</h3> | ||
<p class="mb-2"> | ||
Repo-Guard requires read and write access to your repository's issues. | ||
Specifically, we collect and process: | ||
</p> | ||
<ul class="list-disc pl-6"> | ||
<li>Issue titles and descriptions</li> | ||
<li>Comments on issues</li> | ||
</ul> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">How We Use Your Information</h2> | ||
<h3 class="text-xl font-medium mb-2">1. Service Provision</h3> | ||
<p class="mb-2">We use the collected data to:</p> | ||
<ul class="list-disc pl-6"> | ||
<li>Detect and manage duplicate issues within your repositories</li> | ||
<li>Automatically close duplicate issues</li> | ||
<li>Comment on duplicate issues with links to similar existing issues</li> | ||
</ul> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Data Security</h2> | ||
<p class="mb-2"> | ||
We are committed to ensuring the security of your data. Our | ||
practices include: | ||
</p> | ||
<ul class="list-disc pl-6"> | ||
<li>Using secure communication protocols</li> | ||
<li> | ||
Ensuring our servers and databases are protected against unauthorized | ||
access | ||
</li> | ||
</ul> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Data Storage</h2> | ||
<p> | ||
We do not store any personal information or repository data. All data processing | ||
is done in real-time and no | ||
data is retained by Repo-Guard. | ||
</p> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Data Sharing and Disclosure</h2> | ||
<p> | ||
We do not share, sell, or trade your personal information or repository data | ||
with outside parties. | ||
</p> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Your Rights and Choices</h2> | ||
<h3 class="text-xl font-medium mb-2">1. Access and Update</h3> | ||
<p class="mb-4"> | ||
You can manage the permissions granted to Repo-Guard through your GitHub account | ||
settings. | ||
</p> | ||
<h3 class="text-xl font-medium mb-2">2. Revocation of Access</h3> | ||
<p> | ||
You can revoke Repo-Guard's access to your GitHub account at any time by | ||
uninstalling the app from your GitHub | ||
account settings. | ||
</p> | ||
</section> | ||
<section class="mb-8"> | ||
<h2 class="text-2xl font-semibold mb-4">Changes to This Privacy Policy</h2> | ||
<p> | ||
We may update this Privacy Policy from time to time. Any changes will be posted | ||
on this page. | ||
</p> | ||
</section> | ||
<section> | ||
<h2 class="text-2xl font-semibold mb-4">Contact Us</h2> | ||
<p> | ||
If you have any questions or concerns about this Privacy Policy or our data | ||
practices, please contact us at: | ||
</p> | ||
<p class="mt-2"> | ||
Email: <a | ||
href="mailto:kailashjat604@gmail.com" | ||
class="text-blue-300 hover:underline" | ||
>kailashjat604@gmail.com</a> | ||
</p> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.