Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:Licenses&Cookie info #10

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/common/CookieBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ export const CookieBanner = ({
<Typography variant="body2">Locally stored data for core functionality</Typography>
</Box>

<Box mb={2}>
{/* <Box mb={2}>
<CookieCheckbox
checkboxProps={{ ...register(CookieType.UPDATES), id: 'beamer' }}
label="Beamer"
checked={watch(CookieType.UPDATES)}
/>
<br />
<Typography variant="body2">New features and product announcements</Typography>
</Box>
</Box> */}

<Box>
<CookieCheckbox
Expand Down
5 changes: 1 addition & 4 deletions src/components/common/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,14 @@ const Footer = (): ReactElement | null => {
{IS_OFFICIAL_HOST || IS_DEV ? (
<>
<li>
<Typography variant="caption">&copy;2022–{new Date().getFullYear()} Core Contributors GmbH</Typography>
<Typography variant="caption">&copy;2022–{new Date().getFullYear()} BNB Safe</Typography>
</li>
<li>
<FooterLink href={getHref(AppRoutes.terms)}>Terms</FooterLink>
</li>
<li>
<FooterLink href={getHref(AppRoutes.licenses)}>Licenses</FooterLink>
</li>
<li>
<FooterLink href={getHref(AppRoutes.imprint)}>Imprint</FooterLink>
</li>
<li>
<FooterLink href={getHref(AppRoutes.cookie)}>Cookie policy</FooterLink>
</li>
Expand Down
9 changes: 3 additions & 6 deletions src/components/cookie-policy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@
</p>
<p>
This Cookie Policy applies to our website at{' '}
<Link href="https://app.safe.global" passHref legacyBehavior>
<MUILink>https://app.safe.global</MUILink>
<Link href="https://multisig.bnbchain.org/" passHref legacyBehavior>
<MUILink>https://multisig.bnbchain.org/</MUILink>
</Link>
&nbsp;and sets out some further detail on how and why we use these technologies on our website.{' '}
</p>
<p>
In this policy, &quot;we&quot;, &quot;us&quot; and &quot;our&quot; refers to Core Contributors GmbH a company
incorporated in Germany with its registered address at Skalitzer Str. 85-86, β„… Full Node, 10997 Berlin, Germany.
The terms &ldquo;you&rdquo; and &ldquo;your&rdquo; includes our clients, business partners and users of this
website.{' '}
These Terms and Conditions (β€œTerms”) become part of any contract (β€œAgreement”) between you (β€œyou”, β€œyours” or β€œUser”) and BNB Chain Innovation Limited (β€œBNB Chain”, β€œwe”, β€œour” or β€œus”) provided we made these Terms accessible to you prior to entering into the Agreement and you consent to these Terms.{' '}

Check failure on line 30 in src/components/cookie-policy/index.tsx

View workflow job for this annotation

GitHub Actions / ESLint Results

prettier/prettier

Replace `Β·β€œUser”)Β·andΒ·BNBΒ·ChainΒ·InnovationΒ·LimitedΒ·(β€œBNBΒ·Chain”,Β·β€œwe”,Β·β€œour”·orΒ·β€œus”)Β·providedΒ·weΒ·madeΒ·theseΒ·Terms` with `βŽΒ·Β·Β·Β·Β·Β·Β·Β·β€œUser”)Β·andΒ·BNBΒ·ChainΒ·InnovationΒ·LimitedΒ·(β€œBNBΒ·Chain”,Β·β€œwe”,Β·β€œour”·orΒ·β€œus”)Β·providedΒ·weΒ·madeΒ·theseΒ·Terms⏎·······`
</p>
<p>
By using our website, you consent to storage and access to cookies and other technologies on your device, in
Expand Down
4 changes: 2 additions & 2 deletions src/pages/settings/appearance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import Head from 'next/head'

import { useAppDispatch, useAppSelector } from '@/store'
import {

Check failure on line 7 in src/pages/settings/appearance.tsx

View workflow job for this annotation

GitHub Actions / ESLint Results

@typescript-eslint/consistent-type-imports

Import "setAddressEmojis" is only used as types.
selectSettings,
setCopyShortName,
setDarkMode,
Expand All @@ -15,7 +15,7 @@
import { trackEvent, SETTINGS_EVENTS } from '@/services/analytics'
import { useDarkMode } from '@/hooks/useDarkMode'
import ExternalLink from '@/components/common/ExternalLink'
import EmojiPreview from '@/components/settings/EmojiPreview'

Check failure on line 18 in src/pages/settings/appearance.tsx

View workflow job for this annotation

GitHub Actions / ESLint Results

unused-imports/no-unused-imports-ts

'EmojiPreview' is defined but never used.

const Appearance: NextPage = () => {
const dispatch = useAppDispatch()
Expand Down Expand Up @@ -106,7 +106,7 @@
</Grid>
</Grid>

<Grid container spacing={3} mt={2}>
{/* <Grid container spacing={3} mt={2}>
<Grid item lg={4} xs={12}>
<Typography variant="h4" fontWeight="bold">
Experimental
Expand All @@ -125,7 +125,7 @@
/>
<EmojiPreview />
</Grid>
</Grid>
</Grid> */}
</Paper>
</main>
</>
Expand Down
Loading