update 23 files

master
Reza_ashrafi 3 years ago
parent 37efeaf529
commit 717023a7c3
  1. 1
      package.json
  2. 502
      src/components/Navbar.js
  3. 1
      src/screens/AR/index.js
  4. 4
      src/screens/Activation/index.js
  5. 4
      src/screens/Address/index.js
  6. 43
      src/screens/Blog/index.js
  7. 5
      src/screens/Blogs/index.js
  8. 13
      src/screens/Contact/index.js
  9. 4
      src/screens/DeliveryForm/index.js
  10. 82
      src/screens/Faq/index.js
  11. 3
      src/screens/Home/index.js
  12. 3
      src/screens/OrderDetails/index.js
  13. 3
      src/screens/OrdersFollowUp/index.js
  14. 8
      src/screens/Product/components/Rates.js
  15. 3
      src/screens/Product/index.js
  16. 2
      src/screens/Products/components/Header.js
  17. 3
      src/screens/Profile/index.js
  18. 2
      src/screens/QRContent/index.js
  19. 3
      src/screens/ShoppingCart/index.js
  20. 3
      src/screens/Video/index.js
  21. 3
      src/screens/VideoDisplay/index.js
  22. 3
      src/screens/Videos/index.js
  23. 15
      yarn.lock

@ -42,6 +42,7 @@
"react-i18next": "^11.15.1", "react-i18next": "^11.15.1",
"react-native": "0.64.3", "react-native": "0.64.3",
"react-native-awesome-alerts": "^1.5.2", "react-native-awesome-alerts": "^1.5.2",
"react-native-copilot": "^2.5.1",
"react-native-htmlview": "^0.16.0", "react-native-htmlview": "^0.16.0",
"react-native-openanything": "^0.0.6", "react-native-openanything": "^0.0.6",
"react-native-qrcode-scanner": "^1.5.4", "react-native-qrcode-scanner": "^1.5.4",

@ -7,6 +7,7 @@ import {
TouchableOpacity, TouchableOpacity,
ActivityIndicator, ActivityIndicator,
} from "react-native"; } from "react-native";
import { copilot, walkthroughable, CopilotStep } from "react-native-copilot";
import Svg, { import Svg, {
G, G,
@ -33,6 +34,8 @@ import Colors from "../constants/Colors";
import tw from "tailwind-rn"; import tw from "tailwind-rn";
import fontSize from "../constants/fontSize"; import fontSize from "../constants/fontSize";
const CopilotView = walkthroughable(View);
const Navbar = ({ const Navbar = ({
notification, notification,
setBoxPosition, setBoxPosition,
@ -42,9 +45,16 @@ const Navbar = ({
userFavoriteList, userFavoriteList,
theme, theme,
bookmarkLoading, bookmarkLoading,
...props
}) => { }) => {
const navigation = useNavigation(); const navigation = useNavigation();
React.useEffect(() => {
setTimeout(() => {
props.start();
}, 800);
}, []);
const isActiveBookmark = React.useMemo(() => { const isActiveBookmark = React.useMemo(() => {
return userFavoriteList.filter((object) => return userFavoriteList.filter((object) =>
headerOptions.bookmarkItem?.productId headerOptions.bookmarkItem?.productId
@ -64,7 +74,6 @@ const Navbar = ({
borderColor: borderColor:
theme === "light" ? Colors.theme1.green79 : Colors.theme1.white, theme === "light" ? Colors.theme1.green79 : Colors.theme1.white,
borderWidth: 1, borderWidth: 1,
marginLeft: route === "AR" ? 10 : 0,
}, },
]} ]}
onPress={() => navigation.navigate(route, { page: state })} onPress={() => navigation.navigate(route, { page: state })}
@ -86,6 +95,7 @@ const Navbar = ({
? Colors.theme1.white ? Colors.theme1.white
: Colors.theme1.dark, : Colors.theme1.dark,
height: 64, height: 64,
zIndex: 100,
}, },
]} ]}
> >
@ -414,236 +424,257 @@ const Navbar = ({
) : null} ) : null}
{headerOptions?.qr ? ( {headerOptions?.qr ? (
<> <>
<Button <CopilotStep
icon={ text="This is a hello world example!"
<Svg xmlns="http://www.w3.org/2000/svg" width={30} height={30}> order={1}
<G name="hello"
fill={ >
theme === "light" <CopilotView>
? Colors.theme1.green79 <Button
: Colors.theme1.white icon={
} <Svg
> xmlns="http://www.w3.org/2000/svg"
<Path width={30}
data-name="Path 11446" height={30}
d="M2.131.275A3.177 3.177 0 0 0 .114 2.841 24.849 24.849 0 0 0 .045 5.98l.069 2.177h8.02V.137L5.499.091a18.649 18.649 0 0 0-3.368.184Zm4.973 3.873v2.979H1.146V4.973c0-2.452.229-3.277.962-3.575a13.17 13.17 0 0 1 2.773-.206l2.223-.023Z"
/>
<Path
data-name="Path 11447"
d="M2.521 4.263v1.742l1.673-.069 1.65-.069.069-1.673.068-1.65h-3.46Z"
/>
<Path
data-name="Path 11448"
d="M9.77.161a1.028 1.028 0 0 0-.16.6c0 .3.16.412.6.412.481 0 .573-.092.5-.5-.069-.535-.619-.81-.94-.512Z"
/>
<Path
data-name="Path 11449"
d="M16.888.71c0 .573-.092.687-.573.687-.412 0-.573.115-.573.458s.16.458.573.458c.481 0 .573.115.573.687 0 .665-.023.687-1.146.687-.985 0-1.146.069-1.146.458s.16.458 1.146.458c1.123 0 1.146.023 1.146.687s.023.687 1.146.687h1.146v1.146c0 1.077.046 1.146.573 1.146.55 0 .573-.046.573-1.719s-.023-1.719-.573-1.719c-.458 0-.573-.115-.573-.573s-.115-.573-.573-.573c-.55 0-.573-.069-.573-1.26v-1.26h1.169c1.077 0 1.146-.046 1.077-.527-.069-.458-.206-.5-1.719-.573l-1.673-.069Z"
/>
<Path
data-name="Path 11450"
d="M21.842.298a39.658 39.658 0 0 0-.069 4.079l.069 3.781h8.02V5.294c0-4.721-.367-5.087-4.973-5.225-2.36-.069-2.956-.023-3.047.229Zm6.325 1.306c.5.412.55.642.619 2.979l.092 2.544h-6V1.166h2.383c1.989 0 2.47.072 2.905.438Z"
/>
<Path
data-name="Path 11451"
d="M24.248 4.263v1.719h3.208V2.544h-3.208Z"
/>
<Path
data-name="Path 11452"
d="M11.966 1.856c0 .39.16.458 1.146.458s1.146-.069 1.146-.458-.16-.458-1.146-.458-1.146.069-1.146.458Z"
/>
<Path
data-name="Path 11453"
d="M10.735 3.117c0 .458-.115.573-.573.573h-.573v5.729H8.444c-1.077 0-1.146.046-1.146.573 0 .458.115.573.573.573s.573.115.573.573.115.573.573.573.573-.115.573-.573c0-.527.069-.573 1.146-.573h1.146V9.419c0-1.077-.046-1.146-.573-1.146s-.573-.069-.573-1.146V5.981h2.292V4.835c0-1.077-.046-1.146-.573-1.146-.458 0-.573-.115-.573-.573s-.116-.572-.574-.572-.573.115-.573.573Z"
/>
<Path
data-name="Path 11454"
d="M14.517 7.284c0 1.077-.046 1.146-.573 1.146-.55 0-.573.046-.573 1.719 0 1.558.046 1.719.458 1.719.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573h.573V8.43c0-2.131-.023-2.292-.458-2.292-.389 0-.458.16-.458 1.146Z"
/>
<Path
data-name="Path 11455"
d="M12.046 7.628c-.183.458.092.8.619.8.321 0 .435-.16.435-.573s-.114-.571-.463-.571a.674.674 0 0 0-.591.344Z"
/>
<Path
data-name="Path 11456"
d="M16.876 7.884c0 .481.092.573.527.5a.638.638 0 0 0 .573-.6c.069-.412-.023-.5-.5-.5s-.6.115-.6.6Z"
/>
<Path
data-name="Path 11457"
d="M.16 9.795A2.612 2.612 0 0 0 0 10.941v.985h1.146c1.077 0 1.146-.046 1.146-.573 0-.458-.115-.573-.573-.573s-.573-.115-.573-.573c0-.412-.115-.573-.412-.573a.9.9 0 0 0-.574.161Z"
/>
<Path
data-name="Path 11458"
d="M4.812 10.198c0 .5.092.6.527.527a.512.512 0 0 0 .5-.527.512.512 0 0 0-.5-.527c-.435-.068-.527.023-.527.527Z"
/>
<Path
data-name="Path 11459"
d="M17.145 11.164c0 1.1-.046 1.169-.573 1.169-.458 0-.573.115-.573.573v.573h4.583v-.573c0-.458.115-.573.573-.573s.573-.115.573-.573c0-.55.069-.573 1.26-.573s1.26.046 1.26.55c0 .435-.137.573-.619.642-.5.046-.665.206-.71.687-.069.5-.206.642-.642.642s-.55.115-.55.573-.115.573-.573.573-.573.115-.573.573-.115.573-.573.573-.573-.115-.573-.573-.115-.573-.573-.573-.573.115-.573.573-.115.573-.573.573c-.412 0-.573.115-.573.458s.16.458.573.458c.481 0 .573.115.573.687s-.092.687-.573.687c-.458 0-.573.115-.573.573 0 .527.069.573 1.146.573h1.146v5.729h1.146c1.123 0 1.146.023 1.146.687s-.023.687-1.146.687c-.985 0-1.146.069-1.146.458s.16.458 1.146.458c1.077 0 1.146.046 1.146.573v.573h4.812v1.4l1.673-.069c1.512-.069 1.65-.115 1.719-.6.069-.435-.023-.5-.619-.5-.71 0-.71 0-.71-1.26s0-1.26.687-1.26h.71l-.069-1.673-.069-1.65-2.336-.071-2.36-.069V20.58h1.146c1.077 0 1.146-.046 1.146-.573 0-.458.115-.573.573-.573s.573-.115.573-.573-.115-.573-.573-.573-.573-.115-.573-.573c0-.527-.069-.573-1.146-.573s-1.146-.046-1.146-.573c0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .481-.115.573-.687.573s-.687.092-.687.573c0 .458-.115.573-.573.573s-.573.115-.573.573-.115.573-.573.573-.573-.115-.573-.573-.115-.573-.573-.573c-.481 0-.573-.115-.573-.687 0-.665.023-.687 1.146-.687 1.077 0 1.146-.046 1.146-.573 0-.458.115-.573.573-.573s.573-.115.573-.573.115-.573.573-.573.573-.115.573-.573c0-.55.069-.573 1.26-.573 1.237 0 1.26 0 1.26.687 0 .573-.092.687-.573.687-.412 0-.573.115-.573.458 0 .39.16.458 1.146.458 1.077 0 1.146.046 1.146.573 0 .756.848.8.962.046.046-.367.252-.527.71-.573.435-.046.619-.206.619-.527s-.16-.435-.687-.435c-.573 0-.687-.092-.687-.573 0-.458-.115-.573-.573-.573-.481 0-.573-.115-.573-.687s-.092-.687-.573-.687c-.527 0-.573-.069-.573-1.146v-1.146h-5.73v.573a.6.6 0 0 1-1.192.046c-.069-.435-.229-.5-1.146-.573l-1.1-.069Zm9.4 7.7c0 .481-.115.573-.687.573s-.687-.092-.687-.573.115-.573.687-.573.682.091.682.572Zm-2.346 3.482-.069 1.787-1.764.069-1.787.069v-3.689h3.689Zm2.337 3.391c0 .458.115.573.573.573.481 0 .573.115.573.687 0 .619-.069.687-.687.687-.573 0-.687-.092-.687-.573 0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .55-.069.573-1.26.573-1.237 0-1.26 0-1.26-.687 0-.573.092-.687.573-.687.458 0 .573-.115.573-.573 0-.55.069-.573 1.26-.573s1.262.024 1.262.574Z"
/>
<Path
data-name="Path 11460"
d="M21.725 21.73a.9.9 0 0 0-.16.573c0 .3.16.412.573.412.458 0 .573-.115.573-.573 0-.412-.115-.573-.412-.573a.9.9 0 0 0-.574.161Z"
/>
<Path
data-name="Path 11461"
d="M28.831 10.176c0 .481.115.6.6.6s.573-.092.5-.527a.636.636 0 0 0-.573-.573c-.435-.073-.527.019-.527.5Z"
/>
<Path
data-name="Path 11462"
d="M3.667 11.391c0 .458-.115.573-.573.573-.527 0-.573.069-.573 1.146 0 .985.069 1.146.458 1.146.344 0 .458-.16.458-.573v-.573h2.429c2.383 0 2.406 0 2.337-.527-.069-.458-.206-.5-1.833-.573-1.719-.069-1.787-.092-1.787-.619 0-.412-.115-.573-.458-.573s-.458.16-.458.573Z"
/>
<Path
data-name="Path 11463"
d="M27.686 11.37c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11464"
d="M9.77 12.106a1.027 1.027 0 0 0-.16.6c0 .3.16.412.6.412.481 0 .573-.092.5-.5-.069-.535-.619-.81-.94-.512Z"
/>
<Path
data-name="Path 11465"
d="M0 14.996v1.6h1.719c1.558 0 1.719-.046 1.719-.458 0-.344-.16-.458-.573-.458-.458 0-.573-.115-.573-.573s-.115-.573-.573-.573-.573-.115-.573-.573-.115-.565-.573-.565c-.55 0-.573.046-.573 1.6Z"
/>
<Path
data-name="Path 11466"
d="M8.438 13.829c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11467"
d="M13.371 14.414c0 .871.069 1.031.458 1.031.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573.412 0 .573-.115.573-.458 0-.39-.16-.458-1.031-.458h-1.031Z"
/>
<Path
data-name="Path 11468"
d="M6.1 15c0 .39.16.458 1.146.458s1.146-.069 1.146-.458-.161-.458-1.146-.458S6.1 14.611 6.1 15Z"
/>
<Path
data-name="Path 11469"
d="M9.61 15c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11470"
d="M8.438 16.171c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11471"
d="M11.954 16.171c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11472"
d="M14.517 16.318c0 .458-.115.573-.573.573-.527 0-.573.069-.573 1.146 0 .985.069 1.146.458 1.146.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573.527 0 .573-.069.573-1.146 0-.985-.069-1.146-.458-1.146-.344 0-.458.16-.458.573Z"
/>
<Path
data-name="Path 11473"
d="M3.666 17.459c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11474"
d="M7.104 17.53c0 .458-.115.573-.573.573s-.573.115-.573.573v.55l-2.91.069c-2.75.069-2.933.092-2.933.527s.183.458 4.652.527l4.629.046v2.292h3.437v-1.17c0-1.077-.046-1.146-.5-1.077a.638.638 0 0 0-.6.573.6.6 0 0 1-1.192-.046c0-.458-.115-.573-.573-.573s-.573-.115-.573-.573c0-.527-.069-.573-1.146-.573-1.054 0-1.146-.046-1.146-.55 0-.412.137-.573.527-.642a.638.638 0 0 0 .573-.6c.069-.412-.023-.5-.5-.5s-.599.116-.599.574Z"
/>
<Path
data-name="Path 11475"
d="m9.665 17.979.069 1.1 1.1.069 1.077.069v-2.315H9.596Z"
/>
<Path
data-name="Path 11476"
d="M14.53 19.801c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11477"
d="M15.702 21.564c0 .985.069 1.146.458 1.146s.458-.16.458-1.146-.068-1.146-.458-1.146-.458.16-.458 1.146Z"
/>
<Path
data-name="Path 11478"
d="M.092 22.072a20.5 20.5 0 0 0-.046 3.025c.137 4.377.573 4.766 5.225 4.766h2.864v-8.02l-3.964-.069c-3.369-.049-3.965 0-4.079.298Zm7.012 3.781v2.979H4.72c-3.346 0-3.437-.069-3.529-3.414l-.092-2.544h6Z"
/>
<Path
data-name="Path 11479"
d="M2.521 25.848v1.6h3.437v-3.2H2.521Z"
/>
<Path
data-name="Path 11480"
d="M14.53 23.314c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11481"
d="M9.61 24.706c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11482"
d="M13.358 24.706a.411.411 0 0 0 .458.458.411.411 0 0 0 .458-.458.411.411 0 0 0-.458-.458.411.411 0 0 0-.458.458Z"
/>
<Path
data-name="Path 11483"
d="M15.694 24.706c0 .344.16.458.573.458.481 0 .573.115.573.687 0 .619-.069.687-.687.687-.573 0-.687-.092-.687-.573 0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .458-.115.573-.573.573-.527 0-.573.092-.573 1.031 0 .871.069 1.031.458 1.031.344 0 .458-.16.458-.573 0-.481.115-.573.687-.573.619 0 .687.069.687.687 0 .573-.092.687-.573.687-.458 0-.573.115-.573.573 0 .527.092.573 1.031.573h1.031v-1.26c0-1.237 0-1.26.687-1.26h.687v-3.206h-1.145c-.985 0-1.145.069-1.145.458Z"
/>
<Path
data-name="Path 11484"
d="M10.792 26.994c0 1.558.023 1.6.573 1.6.527 0 .573-.069.573-1.146s.046-1.146.573-1.146c.412 0 .573-.115.573-.458 0-.39-.16-.458-1.146-.458h-1.146Z"
/>
<Path
data-name="Path 11485"
d="M18.048 28.855c0 1.077.046 1.146.527 1.077.435-.069.5-.229.573-1.169.069-1.031.046-1.077-.5-1.077s-.6.069-.6 1.169Z"
/>
<Path
data-name="Path 11486"
d="M9.657 29.331a.641.641 0 0 0 .6.6c.412.069.5-.023.5-.5s-.115-.6-.6-.6-.569.092-.5.5Z"
/>
<Path
data-name="Path 11487"
d="M12.001 29.331a.641.641 0 0 0 .6.6c.412.069.5-.023.5-.5s-.115-.6-.6-.6-.569.092-.5.5Z"
/>
</G>
</Svg>
}
route={"QR"}
state={"book"}
/>
<Button
icon={
<Svg
xmlns="http://www.w3.org/2000/svg"
width={29.9}
height={30.908}
>
<G
data-name="Group 419"
fill={
theme === "light"
? Colors.theme1.green79
: Colors.theme1.white
}
>
<Path
data-name="Path 1864"
d="M1.694 1.694h5.081V0H0v6.775h1.694Zm0 0"
/>
<Path
data-name="Path 1863"
d="M22.132 0v1.694h5.081v5.081h1.694V0Zm0 0"
/>
<Path
data-name="Path 1862"
d="M27.213 27.214h-5.081v1.694h6.775v-6.775h-1.694Zm0 0"
/>
<Path
data-name="Path 1861"
d="M1.694 22.133H0v6.775h6.775v-1.694H1.694Zm0 0"
/>
<Textt
transform="translate(15 19)"
fontSize={14}
// fontFamily="regular"
> >
<TSpan x={-8.841} y={0}> <G
{"AR"} fill={
</TSpan> theme === "light"
</Textt> ? Colors.theme1.green79
</G> : Colors.theme1.white
</Svg> }
} >
route={"AR"} <Path
state={"AR"} data-name="Path 11446"
/> d="M2.131.275A3.177 3.177 0 0 0 .114 2.841 24.849 24.849 0 0 0 .045 5.98l.069 2.177h8.02V.137L5.499.091a18.649 18.649 0 0 0-3.368.184Zm4.973 3.873v2.979H1.146V4.973c0-2.452.229-3.277.962-3.575a13.17 13.17 0 0 1 2.773-.206l2.223-.023Z"
/>
<Path
data-name="Path 11447"
d="M2.521 4.263v1.742l1.673-.069 1.65-.069.069-1.673.068-1.65h-3.46Z"
/>
<Path
data-name="Path 11448"
d="M9.77.161a1.028 1.028 0 0 0-.16.6c0 .3.16.412.6.412.481 0 .573-.092.5-.5-.069-.535-.619-.81-.94-.512Z"
/>
<Path
data-name="Path 11449"
d="M16.888.71c0 .573-.092.687-.573.687-.412 0-.573.115-.573.458s.16.458.573.458c.481 0 .573.115.573.687 0 .665-.023.687-1.146.687-.985 0-1.146.069-1.146.458s.16.458 1.146.458c1.123 0 1.146.023 1.146.687s.023.687 1.146.687h1.146v1.146c0 1.077.046 1.146.573 1.146.55 0 .573-.046.573-1.719s-.023-1.719-.573-1.719c-.458 0-.573-.115-.573-.573s-.115-.573-.573-.573c-.55 0-.573-.069-.573-1.26v-1.26h1.169c1.077 0 1.146-.046 1.077-.527-.069-.458-.206-.5-1.719-.573l-1.673-.069Z"
/>
<Path
data-name="Path 11450"
d="M21.842.298a39.658 39.658 0 0 0-.069 4.079l.069 3.781h8.02V5.294c0-4.721-.367-5.087-4.973-5.225-2.36-.069-2.956-.023-3.047.229Zm6.325 1.306c.5.412.55.642.619 2.979l.092 2.544h-6V1.166h2.383c1.989 0 2.47.072 2.905.438Z"
/>
<Path
data-name="Path 11451"
d="M24.248 4.263v1.719h3.208V2.544h-3.208Z"
/>
<Path
data-name="Path 11452"
d="M11.966 1.856c0 .39.16.458 1.146.458s1.146-.069 1.146-.458-.16-.458-1.146-.458-1.146.069-1.146.458Z"
/>
<Path
data-name="Path 11453"
d="M10.735 3.117c0 .458-.115.573-.573.573h-.573v5.729H8.444c-1.077 0-1.146.046-1.146.573 0 .458.115.573.573.573s.573.115.573.573.115.573.573.573.573-.115.573-.573c0-.527.069-.573 1.146-.573h1.146V9.419c0-1.077-.046-1.146-.573-1.146s-.573-.069-.573-1.146V5.981h2.292V4.835c0-1.077-.046-1.146-.573-1.146-.458 0-.573-.115-.573-.573s-.116-.572-.574-.572-.573.115-.573.573Z"
/>
<Path
data-name="Path 11454"
d="M14.517 7.284c0 1.077-.046 1.146-.573 1.146-.55 0-.573.046-.573 1.719 0 1.558.046 1.719.458 1.719.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573h.573V8.43c0-2.131-.023-2.292-.458-2.292-.389 0-.458.16-.458 1.146Z"
/>
<Path
data-name="Path 11455"
d="M12.046 7.628c-.183.458.092.8.619.8.321 0 .435-.16.435-.573s-.114-.571-.463-.571a.674.674 0 0 0-.591.344Z"
/>
<Path
data-name="Path 11456"
d="M16.876 7.884c0 .481.092.573.527.5a.638.638 0 0 0 .573-.6c.069-.412-.023-.5-.5-.5s-.6.115-.6.6Z"
/>
<Path
data-name="Path 11457"
d="M.16 9.795A2.612 2.612 0 0 0 0 10.941v.985h1.146c1.077 0 1.146-.046 1.146-.573 0-.458-.115-.573-.573-.573s-.573-.115-.573-.573c0-.412-.115-.573-.412-.573a.9.9 0 0 0-.574.161Z"
/>
<Path
data-name="Path 11458"
d="M4.812 10.198c0 .5.092.6.527.527a.512.512 0 0 0 .5-.527.512.512 0 0 0-.5-.527c-.435-.068-.527.023-.527.527Z"
/>
<Path
data-name="Path 11459"
d="M17.145 11.164c0 1.1-.046 1.169-.573 1.169-.458 0-.573.115-.573.573v.573h4.583v-.573c0-.458.115-.573.573-.573s.573-.115.573-.573c0-.55.069-.573 1.26-.573s1.26.046 1.26.55c0 .435-.137.573-.619.642-.5.046-.665.206-.71.687-.069.5-.206.642-.642.642s-.55.115-.55.573-.115.573-.573.573-.573.115-.573.573-.115.573-.573.573-.573-.115-.573-.573-.115-.573-.573-.573-.573.115-.573.573-.115.573-.573.573c-.412 0-.573.115-.573.458s.16.458.573.458c.481 0 .573.115.573.687s-.092.687-.573.687c-.458 0-.573.115-.573.573 0 .527.069.573 1.146.573h1.146v5.729h1.146c1.123 0 1.146.023 1.146.687s-.023.687-1.146.687c-.985 0-1.146.069-1.146.458s.16.458 1.146.458c1.077 0 1.146.046 1.146.573v.573h4.812v1.4l1.673-.069c1.512-.069 1.65-.115 1.719-.6.069-.435-.023-.5-.619-.5-.71 0-.71 0-.71-1.26s0-1.26.687-1.26h.71l-.069-1.673-.069-1.65-2.336-.071-2.36-.069V20.58h1.146c1.077 0 1.146-.046 1.146-.573 0-.458.115-.573.573-.573s.573-.115.573-.573-.115-.573-.573-.573-.573-.115-.573-.573c0-.527-.069-.573-1.146-.573s-1.146-.046-1.146-.573c0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .481-.115.573-.687.573s-.687.092-.687.573c0 .458-.115.573-.573.573s-.573.115-.573.573-.115.573-.573.573-.573-.115-.573-.573-.115-.573-.573-.573c-.481 0-.573-.115-.573-.687 0-.665.023-.687 1.146-.687 1.077 0 1.146-.046 1.146-.573 0-.458.115-.573.573-.573s.573-.115.573-.573.115-.573.573-.573.573-.115.573-.573c0-.55.069-.573 1.26-.573 1.237 0 1.26 0 1.26.687 0 .573-.092.687-.573.687-.412 0-.573.115-.573.458 0 .39.16.458 1.146.458 1.077 0 1.146.046 1.146.573 0 .756.848.8.962.046.046-.367.252-.527.71-.573.435-.046.619-.206.619-.527s-.16-.435-.687-.435c-.573 0-.687-.092-.687-.573 0-.458-.115-.573-.573-.573-.481 0-.573-.115-.573-.687s-.092-.687-.573-.687c-.527 0-.573-.069-.573-1.146v-1.146h-5.73v.573a.6.6 0 0 1-1.192.046c-.069-.435-.229-.5-1.146-.573l-1.1-.069Zm9.4 7.7c0 .481-.115.573-.687.573s-.687-.092-.687-.573.115-.573.687-.573.682.091.682.572Zm-2.346 3.482-.069 1.787-1.764.069-1.787.069v-3.689h3.689Zm2.337 3.391c0 .458.115.573.573.573.481 0 .573.115.573.687 0 .619-.069.687-.687.687-.573 0-.687-.092-.687-.573 0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .55-.069.573-1.26.573-1.237 0-1.26 0-1.26-.687 0-.573.092-.687.573-.687.458 0 .573-.115.573-.573 0-.55.069-.573 1.26-.573s1.262.024 1.262.574Z"
/>
<Path
data-name="Path 11460"
d="M21.725 21.73a.9.9 0 0 0-.16.573c0 .3.16.412.573.412.458 0 .573-.115.573-.573 0-.412-.115-.573-.412-.573a.9.9 0 0 0-.574.161Z"
/>
<Path
data-name="Path 11461"
d="M28.831 10.176c0 .481.115.6.6.6s.573-.092.5-.527a.636.636 0 0 0-.573-.573c-.435-.073-.527.019-.527.5Z"
/>
<Path
data-name="Path 11462"
d="M3.667 11.391c0 .458-.115.573-.573.573-.527 0-.573.069-.573 1.146 0 .985.069 1.146.458 1.146.344 0 .458-.16.458-.573v-.573h2.429c2.383 0 2.406 0 2.337-.527-.069-.458-.206-.5-1.833-.573-1.719-.069-1.787-.092-1.787-.619 0-.412-.115-.573-.458-.573s-.458.16-.458.573Z"
/>
<Path
data-name="Path 11463"
d="M27.686 11.37c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11464"
d="M9.77 12.106a1.027 1.027 0 0 0-.16.6c0 .3.16.412.6.412.481 0 .573-.092.5-.5-.069-.535-.619-.81-.94-.512Z"
/>
<Path
data-name="Path 11465"
d="M0 14.996v1.6h1.719c1.558 0 1.719-.046 1.719-.458 0-.344-.16-.458-.573-.458-.458 0-.573-.115-.573-.573s-.115-.573-.573-.573-.573-.115-.573-.573-.115-.565-.573-.565c-.55 0-.573.046-.573 1.6Z"
/>
<Path
data-name="Path 11466"
d="M8.438 13.829c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11467"
d="M13.371 14.414c0 .871.069 1.031.458 1.031.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573.412 0 .573-.115.573-.458 0-.39-.16-.458-1.031-.458h-1.031Z"
/>
<Path
data-name="Path 11468"
d="M6.1 15c0 .39.16.458 1.146.458s1.146-.069 1.146-.458-.161-.458-1.146-.458S6.1 14.611 6.1 15Z"
/>
<Path
data-name="Path 11469"
d="M9.61 15c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11470"
d="M8.438 16.171c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11471"
d="M11.954 16.171c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11472"
d="M14.517 16.318c0 .458-.115.573-.573.573-.527 0-.573.069-.573 1.146 0 .985.069 1.146.458 1.146.344 0 .458-.16.458-.573 0-.458.115-.573.573-.573.527 0 .573-.069.573-1.146 0-.985-.069-1.146-.458-1.146-.344 0-.458.16-.458.573Z"
/>
<Path
data-name="Path 11473"
d="M3.666 17.459c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11474"
d="M7.104 17.53c0 .458-.115.573-.573.573s-.573.115-.573.573v.55l-2.91.069c-2.75.069-2.933.092-2.933.527s.183.458 4.652.527l4.629.046v2.292h3.437v-1.17c0-1.077-.046-1.146-.5-1.077a.638.638 0 0 0-.6.573.6.6 0 0 1-1.192-.046c0-.458-.115-.573-.573-.573s-.573-.115-.573-.573c0-.527-.069-.573-1.146-.573-1.054 0-1.146-.046-1.146-.55 0-.412.137-.573.527-.642a.638.638 0 0 0 .573-.6c.069-.412-.023-.5-.5-.5s-.599.116-.599.574Z"
/>
<Path
data-name="Path 11475"
d="m9.665 17.979.069 1.1 1.1.069 1.077.069v-2.315H9.596Z"
/>
<Path
data-name="Path 11476"
d="M14.53 19.801c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11477"
d="M15.702 21.564c0 .985.069 1.146.458 1.146s.458-.16.458-1.146-.068-1.146-.458-1.146-.458.16-.458 1.146Z"
/>
<Path
data-name="Path 11478"
d="M.092 22.072a20.5 20.5 0 0 0-.046 3.025c.137 4.377.573 4.766 5.225 4.766h2.864v-8.02l-3.964-.069c-3.369-.049-3.965 0-4.079.298Zm7.012 3.781v2.979H4.72c-3.346 0-3.437-.069-3.529-3.414l-.092-2.544h6Z"
/>
<Path
data-name="Path 11479"
d="M2.521 25.848v1.6h3.437v-3.2H2.521Z"
/>
<Path
data-name="Path 11480"
d="M14.53 23.314c0 .412.115.573.458.573s.458-.16.458-.573-.116-.573-.458-.573-.458.16-.458.573Z"
/>
<Path
data-name="Path 11481"
d="M9.61 24.706c0 .344.16.458.573.458s.573-.115.573-.458-.161-.458-.573-.458-.573.115-.573.458Z"
/>
<Path
data-name="Path 11482"
d="M13.358 24.706a.411.411 0 0 0 .458.458.411.411 0 0 0 .458-.458.411.411 0 0 0-.458-.458.411.411 0 0 0-.458.458Z"
/>
<Path
data-name="Path 11483"
d="M15.694 24.706c0 .344.16.458.573.458.481 0 .573.115.573.687 0 .619-.069.687-.687.687-.573 0-.687-.092-.687-.573 0-.412-.115-.573-.458-.573s-.458.16-.458.573c0 .458-.115.573-.573.573-.527 0-.573.092-.573 1.031 0 .871.069 1.031.458 1.031.344 0 .458-.16.458-.573 0-.481.115-.573.687-.573.619 0 .687.069.687.687 0 .573-.092.687-.573.687-.458 0-.573.115-.573.573 0 .527.092.573 1.031.573h1.031v-1.26c0-1.237 0-1.26.687-1.26h.687v-3.206h-1.145c-.985 0-1.145.069-1.145.458Z"
/>
<Path
data-name="Path 11484"
d="M10.792 26.994c0 1.558.023 1.6.573 1.6.527 0 .573-.069.573-1.146s.046-1.146.573-1.146c.412 0 .573-.115.573-.458 0-.39-.16-.458-1.146-.458h-1.146Z"
/>
<Path
data-name="Path 11485"
d="M18.048 28.855c0 1.077.046 1.146.527 1.077.435-.069.5-.229.573-1.169.069-1.031.046-1.077-.5-1.077s-.6.069-.6 1.169Z"
/>
<Path
data-name="Path 11486"
d="M9.657 29.331a.641.641 0 0 0 .6.6c.412.069.5-.023.5-.5s-.115-.6-.6-.6-.569.092-.5.5Z"
/>
<Path
data-name="Path 11487"
d="M12.001 29.331a.641.641 0 0 0 .6.6c.412.069.5-.023.5-.5s-.115-.6-.6-.6-.569.092-.5.5Z"
/>
</G>
</Svg>
}
route={"QR"}
state={"book"}
/>
</CopilotView>
</CopilotStep>
<View style={{ marginHorizontal: 5 }}></View>
<CopilotStep
text="This is a hello world example!!"
order={2}
name="helloo"
>
<CopilotView>
<Button
icon={
<Svg
xmlns="http://www.w3.org/2000/svg"
width={29.9}
height={30.908}
>
<G
data-name="Group 419"
fill={
theme === "light"
? Colors.theme1.green79
: Colors.theme1.white
}
>
<Path
data-name="Path 1864"
d="M1.694 1.694h5.081V0H0v6.775h1.694Zm0 0"
/>
<Path
data-name="Path 1863"
d="M22.132 0v1.694h5.081v5.081h1.694V0Zm0 0"
/>
<Path
data-name="Path 1862"
d="M27.213 27.214h-5.081v1.694h6.775v-6.775h-1.694Zm0 0"
/>
<Path
data-name="Path 1861"
d="M1.694 22.133H0v6.775h6.775v-1.694H1.694Zm0 0"
/>
<Textt
transform="translate(15 19)"
fontSize={14}
// fontFamily="regular"
>
<TSpan x={-8.841} y={0}>
{"AR"}
</TSpan>
</Textt>
</G>
</Svg>
}
route={"AR"}
state={"AR"}
/>
</CopilotView>
</CopilotStep>
</> </>
) : null} ) : null}
{headerOptions?.bookmark ? ( {headerOptions?.bookmark ? (
@ -723,4 +754,13 @@ const mapDispatchToProps = {
deleteBookmark: userFavorite.del, deleteBookmark: userFavorite.del,
}; };
export default connect(mapStateToProps, mapDispatchToProps)(Navbar); const component = copilot({
labels: {
previous: "قبلی",
next: "بعدی",
skip: "رد کردن",
finish: "پایان",
},
})(Navbar);
export default connect(mapStateToProps, mapDispatchToProps)(component);

@ -72,6 +72,7 @@ function AR({ getUserProducts, userProducts, mobile, theme }) {
style={{ style={{
paddingHorizontal: 16, paddingHorizontal: 16,
height: height, height: height,
paddingTop: 64
}} }}
contentContainerStyle={{ paddingBottom: 100 }} contentContainerStyle={{ paddingBottom: 100 }}
> >

@ -51,7 +51,7 @@ function Activation({ add, mobile, theme, route, orientation }) {
<SafeAreaView <SafeAreaView
style={[{ paddingTop: ios ? 0 : StatusBar.currentHeight, flex: 1 }]} style={[{ paddingTop: ios ? 0 : StatusBar.currentHeight, flex: 1 }]}
> >
<ScrollView style={tw("flex-1")}> <ScrollView style={[tw("flex-1")]}>
<KeyboardAvoidingView <KeyboardAvoidingView
behavior={"padding"} behavior={"padding"}
style={{ style={{
@ -73,7 +73,7 @@ function Activation({ add, mobile, theme, route, orientation }) {
backgroundColor: Colors.theme1.greenCF + "0F", backgroundColor: Colors.theme1.greenCF + "0F",
}} }}
/> />
<View style={tw("flex w-full")}> <View style={[tw("flex w-full"), { paddingTop: 64 }]}>
<TopHeader <TopHeader
background={bgQr} background={bgQr}
title={"فعالسازی کتاب دیجیتال"} title={"فعالسازی کتاب دیجیتال"}

@ -148,7 +148,7 @@ const Address = ({
provinceId, provinceId,
cityId, cityId,
postalCode, postalCode,
id id,
} = addressFields; } = addressFields;
if (!firstName) { if (!firstName) {
@ -392,7 +392,7 @@ const Address = ({
back: true, back: true,
}} }}
/> />
<ScrollView style={tw("flex-1 px-4")}> <ScrollView style={[tw("flex-1 px-4"), { paddingTop: 64 }]}>
<KeyboardAvoidingView> <KeyboardAvoidingView>
<TouchableWithoutFeedback> <TouchableWithoutFeedback>
<View style={tw("flex-1")}> <View style={tw("flex-1")}>

@ -137,18 +137,18 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
</View> </View>
</View> </View>
<View style="flex justify-center items-end"> <View style="flex justify-center items-end">
{ {blog?.duration ? (
blog?.duration ? <Text <Text
style={{ style={{
fontFamily: "regular", fontFamily: "regular",
color: Colors.theme1.white, color: Colors.theme1.white,
fontSize: fontSize.sm, fontSize: fontSize.sm,
textAlign: ios ? "left" : "left", textAlign: ios ? "left" : "left",
}} }}
> >
{"زمان مطالعه" + " " + blog?.duration + " دقیقه"} {"زمان مطالعه" + " " + blog?.duration + " دقیقه"}
</Text> : null </Text>
} ) : null}
<Text <Text
style={{ style={{
@ -158,9 +158,7 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
textAlign: ios ? "left" : "left", textAlign: ios ? "left" : "left",
}} }}
> >
{ {moment(blog?.createdAt).format("jYYYY/jMM/jDD")}
moment(blog?.createdAt).format('jYYYY/jMM/jDD')
}
</Text> </Text>
</View> </View>
</View> </View>
@ -195,7 +193,7 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
value={blog?.text} value={blog?.text}
renderNode={renderNode} renderNode={renderNode}
stylesheet={{ stylesheet={{
h1 : { h1: {
color: color:
theme === "light" theme === "light"
? Colors.theme1.gray20 ? Colors.theme1.gray20
@ -207,7 +205,7 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
marginVertical: -15, marginVertical: -15,
paddingTop: 5, paddingTop: 5,
}, },
h2 : { h2: {
color: color:
theme === "light" theme === "light"
? Colors.theme1.gray20 ? Colors.theme1.gray20
@ -218,7 +216,7 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
fontSize: fontSize.xl, fontSize: fontSize.xl,
marginVertical: -10, marginVertical: -10,
}, },
h3 : { h3: {
color: color:
theme === "light" theme === "light"
? Colors.theme1.gray20 ? Colors.theme1.gray20
@ -261,9 +259,9 @@ export const Blog = ({ getInfo, blog, getList, blogs, route, theme }) => {
fontFamily: "light", fontFamily: "light",
lineHeight: 25, lineHeight: 25,
}, },
span : { span: {
color : 'red' color: "red",
} },
}} }}
/> />
</View> </View>
@ -307,7 +305,8 @@ const styles = StyleSheet.create({
paddingBottom: 40, paddingBottom: 40,
}, },
container: { container: {
paddingVertical: 0, paddingTop: 64,
paddingBottom: 0,
paddingHorizontal: 0, paddingHorizontal: 0,
}, },
font: { font: {

@ -78,7 +78,7 @@ function Blogs({ getList, blogs, hashtag, setHashtag, theme }) {
{hashtag ? ( {hashtag ? (
<FlatList <FlatList
contentContainerStyle={styles.contentContainerStyle} contentContainerStyle={styles.contentContainerStyle}
style={tw("px-4")} style={[tw("px-4"), { paddingTop: 64 }]}
data={blogs?.filter((blog) => blog?.tag === hashtag)} data={blogs?.filter((blog) => blog?.tag === hashtag)}
renderItem={({ item }) => ( renderItem={({ item }) => (
<HashtagBlog blog={item} blogsPage={true} theme={theme} /> <HashtagBlog blog={item} blogsPage={true} theme={theme} />
@ -169,7 +169,8 @@ const styles = StyleSheet.create({
paddingTop: 0, paddingTop: 0,
}, },
container: { container: {
paddingVertical: 0, paddingBottom: 0,
paddingTop: 64,
paddingHorizontal: 0, paddingHorizontal: 0,
}, },
}); });

@ -106,12 +106,13 @@ function Contact({ theme }) {
backgroundColor: Colors.theme1.greenCF + "0F", backgroundColor: Colors.theme1.greenCF + "0F",
}} }}
/> />
<Header
background={bgContact} <ScrollView style={[tw("flex pb-20 px-4 mb-4"), { paddingTop: 64 }]}>
title={"ارتباط با ما"} <Header
description={"تیم پشتیبانی ما اینجاست تا شما رو کمک کنه"} background={bgContact}
/> title={"ارتباط با ما"}
<ScrollView style={[tw("flex pb-20 px-4 mb-4")]}> description={"تیم پشتیبانی ما اینجاست تا شما رو کمک کنه"}
/>
{Object.keys(info).map((item, index) => ( {Object.keys(info).map((item, index) => (
<Box info={info[item]} key={index} /> <Box info={info[item]} key={index} />
))} ))}

@ -113,7 +113,9 @@ const styles = StyleSheet.create({
paddingBottom: 100, paddingBottom: 100,
}, },
container: { container: {
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64
}, },
}); });

@ -67,25 +67,49 @@ function Faq({
backgroundColor: Colors.theme1.greenCF + "0F", backgroundColor: Colors.theme1.greenCF + "0F",
}} }}
/> />
<Header <View style={{ paddingTop: 64 }}>
background={bgFaq} <Header
title={"پرسشهای متداول"} background={bgFaq}
description={"تیم پشتیبانی ما اینجاست تا شما رو کمک کنه"} title={"پرسشهای متداول"}
// icon={} description={"تیم پشتیبانی ما اینجاست تا شما رو کمک کنه"}
/> // icon={}
<View style={tw("px-4 mb-4")}>
<Search
value={search}
onChange={searchFaq}
placeholder={"بخشی از پرسش خود را اینجا بنویسید"}
/> />
</View> <View style={tw("px-4 mb-4")}>
{search?.length ? ( <Search
searchResult?.length ? ( value={search}
onChange={searchFaq}
placeholder={"بخشی از پرسش خود را اینجا بنویسید"}
/>
</View>
{search?.length ? (
searchResult?.length ? (
<FlatList
contentContainerStyle={{ paddingBottom: height }}
style={[tw("flex px-4 mb-4")]}
data={searchResult}
keyExtractor={(item, index) => {
return index;
}}
renderItem={({ item }) => (
<Instance question={item} selectFaq={selectFaq} />
)}
initialNumToRender={10}
/>
) : (
<Text
style={[
tw("w-full px-4 mt-10 text-center"),
{ fontFamily: "bold", color: Colors.theme1.gray20 + "77" },
]}
>
موردی یافت نشد.
</Text>
)
) : (
<FlatList <FlatList
contentContainerStyle={{ paddingBottom: height / 2 }} contentContainerStyle={{ paddingBottom: height }}
style={[tw("flex px-4 mb-4")]} style={[tw("flex px-4 mb-4")]}
data={searchResult} data={list}
keyExtractor={(item, index) => { keyExtractor={(item, index) => {
return index; return index;
}} }}
@ -94,30 +118,8 @@ function Faq({
)} )}
initialNumToRender={10} initialNumToRender={10}
/> />
) : ( )}
<Text </View>
style={[
tw("w-full px-4 mt-10 text-center"),
{ fontFamily: "bold", color: Colors.theme1.gray20 + "77" },
]}
>
موردی یافت نشد.
</Text>
)
) : (
<FlatList
contentContainerStyle={{ paddingBottom: height / 2 }}
style={[tw("flex px-4 mb-4")]}
data={list}
keyExtractor={(item, index) => {
return index;
}}
renderItem={({ item }) => (
<Instance question={item} selectFaq={selectFaq} />
)}
initialNumToRender={10}
/>
)}
</SafeAreaView> </SafeAreaView>
) : null; ) : null;
} }

@ -107,7 +107,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 0, paddingBottom: 0,
paddingTop: 64,
paddingHorizontal: 0, paddingHorizontal: 0,
}, },
}); });

@ -491,8 +491,9 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 0, paddingBottom: 0,
paddingHorizontal: 16, paddingHorizontal: 16,
paddingTop: 64,
}, },
}); });

@ -89,7 +89,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 0, paddingBottom: 0,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -17,13 +17,7 @@ function Rates({ rate, productId, addVote, isBuyed = null, theme }) {
<View style={tw("flex flex-row-reverse")}> <View style={tw("flex flex-row-reverse")}>
<Pressable <Pressable
style={[tw("flex items-center justify-center"), { width: "25%" }]} style={[tw("flex items-center justify-center"), { width: "25%" }]}
onPress={() => onPress={() => {}}
!isBuyed
? asyncAwesomeAlert("خطا", "شما این محصول رو خریداری نکرده اید.", {
showCancelButton: false,
})
: {}
}
> >
<Text <Text
style={[ style={[

@ -57,7 +57,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -12,7 +12,7 @@ import Select from "../../../components/Select";
const Header = ({ setFilterOptions, filterOptions, levels, productTypes }) => { const Header = ({ setFilterOptions, filterOptions, levels, productTypes }) => {
return ( return (
<View style={tw("flex px-4 h-32")}> <View style={tw("flex mt-14 px-4 h-32")}>
<Search <Search
onChange={(val) => setFilterOptions({ ...filterOptions, search: val })} onChange={(val) => setFilterOptions({ ...filterOptions, search: val })}
placeholder={"نام کتاب یا دوره را جستجو کنید"} placeholder={"نام کتاب یا دوره را جستجو کنید"}

@ -149,7 +149,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -40,6 +40,8 @@ function QRContent({ route, getQrData, data, grades, theme }) {
}} }}
/> />
<ScrollView <ScrollView
style={tw('pt-14')}
> >
{data ? <Content data={data} grades={grades} theme={theme} /> : null} {data ? <Content data={data} grades={grades} theme={theme} /> : null}
</ScrollView> </ScrollView>

@ -340,7 +340,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -220,7 +220,8 @@ const styles = StyleSheet.create({
paddingBottom: 100, paddingBottom: 100,
}, },
container: { container: {
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -129,7 +129,8 @@ const styles = StyleSheet.create({
paddingBottom: 100, paddingBottom: 100,
}, },
container: { container: {
paddingVertical: 5, paddingBottom: 5,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -92,7 +92,8 @@ const styles = StyleSheet.create({
}, },
container: { container: {
flexDirection: "column", flexDirection: "column",
paddingVertical: 0, paddingBottom: 0,
paddingTop: 64,
paddingHorizontal: 16, paddingHorizontal: 16,
}, },
}); });

@ -3624,7 +3624,7 @@ hermes-profile-transformer@^0.0.6:
dependencies: dependencies:
source-map "^0.7.3" source-map "^0.7.3"
hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: hoist-non-react-statics@^3.0.1, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2:
version "3.3.2" version "3.3.2"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
@ -4905,6 +4905,11 @@ minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
mitt@^1.1.3:
version "1.2.0"
resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.2.0.tgz#cb24e6569c806e31bd4e3995787fe38a04fdf90d"
integrity sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==
mixin-deep@^1.2.0: mixin-deep@^1.2.0:
version "1.3.2" version "1.3.2"
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
@ -5548,6 +5553,14 @@ react-native-codegen@^0.0.6:
jscodeshift "^0.11.0" jscodeshift "^0.11.0"
nullthrows "^1.1.1" nullthrows "^1.1.1"
react-native-copilot@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/react-native-copilot/-/react-native-copilot-2.5.1.tgz#1ef174fedb422b3981ee440970d34a733e35845b"
integrity sha512-THo7rFV35Ffnwz+2vS01H8PXUXc5IAk+CLD5Rd3kWTNla+cBww8hhxKxJc8pJF7xj+o8NZqCDPy+R6LjtFuBLQ==
dependencies:
hoist-non-react-statics "^3.0.1"
mitt "^1.1.3"
react-native-htmlview@^0.16.0: react-native-htmlview@^0.16.0:
version "0.16.0" version "0.16.0"
resolved "https://registry.yarnpkg.com/react-native-htmlview/-/react-native-htmlview-0.16.0.tgz#4a70d7c02ab3ab18e1cb708c0dcf0d99bc6c1cdc" resolved "https://registry.yarnpkg.com/react-native-htmlview/-/react-native-htmlview-0.16.0.tgz#4a70d7c02ab3ab18e1cb708c0dcf0d99bc6c1cdc"

Loading…
Cancel
Save