Skip to content

Commit d007aaf

Browse files
account design update (#461)
Update account page style. (the no sendtags text is handle in the next pr) ![Screenshot 2024-06-14 at 5 00 41 PM](https://github.com/0xsend/sendapp/assets/19338130/0d05947f-aba4-4308-8724-b9e39480d53b)
2 parents e72e149 + 6b81311 commit d007aaf

File tree

7 files changed

+1086
-982
lines changed

7 files changed

+1086
-982
lines changed

apps/next/pages/account/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const Page: NextPageWithLayout = () => {
2323

2424
export const getServerSideProps = userProtectedGetSSP()
2525
Page.getLayout = (children) => (
26-
<HomeLayout TopNav={<TopNav header="Account" button={ButtonOption.SETTINGS} showReferral />}>
26+
<HomeLayout TopNav={<TopNav header="Account" button={ButtonOption.SETTINGS} />}>
2727
{children}
2828
</HomeLayout>
2929
)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { type IconProps, themed } from '@tamagui/helpers-icon'
2+
import { memo } from 'react'
3+
import Svg, { Mask, Path, G } from 'react-native-svg'
4+
5+
const BadgeCheck = (props) => {
6+
const { size, ...rest } = props
7+
return (
8+
<Svg width={size ?? 20} height={size ?? 20} fill="none" {...rest}>
9+
<Mask width={size ?? 20} height={size ?? 20} x={0} y={0} maskUnits="userSpaceOnUse">
10+
<Path fill="#D9D9D9" d="M0 0h20v20H0z" />
11+
</Mask>
12+
<G mask="url(#a)">
13+
<Path
14+
fill="currentColor"
15+
d="m7.23 18.5-1.563-2.583-2.938-.667.271-3L1 10l2-2.25-.27-3 2.937-.667L7.229 1.5 10 2.688 12.77 1.5l1.563 2.583 2.938.667-.271 3L19 10l-2 2.25.27 3-2.937.667-1.562 2.583L10 17.312 7.23 18.5Zm.603-1.896L10 15.688l2.167.916 1.208-2.02 2.292-.521-.209-2.313L17 10l-1.542-1.75.209-2.313-2.292-.52-1.208-2.021L10 4.313l-2.167-.917-1.208 2.02-2.292.5.209 2.334L3 10l1.563 1.75-.23 2.333 2.292.521 1.208 2ZM8.937 13l4.959-4.938L12.833 7l-3.896 3.875-1.77-1.75-1.063 1.063L8.937 13Z"
16+
/>
17+
</G>
18+
</Svg>
19+
)
20+
}
21+
const IconBadgeCheck = memo<IconProps>(themed(BadgeCheck))
22+
export { IconBadgeCheck }

packages/app/components/icons/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ export { IconX } from './IconX'
5151
export { IconInfoGreenCircle } from './IconInfoGreenCircle'
5252
export { IconDots } from './IconDots'
5353
export { IconDeviceReset } from './IconDeviceReset'
54+
export { IconBadgeCheck } from './IconBadgeCheck'

0 commit comments

Comments
 (0)