-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add cookie, privacy, and terms and conditions pages with routing (
#208) This pull request introduces several new features and improvements related to policy documentation and cookie consent functionality. The most important changes include the addition of new methods in the `AppController` to render policy views, updates to the `PublicLayout` to include cookie consent resources, and the creation of a new `CookiePolicy` view. ### New Methods in `AppController`: * Added methods `cookiePolicy`, `privacyPolicy`, and `termsConditions` to render respective policy views using the `View` class. ### Updates to `PublicLayout`: * Included a new stylesheet for cookie consent from a CDN. * Added a script to configure cookie consent. ### Creation of `CookiePolicy` View: * Created a detailed `CookiePolicy` view with sections on interpretation, definitions, types of cookies used, user choices regarding cookies, and contact information. ### Additional Changes: * Imported the `View` class in `AppController` to support rendering views.
- Loading branch information
Showing
8 changed files
with
411 additions
and
1 deletion.
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
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 |
---|---|---|
|
@@ -10,10 +10,12 @@ | |
<script src="/assets/js/app.js"></script> | ||
<script src="https://cdn.tailwindcss.com"></script> | ||
<link rel="stylesheet" href="/assets/css/app.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.css"> | ||
</head> | ||
|
||
<body class="w-full h-full"> | ||
<?= $content; ?> | ||
<script type="module" src="/assets/js/cookieconsent-config.js"></script> | ||
</body> | ||
|
||
</html> |
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,62 @@ | ||
<div class="mt-4 ml-4"> | ||
<h1 class="text-3xl font-bold mb-4">Cookies Policy</h1> | ||
<p class="mb-4">Last updated: December 12, 2024</p> | ||
<p class="mb-4">This Cookies Policy explains what Cookies are and how We use them. You should read this policy so You can understand what type of cookies We use, or the information We collect using Cookies and how that information is used. This Cookies Policy has been created with the help of the <a href="https://www.termsfeed.com/cookies-policy-generator/" target="_blank" class="text-blue-500 underline">Cookies Policy Generator</a>.</p> | ||
<p class="mb-4">Cookies do not typically contain any information that personally identifies a user, but personal information that we store about You may be linked to the information stored in and obtained from Cookies. For further information on how We use, store and keep your personal data secure, see our Privacy Policy.</p> | ||
<p class="mb-4">We do not store sensitive personal information, such as mailing addresses, account passwords, etc. in the Cookies We use.</p> | ||
<h2 class="text-2xl font-semibold mb-2">Interpretation and Definitions</h2> | ||
<h3 class="text-xl font-semibold mb-2">Interpretation</h3> | ||
<p class="mb-4">The words of which the initial letter is capitalized have meanings defined under the following conditions. The following definitions shall have the same meaning regardless of whether they appear in singular or in plural.</p> | ||
<h3 class="text-xl font-semibold mb-2">Definitions</h3> | ||
<p class="mb-4">For the purposes of this Cookies Policy:</p> | ||
<ul class="list-disc list-inside mb-4"> | ||
<li><strong>Company</strong> (referred to as either "the Company", "We", "Us" or "Our" in this Cookies Policy) refers to UrbanTree.</li> | ||
<li><strong>Cookies</strong> means small files that are placed on Your computer, mobile device or any other device by a website, containing details of your browsing history on that website among its many uses.</li> | ||
<li><strong>Website</strong> refers to UrbanTree, accessible from <a href="urbantree.alumnat.iemsontsia.org" rel="external nofollow noopener" target="_blank" class="text-blue-500 underline">urbantree.alumnat.iemsontsia.org</a></li> | ||
<li><strong>You</strong> means the individual accessing or using the Website, or a company, or any legal entity on behalf of which such individual is accessing or using the Website, as applicable.</li> | ||
</ul> | ||
<h2 class="text-2xl font-semibold mb-2">The use of the Cookies</h2> | ||
<h3 class="text-xl font-semibold mb-2">Type of Cookies We Use</h3> | ||
<p class="mb-4">Cookies can be "Persistent" or "Session" Cookies. Persistent Cookies remain on your personal computer or mobile device when You go offline, while Session Cookies are deleted as soon as You close your web browser.</p> | ||
<p class="mb-4">We use both session and persistent Cookies for the purposes set out below:</p> | ||
<ul class="list-disc list-inside mb-4"> | ||
<li class="mb-4"> | ||
<p><strong>Necessary / Essential Cookies</strong></p> | ||
<p>Type: Session Cookies</p> | ||
<p>Administered by: Us</p> | ||
<p>Purpose: These Cookies are essential to provide You with services available through the Website and to enable You to use some of its features. They help to authenticate users and prevent fraudulent use of user accounts. Without these Cookies, the services that You have asked for cannot be provided, and We only use these Cookies to provide You with those services.</p> | ||
</li> | ||
<li class="mb-4"> | ||
<p><strong>Functionality Cookies</strong></p> | ||
<p>Type: Persistent Cookies</p> | ||
<p>Administered by: Us</p> | ||
<p>Purpose: These Cookies allow us to remember choices You make when You use the Website, such as remembering your login details or language preference. The purpose of these Cookies is to provide You with a more personal experience and to avoid You having to re-enter your preferences every time You use the Website.</p> | ||
</li> | ||
</ul> | ||
<h3 class="text-xl font-semibold mb-2">Your Choices Regarding Cookies</h3> | ||
<p class="mb-4">If You prefer to avoid the use of Cookies on the Website, first You must disable the use of Cookies in your browser and then delete the Cookies saved in your browser associated with this website. You may use this option for preventing the use of Cookies at any time.</p> | ||
<p class="mb-4">If You do not accept Our Cookies, You may experience some inconvenience in your use of the Website and some features may not function properly.</p> | ||
<p class="mb-4">If You'd like to delete Cookies or instruct your web browser to delete or refuse Cookies, please visit the help pages of your web browser.</p> | ||
<ul class="list-disc list-inside mb-4"> | ||
<li class="mb-4"> | ||
<p>For the Chrome web browser, please visit this page from Google: <a href="https://support.google.com/accounts/answer/32050" rel="external nofollow noopener" target="_blank" class="text-blue-500 underline">https://support.google.com/accounts/answer/32050</a></p> | ||
</li> | ||
<li class="mb-4"> | ||
<p>For the Internet Explorer web browser, please visit this page from Microsoft: <a href="http://support.microsoft.com/kb/278835" rel="external nofollow noopener" target="_blank" class="text-blue-500 underline">http://support.microsoft.com/kb/278835</a></p> | ||
</li> | ||
<li class="mb-4"> | ||
<p>For the Firefox web browser, please visit this page from Mozilla: <a href="https://support.mozilla.org/en-US/kb/delete-cookies-remove-info-websites-stored" rel="external nofollow noopener" target="_blank" class="text-blue-500 underline">https://support.mozilla.org/en-US/kb/delete-cookies-remove-info-websites-stored</a></p> | ||
</li> | ||
<li class="mb-4"> | ||
<p>For the Safari web browser, please visit this page from Apple: <a href="https://support.apple.com/guide/safari/manage-cookies-and-website-data-sfri11471/mac" rel="external nofollow noopener" target="_blank" class="text-blue-500 underline">https://support.apple.com/guide/safari/manage-cookies-and-website-data-sfri11471/mac</a></p> | ||
</li> | ||
</ul> | ||
<p class="mb-4">For any other web browser, please visit your web browser's official web pages.</p> | ||
<h3 class="text-xl font-semibold mb-2">More Information about Cookies</h3> | ||
<p class="mb-4">You can learn more about cookies here: <a href="https://www.termsfeed.com/blog/cookies/" target="_blank" class="text-blue-500 underline">All About Cookies by TermsFeed</a>.</p> | ||
<h3 class="text-xl font-semibold mb-2">Contact Us</h3> | ||
<p class="mb-4">If you have any questions about this Cookies Policy, You can contact us:</p> | ||
<ul class="list-disc list-inside mb-4"> | ||
<li>By email: [email protected]</li> | ||
</ul> | ||
</div> |
Oops, something went wrong.