Skip to content

Commit

Permalink
chore: add end user license agreement page
Browse files Browse the repository at this point in the history
  • Loading branch information
RejinaKP committed Oct 25, 2024
1 parent 0836a9d commit 1a7d982
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,20 @@ const insightsCollection = defineCollection({
cardImageAlt: z.string(),
}),
});
const legalCollection = defineCollection({
type: "content",
schema: () =>
z.object({
title: z.string(),
metaTitle: z.string().optional(),
description: z.string().optional(),
}),
});

export const collections = {
docs: defineCollection({ schema: docsSchema() }),
"patterns": patternsCollection,
"blog": blogCollection,
"insights": insightsCollection,
"legal": legalCollection,
};
62 changes: 62 additions & 0 deletions src/content/legal/en/cli-eula.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: "End User License Agreement (EULA) for Resource Surveillance & Integration Engine (surveilr) CLI App"
metaTitle: "End User License Agreement (EULA) for Resource Surveillance & Integration Engine (surveilr) CLI App"
description: "End User License Agreement (EULA) for Resource Surveillance & Integration Engine (surveilr) CLI App"
---

**Effective Date:** January 1, 2024

**PLEASE READ THIS END USER LICENSE AGREEMENT ("AGREEMENT") CAREFULLY BEFORE USING THE surveilr BINARY SOFTWARE ("SOFTWARE"). BY USING THE SOFTWARE, YOU AGREE TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, DO NOT USE THE SOFTWARE.**

This End User License Agreement (“Agreement”) is a legal agreement between you (either an individual or a legal entity, referred to as "User" or "You") and the creators of surveilr ("Licensor") for the use of the surveilr binary software.

## 1\. Grant of License

Licensor grants the User a free, perpetual, non-exclusive, worldwide license to use the surveilr binary software, subject to the conditions set forth in this Agreement.

## 2\. Usage Rights

* **Free Use**: You are permitted to download, install, and use the Software free of charge for personal, educational, commercial, or non-commercial purposes.

* **Prohibition on Modification**: You may not modify, alter, or create derivative works based on the Software.

* **Prohibition on Distribution**: You may not distribute, sell, sublicense, rent, lease, or otherwise transfer the Software or copies of the Software to any third party.


## 3\. Ownership

The Software is licensed, not sold. The Licensor retains all ownership, copyright, and intellectual property rights to the Software. This Agreement does not grant You any ownership rights to the Software.

## 4\. No Warranty

THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE ENTIRE RISK ARISING OUT OF THE USE OR PERFORMANCE OF THE SOFTWARE REMAINS WITH YOU.

## 5\. Limitation of Liability

IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA, OR DATA USE, ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

## 6\. Compliance with Laws

You agree to use the Software in compliance with all applicable laws and regulations. You shall not use the Software in any unlawful or prohibited way, including, but not limited to, the use of the Software in violation of any privacy, data protection, or intellectual property laws.

## 7\. Termination

This Agreement is effective until terminated. You may terminate it at any time by destroying all copies of the Software in your possession or control. This Agreement will also automatically terminate if you fail to comply with any of its terms. Upon termination, You must cease all use of the Software and destroy all copies.

## 8\. Governing Law

This Agreement shall be governed by and construed in accordance with the laws of the United States of America, without regard to its conflict of law provisions.

## 9\. Entire Agreement

This Agreement constitutes the entire understanding between the parties with respect to the Software and supersedes all prior agreements, discussions, or understandings. No amendment or modification of this Agreement will be binding unless in writing and signed by Licensor.

## 10\. Severability

If any provision of this Agreement is found to be illegal, invalid, or unenforceable, the remaining provisions of this Agreement will remain in full force and effect.

By using the Software, you acknowledge that you have read, understood, and agree to be bound by this Agreement.

**Licensor:** Netspective Communications LLC

**Contact Information:** [help@surveilr.com](mailto:help@surveilr.com)
95 changes: 95 additions & 0 deletions src/pages/legal/[...slug].astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
// Import section components
import { SITE } from "@data/constants";
import MainLayout from "@/layouts/MainLayout.astro";
import { getCollection } from "astro:content";
// Use `getStaticPaths` to generate static routes for generated pages on build
export async function getStaticPaths() {
const legalPosts = await getCollection("legal", ({ id }) =>
id.startsWith("en/")
);
return legalPosts.map((post) => {
const slugWithoutLang = post.slug.replace(/^en\//, ""); // Remove the "fr/" prefix
return {
params: { slug: slugWithoutLang },
props: { post },
};
});
}
const { post } = Astro.props;
const { Content } = await post.render();
const pageTitle: string = `${post.data.title} | ${SITE.title}`;
---

<MainLayout title={pageTitle}>
<section class="py-6 sm:py-8 lg:py-12">
<div class="mx-auto max-w-screen-xl px-4 md:px-8">
<div class="grid gap-8 md:grid-cols-12 lg:gap-12">

<!-- Main Content -->
<div class="md:col-span-12">

<div class="md:pt-8">
<h1 class="mb-4 text-balance text-center text-2xl font-bold text-neutral-800 dark:text-neutral-200 sm:text-3xl md:mb-6 md:text-left">
{post.data.title}
</h1>

<article class="text-pretty text-lg text-neutral-700 dark:text-neutral-300">
<Content />
</article>
</div>
</div>
</div>
</div>
</section>

</MainLayout>

<style is:global>
:root {
--transition-cubic: cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
scroll-behavior: smooth;
}

article h2,
article h3,
article h4,
article h5,
article h6 {
font-weight: bold;
margin-top: 2.5rem;
scroll-margin-top: 3rem;
}

h2 {
font-size: 1.5rem;
line-height: 2rem;
}

h3 {
font-size: 1.25rem;
line-height: 1.75rem;
}

h4 {
font-size: 1.125rem;
line-height: 1.75rem;
}

p {
margin-top: 1.5rem;
}
a {
color: #b73d00;
}
a:hover {
color: #ae8a5e;
}
</style>

0 comments on commit 1a7d982

Please sign in to comment.