Skip to content

Commit

Permalink
feat: update T&C
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSmolonski committed Nov 26, 2024
1 parent f8efacd commit 594c58a
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 745 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"@safe-global/api-kit": "^2.4.6",
"@safe-global/protocol-kit": "^4.1.1",
"@safe-global/safe-apps-sdk": "^9.1.0",
"@safe-global/safe-deployments": "1.37.12",
"@safe-global/safe-client-gateway-sdk": "v1.60.1",
"@safe-global/safe-deployments": "1.37.12",
"@safe-global/safe-gateway-typescript-sdk": "3.22.3-beta.15",
"@safe-global/safe-modules-deployments": "^2.2.1",
"@sentry/react": "^7.91.0",
Expand Down Expand Up @@ -90,6 +90,7 @@
"react-dropzone": "^14.2.3",
"react-gtm-module": "^2.0.11",
"react-hook-form": "7.41.1",
"react-markdown": "^9.0.1",
"react-papaparse": "^4.0.2",
"react-redux": "^9.1.2",
"semver": "^7.6.3",
Expand Down Expand Up @@ -170,4 +171,4 @@
"minimumChangeThreshold": 0,
"showDetails": true
}
}
}
2 changes: 1 addition & 1 deletion src/components/common/CookieAndTermBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const CookieAndTermBanner = ({
<Link href={AppRoutes.terms} style={{ textDecoration: 'underline' }}>
Terms & Conditions
</Link>{' '}
(last updated October 2024) and the use of necessary cookies.{' '}
and the use of necessary cookies.{' '}
<Link href={AppRoutes.cookie} style={{ textDecoration: 'underline' }}>
Cookie policy
</Link>
Expand Down
7 changes: 7 additions & 0 deletions src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,10 @@ export const SAFE_PASS_URL = 'community.safe.global'
export const ECOSYSTEM_ID_ADDRESS =
process.env.NEXT_PUBLIC_ECOSYSTEM_ID_ADDRESS || '0x0000000000000000000000000000000000000000'
export const MULTICHAIN_HELP_ARTICLE = `${HELP_CENTER_URL}/en/articles/222612-multi-chain-safe`

export const TERMS_LINK =
process.env.NEXT_PUBLIC_TERMS_LINK ||
'https://raw.githubusercontent.com/protofire/safe-legal/refs/heads/main/terms.md'
export const COOKIE_LINK =
process.env.NEXT_PUBLIC_COOKIE_LINK ||
'https://raw.githubusercontent.com/protofire/safe-legal/refs/heads/main/cookie.md'
177 changes: 22 additions & 155 deletions src/pages/cookie.tsx
Original file line number Diff line number Diff line change
@@ -1,162 +1,29 @@
import { Typography, Link } from '@mui/material'
import { COOKIE_LINK } from '@/config/constants'
import { Typography } from '@mui/material'
import { useEffect, useState } from 'react'
import ReactMarkdown from 'react-markdown'

const CookiePolicy = () => {
const [content, setContent] = useState<string>('')

useEffect(() => {
const fetchContent = async () => {
try {
const response = await fetch(COOKIE_LINK)
let text = await response.text()
text = text.replace(/\${origin}/g, window.location.origin)
setContent(text)
} catch (error) {
console.error('Error fetching cookie policy:', error)
}
}

fetchContent()
}, [])

return (
<main>
<Typography variant="h1" mb={2}>
Cookie Policy
</Typography>
<p>Last updated: January 2024.</p>
<p>
For general web-browsing of this website, your personal data is not revealed to us, although certain statistical
information is available to us via our internet service provider. We exclusively process your personal data in
pseudonymised form.
</p>
<p>
This Cookie Policy applies to our website at{' '}
<Link href="https://safe.evmos.org" target="_blank" rel="noreferrer">
https://safe.evmos.org
</Link>{' '}
and sets out some further detail on how and why we use these technologies on our website.
</p>
<p>
The terms &quot;you&quot; and &quot;your&quot; includes our clients, business partners and users of this
website.
</p>
<p>
By using our website, you consent to storage and access to cookies and other technologies on your device, in
accordance with this Cookie Policy.
</p>
<Typography variant="h2">What are cookies?</Typography>
<p>
Cookies are a feature of web browser software that allows web servers to recognize the computer or device used
to access a website. A cookie is a small text file that a website saves on your computer or mobile device when
you visit the site. It enables the website to remember your actions and preferences (such as login, language,
font size and other display preferences) over a period of time, so you don&apos;t have to keep re-entering them
whenever you come back to the site or browse from one page to another.
</p>
<h2>What are the different types of cookies?</h2>
<p>A cookie can be classified by its lifespan and the domain to which it belongs.</p>
<p>By lifespan, a cookie is either a:</p>
<ul>
<li>session cookie which is erased when the user closes the browser; or</li>
<li>
persistent cookie which is saved to the hard drive and remains on the user&apos;s computer/device for a
pre-defined period of time.
</li>
</ul>
<p>As for the domain to which it belongs, cookies are either:</p>
<ul>
<li>
first-party cookies which are set by the web server of the visited page and share the same domain (i.e. set by
us); or
</li>
<li>third-party cookies stored by a different domain to the visited page&apos;s domain.</li>
</ul>
<h2>What cookies do we use and why?</h2>
<p>We list all the cookies we use on this website in the APPENDIX below.</p>
<p>
We do not use cookies set by ourselves via our web developers (first-party cookies). We only have those set by
others (third-party cookies).
</p>
<p>
Cookies are also sometimes classified by reference to their purpose. We use the following cookies for the
following purposes:
</p>
<ul>
<li>
Analytical/performance cookies: They allow us to recognize and count the number of visitors and to see how
visitors move around our website when they are using it, as well as dates and times they visit. This helps us
to improve the way our website works, for example, by ensuring that users are finding what they are looking
for easily.
</li>
<li>
Targeting cookies: These cookies record your visit to our website, the pages you have visited and the links
you have followed, as well as time spent on our website, and the websites visited just before and just after
our website. We will use this information to make our website and the advertising displayed on it more
relevant to your interests. We may also share this information with third parties for this purpose.
</li>
</ul>
<p>
In general, we use cookies and other technologies (such as web server logs) on our website to enhance your
experience and to collect information about how our website is used.
</p>
<Typography variant="h2">Other Technologies</Typography>
<p>
We may allow others to provide analytics services and serve advertisements on our behalf. In addition to the
uses of cookies described above, these entities may use other methods, such as the technologies described below,
to collect information about your use of our website and other websites and online services.
</p>
<ul>
<li>
Pixels tags. Pixel tags (which are also called clear GIFs, web beacons, or pixels), are small pieces of code
that can be embedded on websites and emails. Pixels tags may be used to learn how you interact with our
website pages and emails, and this information helps us, and our partners provide you with a more tailored
experience.
</li>
<li>
Device Identifiers. A device identifier is a unique label that can be used to identify a mobile device. Device
identifiers may be used to track, analyze and improve the performance of the website and ads delivered.
</li>
</ul>
<h2>What data is collected by cookies and other technologies on our website?</h2>
<p>This information may include:</p>
<ul>
<li>
the IP and logical address of the server you are using (but the last digits are anonymized so we cannot
identify you).
</li>
<li>the top level domain name from which you access the internet (for example .ie, .com, etc)</li>
<li>the type of browser you are using,</li>
<li>the date and time you access our website</li>
<li>the internet address linking to our website.</li>
</ul>
<p>This website also uses cookies to:</p>
<ul>
<li>remember you and your actions while navigating between pages;</li>
<li>remember if you have agreed (or not) to our use of cookies on our website;</li>
<li>ensure the security of the website;</li>
<li>monitor and improve the performance of servers hosting the site;</li>
<li>distinguish users and sessions;</li>
<li>Improving the speed of the site when you access content repeatedly;</li>
<li>determine new sessions and visits;</li>
<li>allow us to store any customization preferences where our website allows this</li>
</ul>
<p>
We may also use other services, such as{' '}
<a
href="https://www.google.com/intl/en/analytics/#?modal_active=none"
target="_blank"
rel="noopener noreferrer"
>
Google Analytics
</a>{' '}
(described below) or other third-party cookies, to analyzing performance on our website. As part of providing
these services, these service providers may use cookies and the technologies described below to collect and
store information about your device, such as time of visit, pages visited, time spent on each page of our
website, links clicked and conversion information, IP address, browser, mobile network information, and type of
operating system used.
</p>
<Typography variant="h2">Revisions to this Cookie Policy</Typography>
<p>
On this website, you can always view the latest version of our Privacy Policy and our Cookie Policy. We may
modify this Cookie Policy from time to time. If we make changes to this Cookie Policy, we will provide notice of
such changes, such as by sending an email notification, providing notice through our website or updating the
&apos;Last Updated&apos; date at the beginning of this Cookie Policy. The amended Cookie Policy will be
effective immediately after the date it is posted. By continuing to access or use our website after the
effective date, you confirm your acceptance of the revised Cookie Policy and all of the terms incorporated
therein by reference. We encourage you to review our Privacy Policy and our Cookie Policy whenever you access or
use our website to stay informed about our information practices and the choices available to you.
</p>
<p>
If you do not accept changes which are made to this Cookie Policy, or take any measures described above to
opt-out by removing or rejecting cookies, you may continue to use this website but accept that it may not
display and/or function as intended by us. Any social media channels connected to us and third party
applications will be subject to the privacy and cookie policies and practices of the relevant platform providers
which, unless otherwise indicated, are not affiliated or associated with us Your exercise of any rights to
opt-out may also impact how our information and content is displayed and/or accessible to you on this website
and on other websites.
</p>
{content ? <ReactMarkdown>{content}</ReactMarkdown> : <Typography>Loading cookie policy...</Typography>}
</main>
)
}
Expand Down
Loading

0 comments on commit 594c58a

Please sign in to comment.