Skip to content

Commit fa251a0

Browse files
committed
fix: ui improvements
1 parent c52b13a commit fa251a0

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

src/components/common/CookieAndTermBanner/index.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
import { selectCookieBanner, openCookieBanner, closeCookieBanner } from '@/store/popupSlice'
1717

1818
import css from './styles.module.css'
19-
import ExternalLink from '../ExternalLink'
19+
import Link from 'next/link'
2020
import { AppRoutes } from '@/config/routes'
2121

2222
const COOKIE_AND_TERM_WARNING: Record<CookieAndTermType, string> = {
@@ -87,10 +87,14 @@ export const CookieAndTermBanner = ({
8787
<Grid item xs>
8888
<Typography variant="body2" mb={2}>
8989
By browsing this page, you accept our{' '}
90-
<ExternalLink href={AppRoutes.terms}>Terms & Conditions</ExternalLink> (last updated{' '}
91-
{metadata.last_update_date}) and the use of necessary cookies. By clicking &quot;Accept all&quot; you
92-
additionally agree to the use of Beamer and Analytics cookies as listed below.{' '}
93-
<ExternalLink href={AppRoutes.cookie}>Cookie policy</ExternalLink>
90+
<Link href={AppRoutes.terms} style={{ textDecoration: 'underline' }}>
91+
Terms & Conditions
92+
</Link>{' '}
93+
(last updated October 2024) and the use of necessary cookies.{' '}
94+
<Link href={AppRoutes.cookie} style={{ textDecoration: 'underline' }}>
95+
Cookie policy
96+
</Link>
97+
.
9498
</Typography>
9599

96100
<Grid container alignItems="center" gap={4}>

src/components/new-safe/create/steps/SetNameStep/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ function SetNameStep({
114114
By continuing, you agree to our{' '}
115115
<Link href={AppRoutes.terms} passHref legacyBehavior>
116116
<MUILink>terms of use</MUILink>
117-
</Link>{' '}
118-
and{' '}
119-
<Link href={AppRoutes.privacy} passHref legacyBehavior>
120-
<MUILink>privacy policy</MUILink>
121117
</Link>
122118
.
123119
</Typography>

src/components/new-safe/load/steps/SetAddressStep/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,6 @@ const SetAddressStep = ({ data, onSubmit, onBack }: StepRenderProps<LoadSafeForm
145145
By continuing you consent to the{' '}
146146
<Link href={AppRoutes.terms} passHref legacyBehavior>
147147
<MUILink>terms of use</MUILink>
148-
</Link>{' '}
149-
and{' '}
150-
<Link href={AppRoutes.privacy} passHref legacyBehavior>
151-
<MUILink>privacy policy</MUILink>
152148
</Link>
153149
.
154150
</Typography>

0 commit comments

Comments
 (0)