Skip to content

Commit

Permalink
fix:Licenses&Cookie info
Browse files Browse the repository at this point in the history
  • Loading branch information
constwz committed Nov 13, 2023
1 parent cfe81fb commit 152051d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
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 @@ const SafeCookiePolicy = () => {
</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 @@ -106,7 +106,7 @@ const Appearance: NextPage = () => {
</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 @@ const Appearance: NextPage = () => {
/>
<EmojiPreview />
</Grid>
</Grid>
</Grid> */}
</Paper>
</main>
</>
Expand Down

0 comments on commit 152051d

Please sign in to comment.