-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GAL-3616] Update NFT Detail Page [mobile] (#1697)
* Add post nav + nft selector * isolate pfp function * Add post input * add token preview to post * composer ui * Add discard post bottom sheet * Add toast * remove debugger * fix toast ui * Fix assign post/pfp * Reset post navigation stack * turn off auto capitalize input * Dark mode * fix dark mode icon * add FF * rename * Fix naming toast * add event tracker * fix typography * Add element support to Toast * Separate Post Navigator * prettier * Remove pressIn effect on post icon * Fix input line height * Update nft detail page * add FF * redirect to post page * Only show post button to token owner * add xs size to pfp * show pfp in nft detail * fix dark mode * Update nft selector title * add setting to profile page * update setting screen header * Remove comment * Rename PFP component to NFT Selector * update schema * integrate the post query * update post nft detail icon * always show More Info section * lint --------- Co-authored-by: kaito <80802871+kaitoo1@users.noreply.github.com>
- Loading branch information
1 parent
b65e6f0
commit 1880d22
Showing
10 changed files
with
259 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useColorScheme } from 'nativewind'; | ||
import * as React from 'react'; | ||
import Svg, { Path, SvgProps } from 'react-native-svg'; | ||
|
||
import colors from '~/shared/theme/colors'; | ||
|
||
export function BottomArrowIcon(props: SvgProps) { | ||
const { colorScheme } = useColorScheme(); | ||
|
||
const strokeColor = colorScheme === 'dark' ? colors.white : colors.black['800']; | ||
|
||
return ( | ||
<Svg width={17} height={16} fill="none" {...props}> | ||
<Path stroke={strokeColor} strokeMiterlimit={10} d="M3.833 6 8.5 10.667 13.167 6" /> | ||
</Svg> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import Svg, { Path, SvgProps } from 'react-native-svg'; | ||
|
||
type Props = { | ||
color: string; | ||
size?: number; | ||
} & SvgProps; | ||
|
||
export const CirclePostIcon = ({ color, size = 32, ...props }: Props) => { | ||
return ( | ||
<Svg width={size} height={size} fill="none" {...props}> | ||
<Path stroke={color} strokeMiterlimit={10} d="M12 8.272v8M16 12.273H8" /> | ||
<Path | ||
stroke={color} | ||
d="M12 22.273c5.523 0 10-4.478 10-10 0-5.523-4.477-10-10-10s-10 4.477-10 10c0 5.522 4.477 10 10 10Z" | ||
/> | ||
</Svg> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.