Skip to content

Commit

Permalink
Merge pull request #200 from Exifly/main
Browse files Browse the repository at this point in the history
v2.0.2
  • Loading branch information
gdjohn4s authored Jun 3, 2023
2 parents 63b67e2 + 13f8714 commit 2bafe2b
Show file tree
Hide file tree
Showing 7 changed files with 417 additions and 1 deletion.
18 changes: 18 additions & 0 deletions frontend/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,24 @@
>Sponsor</a
>
</li>
<li class="nav-item">
<NuxtLink
title="Apivault Cookie Policy"
tabindex="7"
to="/cookie-policy"
class="nav-link px-2 text-wrapper"
>Cookie Policy</NuxtLink
>
</li>
<li class="nav-item">
<NuxtLink
title="Apivault Privacy Policy"
tabindex="8"
to="/privacy-policy"
class="nav-link px-2 text-wrapper"
>Privacy Policy</NuxtLink
>
</li>
</ul>
</footer>
</template>
Expand Down
10 changes: 10 additions & 0 deletions frontend/models/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ export interface GithubContributor {
login: string;
avatar_url: string;
html_url: string;
}

export interface FirebaseConfig {
apiKey: string;
authDomain: string;
projectId: string;
storageBucket: string;
messagingSenderId: string;
appId: string;
measurementId: string;
}
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-app",
"version": "2.0.1",
"version": "2.0.2",
"private": true,
"scripts": {
"build": "nuxt build",
Expand Down
102 changes: 102 additions & 0 deletions frontend/pages/cookie-policy.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<template>
<NuxtLayout name="body-content" title="COOKIE POLICY">
<template #cardAreaContent>
<p class="text-wrapper">
This is the Cookie Policy for APIVault, accessible from
<a class="text-wrapper" target="_blank" href="https://apivault.dev"
>https://apivault.dev</a
>
</p>
<h1 class="text-wrapper">What Are Cookies?</h1>
<p class="text-wrapper">
As is common practice with almost all professional websites this site
uses cookies, which are tiny files that are downloaded to your computer,
to improve your experience. This page describes what information they
gather, how we use it and why we sometimes need to store these cookies.
We will also share how you can prevent these cookies from being stored
however this may downgrade or 'break' certain elements of the sites
functionality.
</p>
<h1 class="text-wrapper">How We Use Cookies</h1>
<p class="text-wrapper">
We use cookies for a variety of reasons detailed below. Unfortunately in
most cases there are no industry standard options for disabling cookies
without completely disabling the functionality and features they add to
this site. It is recommended that you leave on all cookies if you are
not sure whether you need them or not in case they are used to provide a
service that you use.
</p>
<h1 class="text-wrapper">Disabling Cookies</h1>
<p class="text-wrapper">
You can prevent the setting of cookies by adjusting the settings on your
browser (see your browser Help for how to do this). Be aware that
disabling cookies will affect the functionality of this and many other
websites that you visit. Disabling cookies will usually result in also
disabling certain functionality and features of the this site. Therefore
it is recommended that you do not disable cookies. This Cookies Policy
was created with the help of the
<a
class="text-wrapper"
target="_blank"
href="https://www.cookiepolicygenerator.com/cookie-policy-generator/"
>Cookies Policy</a
>
Generator.
</p>
<h1 class="text-wrapper">The Cookies We Set</h1>
<p class="text-wrapper">
In order to provide you with a great experience on this site we provide
the functionality to set your preferences for how this site runs when
you use it. In order to remember your preferences we need to set cookies
so that this information can be called whenever you interact with a page
is affected by your preferences.
</p>
<h1 class="text-wrapper">Third Party Cookies</h1>
<p class="text-wrapper">
In some special cases we also use cookies provided by trusted third
parties. The following section details which third party cookies you
might encounter through this site.
<br />
This site uses Google Analytics which is one of the most widespread and
trusted analytics solution on the web for helping us to understand how
you use the site and ways that we can improve your experience. These
cookies may track things such as how long you spend on the site and the
pages that you visit so we can continue to produce engaging content.
<br />
For more information on Google Analytics cookies, see the official
Google Analytics page.
</p>
<h1 class="text-wrapper">More Information</h1>
<p class="text-wrapper">
Hopefully that has clarified things for you and as was previously
mentioned if there is something that you aren't sure whether you need or
not it's usually safer to leave cookies enabled in case it does interact
with one of the features you use on our site.
</p>
<p class="text-wrapper">
For more general information on cookies, please read
<a
class="text-wrapper"
target="_blank"
href="https://www.cookiepolicygenerator.com/sample-cookies-policy/"
>the Cookies Policy</a
>
article.
</p>
<p class="text-wrapper">
However if you are still looking for more information then you can
contact us through one of our preferred contact methods: <br />
email: [email protected]
</p>
</template>
<template #footerArea>
<Footer />
</template>
</NuxtLayout>
</template>

<style scoped>
h1 {
margin-top: 3rem;
}
</style>
9 changes: 9 additions & 0 deletions frontend/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@ import { categoriesDict } from "~/utils/categoryMapping";
import { TrendingCategory } from "~/models/types";
import { APIType } from "~/models/types";
// adding cookie script
useHead({
script: [
{
src: "https://app.enzuzo.com/apps/enzuzo/static/js/__enzuzo-cookiebar.js?uuid=f59a7360-00b5-11ee-a49e-231d479eb14f",
},
],
});
// layout name
const layouts: string = "body-content";
Expand Down
Loading

0 comments on commit 2bafe2b

Please sign in to comment.