diff --git a/expo/nativewind-env.d.ts b/expo/nativewind-env.d.ts new file mode 100644 index 000000000..a13e3136b --- /dev/null +++ b/expo/nativewind-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/expo/src/components/AnimatedTextStyled.js b/expo/src/components/AnimatedTextStyled.js index 9094ed973..42ad7a64f 100644 --- a/expo/src/components/AnimatedTextStyled.js +++ b/expo/src/components/AnimatedTextStyled.js @@ -1,18 +1,44 @@ -import styled from "styled-components"; -import { Animated, Platform } from "react-native"; +import React from "react"; +import { Animated, Platform, StyleSheet } from "react-native"; -const AnimatedTextStyled = styled(Animated.Text)` - ${Platform.OS === "android" && "font-family: Raleway;"} - color: ${({ color }) => color || "#191919"}; - ${(props) => props.semibold && "font-weight: 600;"} - ${(props) => props.bold && "font-weight: bold;"} - ${(props) => props.italic && "font-style: italic;"} - ${(props) => props.center && "text-align: center;"} - textDecoration: ${({ underline }) => underline && "underline"}; - ${({ size }) => size && `font-size: ${size}px;`} - ${({ lineHeight }) => lineHeight && `line-height: ${lineHeight}px;`} +const AnimatedText = ({ + color = "#191919", + semibold, + bold, + italic, + center, + underline, + size, + lineHeight, + style, + ...props +}) => { + const classNames = [ + "font-raleway", + color !== "#191919" && `text-[${color}]`, + semibold && "font-semibold", + bold && "font-bold", + italic && "italic", + center && "text-center", + underline && "underline", + size && `text-[${size}px]`, + lineHeight && `leading-[${lineHeight}px]`, + ] + .filter(Boolean) + .join(" "); - text-decoration-color: ${({ color }) => color || "#191919"}; -`; + const inlineStyle = { + ...(Platform.OS === "android" && styles.androidFont), + ...(underline && { textDecorationColor: color }), + }; -export default AnimatedTextStyled; + return ; +}; + +const styles = StyleSheet.create({ + androidFont: { + fontFamily: "Raleway", + }, +}); + +export default AnimatedText; diff --git a/expo/src/components/ArrowDown.js b/expo/src/components/ArrowDown.js index e2df32738..0cf013857 100644 --- a/expo/src/components/ArrowDown.js +++ b/expo/src/components/ArrowDown.js @@ -1,13 +1,10 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; const ArrowDown = ({ color = "#39cec0", size, ...style }) => ( - + - + ); -const StyledSvg = styled(Svg)``; - export default ArrowDown; diff --git a/expo/src/components/ArrowLeft.js b/expo/src/components/ArrowLeft.js index 02c9e19cb..e0bf99ddf 100644 --- a/expo/src/components/ArrowLeft.js +++ b/expo/src/components/ArrowLeft.js @@ -1,11 +1,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; - -const StyledSvg = styled(Svg)``; const ArrowLeft = ({ size = 20, color = "#39cec0", ...props }) => ( - + ( fillRule="nonzero" transform="translate(23.757570, 40.016477) scale(-1, 1) translate(-23.757570, -40.016477) " /> - + ); export default ArrowLeft; diff --git a/expo/src/components/ArrowRight.js b/expo/src/components/ArrowRight.js index f3f726bcf..1e4144336 100644 --- a/expo/src/components/ArrowRight.js +++ b/expo/src/components/ArrowRight.js @@ -1,18 +1,15 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; - -const StyledSvg = styled(Svg)``; const ArrowRight = ({ size = 20, color = "#39cec0", ...props }) => ( - + - + ); export default ArrowRight; diff --git a/expo/src/components/ArrowUp.js b/expo/src/components/ArrowUp.js index 33964839f..8d0fe9a18 100644 --- a/expo/src/components/ArrowUp.js +++ b/expo/src/components/ArrowUp.js @@ -1,18 +1,15 @@ import React from "react"; import Svg, { Polygon } from "react-native-svg"; -import styled from "styled-components"; const ArrowUp = ({ color = "#39cec0", size, ...style }) => ( - + - + ); -const StyledSvg = styled(Svg)``; - export default ArrowUp; diff --git a/expo/src/components/BackButton.js b/expo/src/components/BackButton.js index 33f03e294..93b58a55e 100644 --- a/expo/src/components/BackButton.js +++ b/expo/src/components/BackButton.js @@ -1,49 +1,41 @@ import React from "react"; -import { Platform } from "react-native"; -import styled, { css } from "styled-components"; -import { mediaHeight } from "../styles/mediaQueries"; -import { defaultPaddingFontScale } from "../styles/theme"; +import { TouchableOpacity, Platform, Dimensions } from "react-native"; import TextStyled from "./TextStyled"; +import { defaultPaddingFontScale } from "../styles/theme"; -const BackButton = ({ onPress, marginBottom, marginLeft, marginTop }) => ( - - {"< Retour"} - -); - -const Container = styled.TouchableOpacity` - margin-right: auto; - ${({ marginLeft }) => marginLeft && `margin-left: ${defaultPaddingFontScale()}px`}; - ${({ marginBottom }) => marginBottom && "margin-bottom: 20px"}; - ${({ marginTop }) => !!marginTop && "margin-top: 20px"}; -`; - -const bigContent = css` - font-size: ${({ small }) => (small ? 15 : 20)}px; -`; - -const mediumContent = css` - font-size: ${({ small }) => (small ? 13 : 18)}px; -`; - -const smallContent = css` - font-size: ${({ small }) => (small ? 13 : 15)}px; -`; - -const ReturnButton = styled(TextStyled)` - color: #191919; - font-weight: ${({ bold }) => (bold ? (Platform.OS === "android" ? "bold" : "800") : "normal")}; - flex-shrink: 0; - ${bigContent} - ${mediaHeight.medium`${mediumContent}`} - ${mediaHeight.small`${smallContent}`} - justify-content: center; - align-items: center; - text-align-vertical: center; -`; +const { height } = Dimensions.get("window"); -export default BackButton; +export default function BackButton({ onPress, marginBottom, marginLeft, marginTop, small = false }) { + return ( + + 800 + ? small + ? "text-[15px]" + : "text-[20px]" + : height > 700 + ? small + ? "text-[13px]" + : "text-[18px]" + : small + ? "text-[13px]" + : "text-[15px]", + ].join(" ")} + style={{ textAlignVertical: "center" }} + > + {"< Retour"} + + + ); +} diff --git a/expo/src/components/BackGroundBopMotivation.js b/expo/src/components/BackGroundBopMotivation.js index 6dd9106ad..88756ece9 100644 --- a/expo/src/components/BackGroundBopMotivation.js +++ b/expo/src/components/BackGroundBopMotivation.js @@ -1,13 +1,15 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-right: 5px; -`; - -const BackGroundBotMotivation = ({ size, ...props }) => ( - +const BackGroundBotMotivation = ({ size, className = "", ...props }) => ( + ( d="M95.4513 114.792L96.5003 117.792L95.734 118.112C95.8035 118.317 95.8349 118.536 95.8265 118.755C95.8181 118.974 95.7701 119.188 95.6852 119.387C95.6003 119.585 95.4802 119.763 95.332 119.91C95.1838 120.056 95.0103 120.169 94.8218 120.242L94.4205 120.412L95.1776 122.622L102.612 119.552L101.846 117.332L101.444 117.502C101.257 117.578 101.058 117.613 100.858 117.603C100.659 117.594 100.463 117.542 100.282 117.449C100.101 117.355 99.9388 117.224 99.8048 117.061C99.6709 116.899 99.5677 116.709 99.5015 116.502L98.7352 116.822L97.6953 113.822C102.813 107.412 98.6075 106.292 97.823 104.022C97.3116 102.294 97.1102 100.474 97.2301 98.6621L86.6211 103.052C87.8032 104.326 88.7508 105.836 89.4124 107.502C90.1969 109.802 87.7157 113.692 95.4513 114.792Z" fill="#FAFAFA" /> - - + + ( d="M131.433 68L129.753 71.4055L126 71.95L128.711 74.6026L128.073 78.3556L131.433 76.5833L134.803 78.3556L134.155 74.6026L136.877 71.95L133.112 71.4055L131.433 68Z" fill="#FAFAFA" /> - + ); export default BackGroundBotMotivation; diff --git a/expo/src/components/BackGroundTopMotivation.js b/expo/src/components/BackGroundTopMotivation.js index ad5238435..6f6bf94b4 100644 --- a/expo/src/components/BackGroundTopMotivation.js +++ b/expo/src/components/BackGroundTopMotivation.js @@ -1,13 +1,15 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-right: 5px; -`; - -const BackGroundTopMotivation = ({ size, fill = "#39cec0", ...props }) => ( - +const BackGroundTopMotivation = ({ size, fill = "#39cec0", className = "", ...props }) => ( + ( d="M58.4677 31.7921L57.3177 34.7921L58.1577 35.1121C58.0816 35.3175 58.0471 35.536 58.0563 35.7548C58.0655 35.9736 58.1182 36.1884 58.2113 36.3867C58.3044 36.585 58.436 36.7627 58.5984 36.9096C58.7609 37.0564 58.9511 37.1695 59.1577 37.2421L59.5977 37.4121L58.7677 39.6221L50.6177 36.5521L51.4577 34.3321L51.8977 34.5021C52.103 34.5782 52.3215 34.6127 52.5404 34.6035C52.7592 34.5943 52.974 34.5416 53.1723 34.4485C53.3705 34.3554 53.5483 34.2238 53.6951 34.0613C53.842 33.8988 53.955 33.7087 54.0277 33.5021L54.8677 33.8221L56.0077 30.8221C50.3977 24.4121 55.0077 23.2921 55.8677 21.0221C56.4283 19.2942 56.6491 17.474 56.5177 15.6621L68.1477 20.0521C66.8518 21.3256 65.813 22.8363 65.0877 24.5021C64.2277 26.8021 66.9477 30.6921 58.4677 31.7921Z" fill="#FAFAFA" /> - - + + ( d="M27.4753 106.96C27.6025 106.994 27.738 106.976 27.8522 106.91C27.9664 106.845 28.0502 106.737 28.0853 106.61C28.1345 106.427 28.2194 106.255 28.335 106.105C28.4506 105.954 28.5947 105.828 28.759 105.733C28.9234 105.639 29.1048 105.577 29.2929 105.553C29.481 105.528 29.6721 105.541 29.8553 105.59C30.0385 105.639 30.2102 105.724 30.3606 105.84C30.511 105.955 30.6371 106.099 30.7318 106.264C30.8266 106.428 30.888 106.609 30.9126 106.798C30.9372 106.986 30.9245 107.177 30.8753 107.36C30.8582 107.426 30.8542 107.494 30.8636 107.561C30.8729 107.628 30.8954 107.693 30.9298 107.752C30.9641 107.81 31.0097 107.861 31.0638 107.902C31.1179 107.943 31.1796 107.973 31.2453 107.99C31.3109 108.007 31.3793 108.011 31.4465 108.002C31.5137 107.992 31.5784 107.97 31.6369 107.935C31.6954 107.901 31.7466 107.856 31.7875 107.801C31.8284 107.747 31.8582 107.686 31.8753 107.62C31.9586 107.31 31.9802 106.987 31.9386 106.668C31.8971 106.35 31.7932 106.043 31.6331 105.765C31.4729 105.487 31.2595 105.243 31.0051 105.048C30.7506 104.852 30.4602 104.708 30.1503 104.625C29.8403 104.542 29.517 104.52 29.1988 104.562C28.8805 104.603 28.5736 104.707 28.2955 104.867C28.0174 105.027 27.7736 105.241 27.5779 105.495C27.3823 105.75 27.2386 106.04 27.1553 106.35C27.1202 106.473 27.1339 106.605 27.1935 106.719C27.253 106.832 27.3539 106.919 27.4753 106.96Z" fill="#4030A5" /> - + ); export default BackGroundTopMotivation; diff --git a/expo/src/components/H1.js b/expo/src/components/H1.js deleted file mode 100644 index 8c11f1317..000000000 --- a/expo/src/components/H1.js +++ /dev/null @@ -1,29 +0,0 @@ -import { Platform } from "react-native"; -import styled, { css } from "styled-components"; -import { mediaHeight } from "../styles/mediaQueries"; -import TextStyled from "./TextStyled"; - -const bigH1 = css` - font-size: 23px; - line-height: 30px; -`; - -const mediumH1 = css` - font-size: 20px; - line-height: 30px; -`; - -const smallH1 = css` - font-size: 17px; - line-height: 25px; -`; - -const H1 = styled(TextStyled)` - color: ${({ color }) => (color ? color : "#4030a5")}; - font-weight: ${Platform.OS === "android" ? "bold" : "800"}; - ${bigH1} - ${mediaHeight.medium`${mediumH1}`} - ${mediaHeight.small`${smallH1}`} -`; - -export default H1; diff --git a/expo/src/components/H1.tsx b/expo/src/components/H1.tsx new file mode 100644 index 000000000..fb3cb4b27 --- /dev/null +++ b/expo/src/components/H1.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { Text, Dimensions, Platform, TextStyle, TextProps } from "react-native"; +import { styled } from "nativewind"; + +const { height } = Dimensions.get("window"); + +function getResponsiveClasses(): string { + if (height > 800) return "text-[23px] leading-[30px]"; + if (height > 700) return "text-[20px] leading-[30px]"; + return "text-[17px] leading-[25px]"; +} + +const responsiveClasses = getResponsiveClasses(); +const fontWeight = Platform.OS === "android" ? "font-bold" : "font-extrabold"; + +const StyledH1 = styled(Text, `${responsiveClasses} ${fontWeight} text-[#4030a5]`); + +interface H1Props extends TextProps { + style?: TextStyle; +} + +export default function H1({ style, ...props }: H1Props): React.ReactElement { + return ; +} diff --git a/expo/src/components/H2.js b/expo/src/components/H2.js deleted file mode 100644 index bbdbbf20a..000000000 --- a/expo/src/components/H2.js +++ /dev/null @@ -1,28 +0,0 @@ -import styled, { css } from "styled-components"; -import { mediaHeight } from "../styles/mediaQueries"; -import TextStyled from "./TextStyled"; - -const bigH2 = css` - font-size: 20px; - line-height: 30px; -`; - -const mediumH2 = css` - font-size: 17.5px; - line-height: 23px; -`; - -const smallH2 = css` - font-size: 16px; - line-height: 20px; -`; - -const H2 = styled(TextStyled)` - color: ${({ color }) => (color ? color : "#191919")}; - font-weight: bold; - ${bigH2} - ${mediaHeight.medium`${mediumH2}`} - ${mediaHeight.small`${smallH2}`} -`; - -export default H2; diff --git a/expo/src/components/H2.tsx b/expo/src/components/H2.tsx new file mode 100644 index 000000000..4aca37bcf --- /dev/null +++ b/expo/src/components/H2.tsx @@ -0,0 +1,23 @@ +import React from "react"; +import { Text, Dimensions, TextProps, TextStyle } from "react-native"; +import { styled } from "nativewind"; + +const { height } = Dimensions.get("window"); + +function getResponsiveClasses(): string { + if (height > 800) return "text-[20px] leading-[30px]"; + if (height > 700) return "text-[17.5px] leading-[23px]"; + return "text-[16px] leading-[20px]"; +} + +const responsiveClasses = getResponsiveClasses(); + +const StyledH2 = styled(Text, `${responsiveClasses} font-bold text-[#191919]`); + +interface H2Props extends TextProps { + style?: TextStyle; +} + +export default function H2({ style, ...props }: H2Props): React.ReactElement { + return ; +} diff --git a/expo/src/components/H3.js b/expo/src/components/H3.js deleted file mode 100644 index 2495fb087..000000000 --- a/expo/src/components/H3.js +++ /dev/null @@ -1,27 +0,0 @@ -import styled, { css } from "styled-components"; -import { mediaHeight } from "../styles/mediaQueries"; -import TextStyled from "./TextStyled"; - -const bigH3 = css` - font-size: 16px; - line-height: 18px; -`; - -const mediumH3 = css` - font-size: 16px; - line-height: 20px; -`; - -const smallH3 = css` - font-size: 16px; - line-height: 16px; -`; - -const H3 = styled(TextStyled)` - color: ${({ color }) => (color ? color : "#191919")}; - ${bigH3} - ${mediaHeight.medium`${mediumH3}`} - ${mediaHeight.small`${smallH3}`} -`; - -export default H3; diff --git a/expo/src/components/H3.tsx b/expo/src/components/H3.tsx new file mode 100644 index 000000000..f7e01b475 --- /dev/null +++ b/expo/src/components/H3.tsx @@ -0,0 +1,23 @@ +import React from "react"; +import { Text, Dimensions, TextProps, TextStyle } from "react-native"; +import { styled } from "nativewind"; + +const { height } = Dimensions.get("window"); + +function getResponsiveClasses(): string { + if (height > 800) return "leading-4.5"; + if (height > 700) return "leading-5"; + return "leading-4"; +} + +const responsiveClasses = getResponsiveClasses(); + +const StyledH3 = styled(Text, `text-base ${responsiveClasses} text-[#191919]`); + +interface H3Props extends TextProps { + style?: TextStyle; +} + +export default function H3({ style, ...props }: H3Props): React.ReactElement { + return ; +} diff --git a/expo/src/components/TextStyled.js b/expo/src/components/TextStyled.js index d73ce685c..718838981 100644 --- a/expo/src/components/TextStyled.js +++ b/expo/src/components/TextStyled.js @@ -1,18 +1,50 @@ -import styled from "styled-components"; -import { Platform } from "react-native"; +import React from "react"; +import { Text, StyleSheet, Platform } from "react-native"; -const TextStyled = styled.Text` - ${Platform.OS === "android" && "font-family: Raleway;"} - color: ${({ color }) => color || "#191919"}; - ${(props) => props.semibold && "font-weight: 600;"} - ${(props) => !!props.bold && "font-weight: bold;"} - ${(props) => props.italic && "font-style: italic;"} - ${(props) => props.center && "text-align: center;"} - textDecoration: ${({ underline }) => underline && "underline"}; - ${({ size }) => size && `font-size: ${size}px;`} - ${({ lineHeight }) => lineHeight && `line-height: ${lineHeight}px;`} +export default function TextStyled({ + color = "#191919", + semibold, + bold, + italic, + center, + underline, + size, + lineHeight, + style, + textClassName = "", + ...props +}) { + return ( + + ); +} - text-decoration-color: ${({ color }) => color || "#191919"}; -`; - -export default TextStyled; +const styles = StyleSheet.create({ + text: Platform.select({ + android: { fontFamily: "Raleway" }, + ios: {}, + }), +}); diff --git a/expo/src/components/ValidateIcon.js b/expo/src/components/ValidateIcon.js index d88c2a70f..ed35c8e16 100644 --- a/expo/src/components/ValidateIcon.js +++ b/expo/src/components/ValidateIcon.js @@ -1,13 +1,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-right: 5px; -`; - -const ValidateIcon = ({ size, fill = "#39cec0", ...props }) => ( - +const ValidateIcon = ({ size, fill = "#39cec0", className = "", ...props }) => ( + ( d="M7.24951 10.6667C7.12146 10.6667 6.99353 10.6182 6.89612 10.5201L4.72949 8.35352C4.53418 8.15808 4.53418 7.84143 4.72949 7.64612C4.9248 7.45081 5.24146 7.45081 5.43689 7.64612L7.25012 9.45947L11.2302 5.47949C11.4255 5.28418 11.7422 5.28418 11.9375 5.47949C12.1328 5.6748 12.1328 5.99146 11.9375 6.18677L7.60413 10.5201C7.50549 10.6182 7.37756 10.6667 7.24951 10.6667Z" fill={fill} /> - + ); export default ValidateIcon; diff --git a/expo/src/components/illustrations/AdviceVideos.js b/expo/src/components/illustrations/AdviceVideos.js index 9dcc9349f..b5bb1d52c 100644 --- a/expo/src/components/illustrations/AdviceVideos.js +++ b/expo/src/components/illustrations/AdviceVideos.js @@ -1,67 +1,64 @@ import React from "react"; import Svg, { Path, G, Defs, Rect, ClipPath } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - -const AdviceVideos = ({ size, ...props }) => ( - - - - - - - - - - - - - - - - - - - - -); - -export default AdviceVideos; +export default function AdvicesIcon({ size, ...props }) { + return ( + + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/expo/src/components/illustrations/AdvicesICon.js b/expo/src/components/illustrations/AdvicesICon.js index c18b716a1..34738fcc9 100644 --- a/expo/src/components/illustrations/AdvicesICon.js +++ b/expo/src/components/illustrations/AdvicesICon.js @@ -1,45 +1,42 @@ import React from "react"; import Svg, { Path, Circle } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - -const AdvicesIcon = ({ size, ...props }) => ( - - - - - - - - - - - -); - -export default AdvicesIcon; +export default function AdvicesIcon({ size, ...props }) { + return ( + + + + + + + + + + + + ); +} diff --git a/expo/src/components/illustrations/Applause.js b/expo/src/components/illustrations/Applause.js index 85fc820d6..d6694a280 100644 --- a/expo/src/components/illustrations/Applause.js +++ b/expo/src/components/illustrations/Applause.js @@ -1,16 +1,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; - -const StyledSvg = styled(Svg)``; const Applause = ({ size, ...props }) => ( - + - + ); export default Applause; diff --git a/expo/src/components/illustrations/AppointmentHeart.js b/expo/src/components/illustrations/AppointmentHeart.js index 365ec9151..9a4fc99f0 100644 --- a/expo/src/components/illustrations/AppointmentHeart.js +++ b/expo/src/components/illustrations/AppointmentHeart.js @@ -1,11 +1,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; - -const StyledSvg = styled(Svg)``; const AppointmentHeart = ({ size, ...props }) => ( - + ( d="M36.774 3.871h-4.516v-1.29A2.583 2.583 0 0 0 29.678 0a2.583 2.583 0 0 0-2.581 2.58v1.291h-3.871v-1.29A2.583 2.583 0 0 0 20.646 0a2.583 2.583 0 0 0-2.582 2.58v1.291h-3.87v-1.29A2.583 2.583 0 0 0 11.613 0a2.583 2.583 0 0 0-2.58 2.58v1.291h-.646a3.23 3.23 0 0 0-3.226 3.226v26.451H0v3.226A3.23 3.23 0 0 0 3.226 40h33.548A3.23 3.23 0 0 0 40 36.774V7.097a3.23 3.23 0 0 0-3.226-3.226Zm1.936 3.226v1.935h-3.871V7.097c0-1.067.868-1.936 1.935-1.936 1.067 0 1.936.869 1.936 1.936ZM28.387 2.58a1.291 1.291 0 0 1 2.58 0v1.29h-2.58v-1.29Zm-9.032 0a1.292 1.292 0 0 1 2.58 0v1.29h-2.58v-1.29Zm-9.032 0a1.291 1.291 0 0 1 2.58 0v1.29h-2.58v-1.29ZM8.387 5.16h.645a2.583 2.583 0 0 0 2.58 2.58v-1.29c-.71 0-1.29-.578-1.29-1.29h7.742a2.583 2.583 0 0 0 2.581 2.58v-1.29c-.712 0-1.29-.578-1.29-1.29h7.742a2.583 2.583 0 0 0 2.58 2.58v-1.29c-.711 0-1.29-.578-1.29-1.29h5.823a3.193 3.193 0 0 0-.662 1.936v1.935H6.452V7.097c0-1.067.868-1.936 1.935-1.936ZM3.226 38.71a1.938 1.938 0 0 1-1.936-1.936V34.84h27.097v1.935c0 .726.24 1.396.646 1.936H3.226Zm28.387 0a1.938 1.938 0 0 1-1.936-1.936v-3.226H6.452V10.323h27.096v26.451a1.938 1.938 0 0 1-1.935 1.936Zm5.161 0h-2.582c.282-.375.477-.815.575-1.29h2.652V11.612h-1.29v24.516h-1.29V10.323h3.87v26.451a1.938 1.938 0 0 1-1.935 1.936Z" fill="#4030A5" /> - + - + ); export default AppointmentHeart; diff --git a/expo/src/components/illustrations/ArrowAdvice.js b/expo/src/components/illustrations/ArrowAdvice.js index 03e9077df..53e4f35d4 100644 --- a/expo/src/components/illustrations/ArrowAdvice.js +++ b/expo/src/components/illustrations/ArrowAdvice.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ArrowAdvice = ({ size, ...props }) => ( - + - + ); export default ArrowAdvice; diff --git a/expo/src/components/illustrations/BreathingIcon.js b/expo/src/components/illustrations/BreathingIcon.js index 42bcf5c1f..1a378a84b 100644 --- a/expo/src/components/illustrations/BreathingIcon.js +++ b/expo/src/components/illustrations/BreathingIcon.js @@ -2,16 +2,14 @@ import React from "react"; import Svg, { Path, Circle } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const BreathingIcon = ({ size, ...props }) => ( - + - + ); export default BreathingIcon; diff --git a/expo/src/components/illustrations/CalendarIcon.js b/expo/src/components/illustrations/CalendarIcon.js index cb5778953..1e40c08a8 100644 --- a/expo/src/components/illustrations/CalendarIcon.js +++ b/expo/src/components/illustrations/CalendarIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { ClipPath, Defs, G, Path, Rect } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CalendarIcon = ({ color = "#5150A2", size, ...props }) => ( - + ( - + ); export default CalendarIcon; diff --git a/expo/src/components/illustrations/CalendarIllus.js b/expo/src/components/illustrations/CalendarIllus.js index 812e7299c..4222019f7 100644 --- a/expo/src/components/illustrations/CalendarIllus.js +++ b/expo/src/components/illustrations/CalendarIllus.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CalendarIllus = ({ color = "#000000", size, ...props }) => ( - + - + ); export default CalendarIllus; diff --git a/expo/src/components/illustrations/CallIcon.js b/expo/src/components/illustrations/CallIcon.js index 056b1dc23..6e36c40df 100644 --- a/expo/src/components/illustrations/CallIcon.js +++ b/expo/src/components/illustrations/CallIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CallIcon = ({ size, ...props }) => ( - + ( fill="#fff" d="M90.264 83.247a1.54 1.54 0 0 0-.391.324c-.089.11-.156.235-.199.37-.372.777-.69 1.58-.953 2.402-.283.72-.567 1.448-.788 2.175-.067.131-.116.27-.147.415a2.889 2.889 0 0 0-.193.567l-.46 1.216c-.05.12-.108.233-.158.346a6.902 6.902 0 0 0-.375 1.057 1.012 1.012 0 0 0 .097.954c.37.36.828.62 1.327.755l.136.04c.136.045.272.08.408.12l.715.363.136.096c.05.054.098.111.142.17.049.061.085.13.108.205.029.121.029.248 0 .37l-.12.567c-.101.307-.21.614-.317.915l-.153.397c-.159.426-.323.858-.488 1.284-.164.426-.312.772-.442 1.136a7.485 7.485 0 0 0-.33.761c-.056.13-.118.261-.175.386-.153.324-.3.647-.448.971l-.136.29-.477.943c-.057.119-.119.238-.181.357l-.568 1.023c-.045.085-.096.17-.147.255-.204.347-.409.699-.618 1.045l-.17.267c-.432.653-.863 1.306-1.3 1.96l-.51.721-.142.199-1.582 2.073-.533.607a1.7 1.7 0 0 1-.403.358.608.608 0 0 1-.647.04l-.391-.216c0-.057-.051-.068-.091-.074a11.733 11.733 0 0 0-1.753-1.306.703.703 0 0 0-.766 0 1.37 1.37 0 0 0-.198.148 3.91 3.91 0 0 0-.67.778.432.432 0 0 0-.135.199c-.477.687-.999 1.3-1.492 1.959-.46.539-.913 1.096-1.35 1.675-.25.296-.488.597-.715.926-.277.328-.537.672-.777 1.028a2.09 2.09 0 0 0-.267.392 1.364 1.364 0 0 0-.312 1.102c-.004.238.014.476.057.71.022.289.083.573.182.846a1.908 1.908 0 0 0 .238.727.404.404 0 0 0 .028.125.677.677 0 0 0 .097.148c.04.127.13.234.25.295a.77.77 0 0 0 .305.256c.072.035.146.065.222.09l.147.04a.996.996 0 0 0 .182.074h.085c.1.017.2.017.3 0a.137.137 0 0 0 .142 0 .788.788 0 0 0 .38 0c.137.025.277.025.414 0a1.35 1.35 0 0 0 .42-.04h.25c.192-.026.382-.07.567-.13h.085c.073-.012.145-.029.216-.052a.46.46 0 0 0 .136-.062c.164-.051.192-.068.227-.08a4.73 4.73 0 0 0 .618-.249l.181-.091.13-.08c.124-.07.242-.15.352-.238l.415-.273c.154-.107.3-.227.436-.358.139-.087.271-.184.397-.289.051-.04.102-.091.154-.137l.073-.079.216-.188c.215-.198.43-.403.635-.63.17-.143.328-.3.47-.471a.358.358 0 0 0 .126-.148 9.79 9.79 0 0 0 .834-.863 9.29 9.29 0 0 0 .652-.676 4.3 4.3 0 0 0 .482-.517l.26-.29a.88.88 0 0 0 .205-.227.283.283 0 0 0 .09-.108c.053-.048.102-.099.148-.153.083-.087.16-.18.227-.278.156-.163.304-.334.443-.512l.136-.181.142-.171c.26-.324.521-.636.76-.994.127-.129.238-.274.329-.431.161-.189.307-.39.436-.602.22-.28.425-.572.613-.875.12-.165.176-.239.227-.318.05-.08.113-.153.164-.233.051-.079.204-.318.301-.483l.198-.278c.066-.097.127-.197.182-.301a3.4 3.4 0 0 0 .335-.534c.162-.231.31-.471.442-.721.056-.064.103-.135.142-.21l.062-.108c.021-.039.04-.079.057-.119.051-.069.097-.142.142-.216.143-.22.274-.447.391-.682l.176-.295.567-.977c.073-.097.132-.205.176-.318.142-.227.272-.466.397-.71l.12-.244c.07-.11.13-.226.18-.347l.466-.886c.08-.17.164-.335.244-.499.131-.226.245-.461.34-.705.369-.71.692-1.431.993-2.158l.136-.33c.13-.26.241-.53.335-.806.351-.829.669-1.67.935-2.51 0-.074.052-.142.08-.21.18-.484.33-.98.448-1.483.199-.607.352-1.21.5-1.806.045-.204.096-.403.147-.602a.404.404 0 0 0 .05-.204c0-.046.03-.091.04-.137l.069-.266c.214-.73.38-1.475.499-2.227v-.113a.348.348 0 0 0 0-.194v-.119c0-.068 0-.136.028-.21v-.216a5.12 5.12 0 0 0 .08-.954v-.397a.732.732 0 0 0 0-.279 1.307 1.307 0 0 1 0-.153 2.8 2.8 0 0 0-.142-.824 4.153 4.153 0 0 0-.363-1.135 4.5 4.5 0 0 0-.925-1.58.992.992 0 0 0-.442-.368c0-.035-.04-.08-.097-.063a.754.754 0 0 0-.499-.165 3.625 3.625 0 0 0-1.583.29l-.181.074a2.37 2.37 0 0 0-.448.181l-.085.057c-.102 0-.239.063-.375.142Z" /> - + ); export default CallIcon; diff --git a/expo/src/components/illustrations/Chatbubbles.js b/expo/src/components/illustrations/Chatbubbles.js index 0fae89a10..6d3724950 100644 --- a/expo/src/components/illustrations/Chatbubbles.js +++ b/expo/src/components/illustrations/Chatbubbles.js @@ -2,17 +2,15 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ChatBubbles = ({ size, ...props }) => ( - + - + ); export default ChatBubbles; diff --git a/expo/src/components/illustrations/ChillIcon.js b/expo/src/components/illustrations/ChillIcon.js index c9a634259..5d5dfb77e 100644 --- a/expo/src/components/illustrations/ChillIcon.js +++ b/expo/src/components/illustrations/ChillIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ChillIcon = ({ size, ...props }) => ( - + ( d="M47.9663 13.5928C47.5263 13.6028 38.0663 13.9228 30.9763 21.9028C32.5663 26.9228 32.7863 31.6128 32.4163 35.5528L34.6663 32.2328C34.9763 31.7828 35.5963 31.6628 36.0563 31.9728C36.5163 32.2828 36.6363 32.9028 36.3263 33.3528L31.6763 40.2328C31.0363 43.0428 30.2063 45.1428 29.7163 46.2428C33.6663 45.4728 40.6763 43.0928 45.6663 35.8228C52.8163 25.3928 49.0963 14.7028 48.9263 14.2528C48.7863 13.8528 48.3963 13.6028 47.9663 13.5928Z" fill="white" /> - + ); export default ChillIcon; diff --git a/expo/src/components/illustrations/Clock.js b/expo/src/components/illustrations/Clock.js index c91721474..5d0e8c3e4 100644 --- a/expo/src/components/illustrations/Clock.js +++ b/expo/src/components/illustrations/Clock.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Clock = ({ size, color = "#000", ...props }) => ( - + - + ); export default Clock; diff --git a/expo/src/components/illustrations/CravingIcon.js b/expo/src/components/illustrations/CravingIcon.js index ce8ff80e3..47d1690b5 100644 --- a/expo/src/components/illustrations/CravingIcon.js +++ b/expo/src/components/illustrations/CravingIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CravingIcon = ({ size, color = "#FF0000", ...props }) => ( - + ( d="M40 1.0647C24.536 1.0647 12 13.6007 12 29.0647C12 44.5286 24.536 57.0647 40 57.0647C55.464 57.0647 68 44.5286 68 29.0647C68 13.6007 55.464 1.0647 40 1.0647ZM40 14.399C41.4728 14.399 42.6667 15.5928 42.6667 17.0656V33.0656C42.6667 34.5384 41.4728 35.7323 40 35.7323C38.5272 35.7323 37.3333 34.5384 37.3333 33.0656V17.0656C37.3333 15.5928 38.5272 14.399 40 14.399ZM42.6667 39.7323C42.6667 41.2051 41.4728 42.399 40 42.399C38.5272 42.399 37.3333 41.2051 37.3333 39.7323C37.3333 38.2595 38.5272 37.0656 40 37.0656C41.4728 37.0656 42.6667 38.2595 42.6667 39.7323Z" fill={color} /> - + ); export default CravingIcon; diff --git a/expo/src/components/illustrations/CreativityIcon.js b/expo/src/components/illustrations/CreativityIcon.js index 0c3143108..3d6200c09 100644 --- a/expo/src/components/illustrations/CreativityIcon.js +++ b/expo/src/components/illustrations/CreativityIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CreativityIcon = ({ size, ...props }) => ( - + ( fill="#263238" d="M133.316 32.377c-.414.61-.798 1.24-1.148 1.89-1.204 2.373-1.271 5.232-2.029 7.802-.758 2.57-1.89 5.016-3.807 6.877a14.2 14.2 0 0 1-7.062 3.534 32.325 32.325 0 0 1-7.97.462 26.379 26.379 0 0 1-6.025-.78c-4.091-1.148-7.151-4.035-7.246-8.65-.05-2.72 1.371-5.422 5.133-7.078-2.786-2.196-3.02-6.877-.445-9.324 1.722-1.633 4.224-2.151 6.131-3.533 3.333-2.375 3.132-6.326 4.759-9.67a17.173 17.173 0 0 1 8.199-8.076c5.329-2.424 12.173-1.432 17.362.97 3.606 1.672 6.761 4.866 7.274 8.806.557 4.364-2.358 8.728-6.349 10.59-1.471.685-3.059 1.08-4.564 1.705a1.297 1.297 0 0 0-.558.356 1.635 1.635 0 0 0-.212.803 7.868 7.868 0 0 1-1.443 3.316Z" /> - + ( fill="#263238" d="m128.801 115.617 2.531-16.135s5.451-.785 10.5-6.275c0 0-1.672 4.804-7.803 7.608l-2.681 15.153-.317 20.621-2.23-20.972Z" /> - + ( fill="#39CEC1" d="M65.646 158.887a8.578 8.578 0 0 1 4.816.558 8.463 8.463 0 0 1 4.013 3.756c-.312-.591-2.787-.836-3.405-.914a21.151 21.151 0 0 0-6.438.089 14.152 14.152 0 0 0-3.144.998c-.39.173-2.586 1.115-2.614 1.544.123-2.029 1.539-3.818 3.305-4.827a10.252 10.252 0 0 1 3.467-1.204Z" /> - + ); export default CreativityIcon; diff --git a/expo/src/components/illustrations/DefiLanding.js b/expo/src/components/illustrations/DefiLanding.js index 86531e252..b5e674e88 100644 --- a/expo/src/components/illustrations/DefiLanding.js +++ b/expo/src/components/illustrations/DefiLanding.js @@ -1,13 +1,8 @@ import React from "react"; import Svg, { Line, Circle, Path } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-top: -30px; -`; - -const DefiLanding = ({ color, size, ...props }) => ( - +const DefiLanding = ({ color, size, className = "", ...props }) => ( + ( - + ); export default DefiLanding; diff --git a/expo/src/components/illustrations/Done.js b/expo/src/components/illustrations/Done.js index a56d57adc..68c7516ec 100644 --- a/expo/src/components/illustrations/Done.js +++ b/expo/src/components/illustrations/Done.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Done = ({ size, ...props }) => ( - + - + ); export default Done; diff --git a/expo/src/components/illustrations/Dose.js b/expo/src/components/illustrations/Dose.js index 8b8ced4c9..5f537e0be 100644 --- a/expo/src/components/illustrations/Dose.js +++ b/expo/src/components/illustrations/Dose.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { G, Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Dose = ({ size, ...props }) => ( - + ( fillRule="nonzero" /> - + ); export default Dose; diff --git a/expo/src/components/illustrations/DraggableClick.js b/expo/src/components/illustrations/DraggableClick.js index af64db2a1..52b90213d 100644 --- a/expo/src/components/illustrations/DraggableClick.js +++ b/expo/src/components/illustrations/DraggableClick.js @@ -2,14 +2,12 @@ import React from "react"; import Svg, { Rect } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const DraggableClick = ({ color = "#000", size, ...props }) => ( - + - + ); export default DraggableClick; diff --git a/expo/src/components/illustrations/DraggableHand.js b/expo/src/components/illustrations/DraggableHand.js index 09d35ef0f..4a12bc353 100644 --- a/expo/src/components/illustrations/DraggableHand.js +++ b/expo/src/components/illustrations/DraggableHand.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const DraggableHand = ({ color = "#000", size, ...props }) => ( - + - + ); export default DraggableHand; diff --git a/expo/src/components/illustrations/EntertainmentVideos.js b/expo/src/components/illustrations/EntertainmentVideos.js index 71c069ee8..a9d045012 100644 --- a/expo/src/components/illustrations/EntertainmentVideos.js +++ b/expo/src/components/illustrations/EntertainmentVideos.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { ClipPath, Defs, G, Path, Rect } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const EntertainmentVideos = ({ size, ...props }) => ( - + ( fill="black" /> - + - + ( d="M13.7105 90.2806C13.6664 90.2644 13.619 90.259 13.5724 90.2651C13.5258 90.2712 13.4814 90.2885 13.4429 90.3155L12.0582 91.1155C12.1214 90.836 12.1371 90.5478 12.1047 90.2631L12.7156 89.9082C12.7565 89.8763 12.8059 89.857 12.8576 89.8529C12.9093 89.8488 12.9611 89.8599 13.0065 89.885L13.7105 90.2806Z" fill="black" /> - + - + ( /> - + ( - + ); export default EntertainmentVideos; diff --git a/expo/src/components/illustrations/Equality.js b/expo/src/components/illustrations/Equality.js index ceeaabd29..f9d0c5e42 100644 --- a/expo/src/components/illustrations/Equality.js +++ b/expo/src/components/illustrations/Equality.js @@ -2,16 +2,14 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Equality = ({ size, color = "#000", ...props }) => ( - + - + ); export default Equality; diff --git a/expo/src/components/illustrations/ExercicesVideos.js b/expo/src/components/illustrations/ExercicesVideos.js index 4846ce76e..dac081b7f 100644 --- a/expo/src/components/illustrations/ExercicesVideos.js +++ b/expo/src/components/illustrations/ExercicesVideos.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ExercicesVideos = ({ size, ...props }) => ( - + ( d="M52.8534 26.2676C52.942 26.2175 53.0357 26.1793 53.1324 26.1536C53.2422 26.1156 53.3484 26.0816 53.46 26.0536C53.6508 26.0036 53.8434 25.9596 54.036 25.9136C54.2286 25.8676 54.4194 25.8256 54.6138 25.7876C54.8409 25.7226 55.0741 25.687 55.3086 25.6816C55.4184 25.6816 55.3446 25.8816 55.2834 25.9096C55.0971 25.9785 54.9063 26.0313 54.7128 26.0676L54.117 26.2116C53.9208 26.2576 53.7246 26.3076 53.5284 26.3576C53.4366 26.3796 53.3484 26.4056 53.253 26.4256C53.1213 26.4634 52.9858 26.4823 52.8498 26.4816C52.7562 26.4676 52.7994 26.3056 52.8534 26.2676Z" fill="#E0E0E0" /> - + ); export default ExercicesVideos; diff --git a/expo/src/components/illustrations/FollowUpIcon.js b/expo/src/components/illustrations/FollowUpIcon.js index a24178b64..87a5d3bac 100644 --- a/expo/src/components/illustrations/FollowUpIcon.js +++ b/expo/src/components/illustrations/FollowUpIcon.js @@ -2,16 +2,14 @@ import React from "react"; import Svg, { G, Rect } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const FollowUpIcon = ({ color, size, ...props }) => ( - + - + ); export default FollowUpIcon; diff --git a/expo/src/components/illustrations/FunIcon.js b/expo/src/components/illustrations/FunIcon.js index 44a26c257..3797df452 100644 --- a/expo/src/components/illustrations/FunIcon.js +++ b/expo/src/components/illustrations/FunIcon.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const FunIcon = ({ size, ...props }) => ( - + - + ); export default FunIcon; diff --git a/expo/src/components/illustrations/GameIcon.js b/expo/src/components/illustrations/GameIcon.js index d764089e8..605bcac9f 100644 --- a/expo/src/components/illustrations/GameIcon.js +++ b/expo/src/components/illustrations/GameIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const GameIcon = ({ size, ...props }) => ( - + ( fill="#fff" d="M109.372 188.951a2.323 2.323 0 0 1-1.913-.082c-.513-.298-.569-.775-.138-1.103l.513.302 1 .58.538.303Z" /> - + ( fill="#fff" d="M115.558 183.003a2.323 2.323 0 0 1 1.913.082c.513.298.569.775.138 1.104l-.513-.303-1.015-.58-.523-.303Z" /> - + ( fill="#fff" d="M86.934 207.365a2.326 2.326 0 0 1-1.913-.082c-.513-.298-.57-.775-.139-1.103l.513.302 1 .58.539.303Z" /> - + ( fill="#fff" d="M93.119 201.414a2.311 2.311 0 0 1 1.913.082c.513.297.57.774.139 1.103l-.513-.303-1-.58-.539-.302Z" /> - + ( opacity={0.5} /> - + ( fill="#FAFAFA" d="M121.179 133.874c-.826.477-.826 1.252 0 1.724a3.331 3.331 0 0 0 2.99 0c.826-.477.826-1.247 0-1.724a3.331 3.331 0 0 0-2.99 0ZM139.15 136.961a1.216 1.216 0 0 0-.543.949c0 .354.246.513.543.328a1.193 1.193 0 0 0 .544-.949c0-.349-.241-.498-.544-.328ZM139.15 139.07a1.197 1.197 0 0 0-.543.949c0 .349.246.513.543.329a1.196 1.196 0 0 0 .544-.95c0-.349-.241-.497-.544-.328Z" /> - + ( /> - + ( d="m72.594 165.735.394.231 38.564-22.27-.4-.231-38.558 22.27ZM52.601 154.188l.395.226 38.564-22.27-.4-.226-38.559 22.27Z" /> - + - + ( fill="#fff" d="M59.094 171.402a2.328 2.328 0 0 0-1.026-1.616c-.512-.303-.953-.103-1.025.436l.513.303 1.025.58.513.297Z" /> - + ( fill="#fff" d="M57.048 179.711a2.326 2.326 0 0 0 1.026 1.616c.513.303.954.108 1.026-.431l-.513-.308-1.026-.574-.513-.303Z" /> - + ( d="m62.941 182.596 1.026-.595a.32.32 0 0 0 .133-.231v-9.35a.085.085 0 0 0-.006-.049.08.08 0 0 0-.081-.046.077.077 0 0 0-.046.018l-1.026.601a.29.29 0 0 0-.133.23v9.345c0 .087.056.123.133.077Z" /> - + ( fill="#fff" d="M54.93 173.822a2.354 2.354 0 0 0-1.026-1.622c-.513-.303-.954-.102-1.026.436l.513.303 1.026.58.513.303Z" /> - + ( fill="#fff" d="M52.883 182.148a2.315 2.315 0 0 0 1.026 1.617c.513.303.954.108 1.026-.431l-.513-.308-1.026-.575-.513-.303Z" /> - + - + - + ( fill="#fff" d="M50.76 176.238a2.314 2.314 0 0 0-1.026-1.616c-.513-.308-.954-.108-1.026.431l.513.302 1.026.58.513.303Z" /> - + ( fill="#fff" d="M48.714 184.562a2.335 2.335 0 0 0 1.025 1.617c.513.303.954.108 1.026-.431l-.513-.308-1.026-.575-.512-.303Z" /> - + ( opacity={0.4} /> - + - + ( fill="#fff" d="M46.595 178.633a2.322 2.322 0 0 0-1.025-1.617c-.513-.308-.96-.108-1.026.431l.513.303 1.026.58.512.303Z" /> - + ( fill="#fff" d="M44.549 186.957a2.32 2.32 0 0 0 1.026 1.616c.513.303.959.108 1.025-.431l-.512-.307-1.026-.575-.513-.303Z" /> - + ( d="m50.437 189.82 1.026-.595a.309.309 0 0 0 .133-.231v-9.349c0-.082-.056-.118-.133-.077l-1.026.6a.305.305 0 0 0-.133.231v9.344c0 .088.061.124.133.077Z" /> - + ( fill="#fff" d="M42.426 181.047a2.333 2.333 0 0 0-1.026-1.617c-.513-.308-.954-.108-1.026.431l.513.303 1.026.585.513.298Z" /> - + ( fill="#fff" d="M40.374 189.371a2.316 2.316 0 0 0 1.026 1.642c.513.303.954.108 1.026-.431l-.513-.308-1.026-.6-.513-.303Z" /> - + - + ( fill="#263238" d="M172.878 201.018c1.585 1.627 2.626 2.627 2.626 2.627s6.698-2.899 8.114-7.312l-1.493-3.161-9.247 7.846ZM177.945 181.938a77.45 77.45 0 0 1 4.785 7.431l-2.78-.796c-3.333-7.302-4.036-9.442-9.103-12.757 0 0 3.6 1.232 7.098 6.122Z" /> - + ( fill="#263238" d="M202.225 197.676s-1.882 2.735-7.98 5.316c-3.237 1.375-13.597 6.296-17.438 7.482a6.846 6.846 0 0 0 1.841 1.026s12.453-5.219 15.299-6.353a26.946 26.946 0 0 0 5.642-3.325c2.677-2.325 2.636-4.146 2.636-4.146ZM186.623 190.492s1.195-1.288 2.4-2.704c1.206-1.416 3.149-4.105 8.15-3.9 5.001.205 14.612 1.057 14.612 1.057s-10.027-1.704-13.489-2.283c-3.462-.58-5.765-.175-7.739 1.575-1.975 1.75-5.493 5.814-5.493 5.814l1.559.441Z" /> - + ( fill="#fff" d="M176.745 157.527a3.483 3.483 0 0 0-1.682-1.39c-.647-.231-1.001 0-.852.513l.652.231 1.236.431.646.215Z" /> - + ( fill="#fff" d="M178.058 165.402a3.51 3.51 0 0 0 1.682 1.391c.641.231 1 0 .851-.513l-.651-.231-1.236-.436-.646-.211Z" /> - + ( fill="#B16668" d="M195.778 174.778c-2.975-.662-4.38-.636-7.77-2.273a18.324 18.324 0 0 1-3.354-1.878 7.453 7.453 0 0 1-2.19-2.566 2.104 2.104 0 0 0-.303-.549 4.437 4.437 0 0 0-.441-.426 4.146 4.146 0 0 1-.821-.826 6.555 6.555 0 0 1-.513-1.144 4.333 4.333 0 0 0-.225-.513 3.22 3.22 0 0 0-.344-.482 4.807 4.807 0 0 1-.887-1.278.809.809 0 0 1 .082-.77s-.513-.446-.652-.605a4.753 4.753 0 0 1-.605-.744.46.46 0 0 1-.107-.354.376.376 0 0 1 .112-.17c.8-.759 1.883-.349 2.796.088 2.364 1.139 5.005 2.837 6.123 3.412 1.119.575 2.226.877 2.129.21-.098-.667-1.487-2.37-1.672-4.418-.092-1.026.785-2.16 1.6-.995 1.58 2.237 1.616 1.78 3.59 3.838 1.303 1.355 2.098 3.207 4.185 3.741 2.088.533 15.284 1.667 15.284 1.667l4.191-16.05s1.979-9.914 6.077-12.752c4.237 1.93 6.027 5.286 6.293 7.436.462 3.761.072 6.845-2.19 15.583-1.918 7.415-3.774 12.038-5.18 14.671-1.738 3.253-2.862 2.883-9.909 1.78-5.195-.836-12.34-2.976-15.299-3.633Z" /> - + ( fill="#FAFAFA" d="M205.748 167.161c1.308 1.539.883 8.723 0 10.478a52.956 52.956 0 0 0 12.725 2.103c1.585.031 2.405-1.026 3.826-4.341 1.421-3.314 4.421-11.848 5.739-18.046 1.318-6.199 1.477-10.473.108-13.275-1.369-2.802-3.277-4.105-6.093-5.162-1.821 1.052-4.667 4.105-6.473 11.802l-4.015 16.697-5.817-.256Z" /> - - + + ); export default GameIcon; diff --git a/expo/src/components/illustrations/GuidanceIcon.js b/expo/src/components/illustrations/GuidanceIcon.js index 9f70381c7..03448e389 100644 --- a/expo/src/components/illustrations/GuidanceIcon.js +++ b/expo/src/components/illustrations/GuidanceIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const GuidanceIcon = ({ size, color, ...props }) => ( - + ( d="M20.6055 5.72656H14.4531C14.1834 5.72656 13.9648 5.94514 13.9648 6.21484C13.9648 6.48454 14.1834 6.70312 14.4531 6.70312H20.6055C20.8752 6.70312 21.0938 6.48454 21.0938 6.21484C21.0938 5.94514 20.8752 5.72656 20.6055 5.72656Z" fill={color} /> - + ); export default GuidanceIcon; diff --git a/expo/src/components/illustrations/HealthPlan.js b/expo/src/components/illustrations/HealthPlan.js index f36a295ab..f24d9c704 100644 --- a/expo/src/components/illustrations/HealthPlan.js +++ b/expo/src/components/illustrations/HealthPlan.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HealthPlan = ({ size, ...props }) => ( - + ( d="M50.1256 59.7568H28.8807C28.4199 59.7568 28.0059 60.1259 28.0059 60.6317C28.0059 61.1393 28.3749 61.5065 28.8807 61.5065H50.1256C50.5864 61.5065 51.0004 61.1375 51.0004 60.6317C51.0004 60.124 50.5864 59.7568 50.1256 59.7568Z" fill="#4030A5" /> - + ); export default HealthPlan; diff --git a/expo/src/components/illustrations/HydrationIcon.js b/expo/src/components/illustrations/HydrationIcon.js index 59d4c1ec6..814adabc6 100644 --- a/expo/src/components/illustrations/HydrationIcon.js +++ b/expo/src/components/illustrations/HydrationIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HydrationIcon = ({ size, ...props }) => ( - + ( d="M193.211 56.115H191.066V53.975C191.074 53.8939 191.064 53.8122 191.038 53.7351C191.012 53.6579 190.971 53.587 190.916 53.5268C190.861 53.4667 190.794 53.4187 190.72 53.3858C190.645 53.3529 190.565 53.3359 190.484 53.3359C190.402 53.3359 190.322 53.3529 190.247 53.3858C190.173 53.4187 190.106 53.4667 190.051 53.5268C189.996 53.587 189.955 53.6579 189.929 53.7351C189.903 53.8122 189.894 53.8939 189.901 53.975V56.115H187.776C187.631 56.1284 187.496 56.1956 187.398 56.3034C187.3 56.4111 187.245 56.5517 187.245 56.6975C187.245 56.8433 187.3 56.9838 187.398 57.0916C187.496 57.1993 187.631 57.2665 187.776 57.28H189.921V59.435C189.914 59.516 189.923 59.5977 189.949 59.6749C189.975 59.752 190.016 59.8229 190.071 59.8831C190.126 59.9432 190.193 59.9913 190.267 60.0241C190.342 60.057 190.422 60.074 190.504 60.074C190.585 60.074 190.665 60.057 190.74 60.0241C190.814 59.9913 190.881 59.9432 190.936 59.8831C190.991 59.8229 191.032 59.752 191.058 59.6749C191.084 59.5977 191.094 59.516 191.086 59.435V57.28H193.231C193.312 57.2875 193.394 57.278 193.471 57.2521C193.548 57.2263 193.619 57.1846 193.679 57.1298C193.739 57.075 193.787 57.0082 193.82 56.9338C193.853 56.8593 193.87 56.7788 193.87 56.6975C193.87 56.6161 193.853 56.5356 193.82 56.4612C193.787 56.3867 193.739 56.3199 193.679 56.2651C193.619 56.2103 193.548 56.1686 193.471 56.1428C193.394 56.1169 193.312 56.1074 193.231 56.115H193.211Z" fill="#DE285E" /> - + ); export default HydrationIcon; diff --git a/expo/src/components/illustrations/InfoObjectif.js b/expo/src/components/illustrations/InfoObjectif.js index 365c9970b..63c886a7e 100644 --- a/expo/src/components/illustrations/InfoObjectif.js +++ b/expo/src/components/illustrations/InfoObjectif.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { G, Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const InfosIcon = ({ color = "#000000", size, ...props }) => ( - + ( fill={color} /> - + ); export default InfosIcon; diff --git a/expo/src/components/illustrations/Infos.js b/expo/src/components/illustrations/Infos.js index 4e5840daa..6214f11bd 100644 --- a/expo/src/components/illustrations/Infos.js +++ b/expo/src/components/illustrations/Infos.js @@ -2,17 +2,15 @@ import React from "react"; import Svg, { G, Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const InfosIcon = ({ color, size, ...props }) => ( - + - + ); export default InfosIcon; diff --git a/expo/src/components/illustrations/Lock.js b/expo/src/components/illustrations/Lock.js index a1476d8e9..bcf30fe79 100644 --- a/expo/src/components/illustrations/Lock.js +++ b/expo/src/components/illustrations/Lock.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Lock = ({ color = "#000", size, ...props }) => ( - + - + ); export default Lock; diff --git a/expo/src/components/illustrations/ManAndWoman.js b/expo/src/components/illustrations/ManAndWoman.js index 21a9b3d3f..917f59449 100644 --- a/expo/src/components/illustrations/ManAndWoman.js +++ b/expo/src/components/illustrations/ManAndWoman.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ManAndWoman = ({ color = "#211F28", size, ...props }) => ( - + ( fill={color} fillOpacity="0.57" /> - + ); export default ManAndWoman; diff --git a/expo/src/components/illustrations/ManAndWomanBust.js b/expo/src/components/illustrations/ManAndWomanBust.js index c8ce940e6..2336203a7 100644 --- a/expo/src/components/illustrations/ManAndWomanBust.js +++ b/expo/src/components/illustrations/ManAndWomanBust.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ManAndWomanBust = ({ color = "#DE285E", size, ...props }) => ( - + - + ); export default ManAndWomanBust; diff --git a/expo/src/components/illustrations/MeditationIcon.js b/expo/src/components/illustrations/MeditationIcon.js index 9bd30ea0c..3b29ec096 100644 --- a/expo/src/components/illustrations/MeditationIcon.js +++ b/expo/src/components/illustrations/MeditationIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const MeditationIcon = ({ size, ...props }) => ( - + ( d="M29.7 5.4C31.1912 5.4 32.4 4.19117 32.4 2.7C32.4 1.20883 31.1912 0 29.7 0C28.2088 0 27 1.20883 27 2.7C27 4.19117 28.2088 5.4 29.7 5.4Z" fill="white" /> - + ); export default MeditationIcon; diff --git a/expo/src/components/illustrations/MotivationIcon.js b/expo/src/components/illustrations/MotivationIcon.js index d882ddde0..55e5300eb 100644 --- a/expo/src/components/illustrations/MotivationIcon.js +++ b/expo/src/components/illustrations/MotivationIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, Circle } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const MotivationIcon = ({ size, ...props }) => ( - + ( d="M46.1258 42.3231C45.8977 42.7638 45.6309 43.1813 45.3294 43.5757C45.4106 43.4713 45.4918 43.3669 45.5729 43.2625C45.1283 43.8386 44.6142 44.3566 44.0381 44.8051C44.1425 44.7239 44.2469 44.6427 44.3513 44.5615C43.7714 45.0061 43.1373 45.3772 42.4646 45.6633C42.5883 45.6131 42.7121 45.559 42.8358 45.5087C42.1592 45.7909 41.4517 45.9804 40.7249 46.0809C40.8602 46.0615 40.9994 46.0422 41.1347 46.0267C40.377 46.1273 39.6153 46.1273 38.8576 46.0267C38.9929 46.0461 39.1321 46.0654 39.2674 46.0809C38.5406 45.9804 37.8331 45.787 37.1565 45.5087C37.2802 45.559 37.4039 45.6131 37.5277 45.6633C36.855 45.3772 36.2209 45.01 35.641 44.5615C35.7454 44.6427 35.8498 44.7239 35.9542 44.8051C35.3781 44.3566 34.8639 43.8386 34.4193 43.2625C34.5005 43.3669 34.5817 43.4713 34.6629 43.5757C34.3614 43.1813 34.0985 42.7638 33.8665 42.3231C33.4915 41.604 32.4283 41.3295 31.7518 41.7663C31.0211 42.238 30.7968 43.1117 31.195 43.8811C32.5056 46.394 34.9683 48.3116 37.7364 48.9302C40.3074 49.5062 43.0948 49.0809 45.3217 47.6428C46.7714 46.7072 47.997 45.412 48.7934 43.8772C48.9828 43.5099 49.0601 43.0924 48.948 42.6865C48.8475 42.3269 48.573 41.9403 48.2367 41.7625C47.533 41.3913 46.5279 41.5576 46.1258 42.3231Z" fill="white" /> - + ); export default MotivationIcon; diff --git a/expo/src/components/illustrations/MusicIcon.js b/expo/src/components/illustrations/MusicIcon.js index ce99d2cf5..2c6a40b95 100644 --- a/expo/src/components/illustrations/MusicIcon.js +++ b/expo/src/components/illustrations/MusicIcon.js @@ -2,28 +2,20 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const MusicIcon = ({ size, ...props }) => ( - + - + - + @@ -39,20 +31,14 @@ const MusicIcon = ({ size, ...props }) => ( d="M58.645 38.3001C60.2833 36.8522 61.5281 35.013 62.2634 32.954C62.9987 30.8949 63.2005 28.6832 62.85 26.5251C62.79 26.2051 62.715 25.8901 62.635 25.5801L69.94 21.3601C69.91 21.8601 69.885 22.3251 69.875 22.8001C69.795 25.5901 69.875 28.4101 69.275 31.1351C68.7386 33.4181 67.7182 35.5593 66.2828 37.4139C64.8474 39.2685 63.0306 40.7933 60.955 41.8851C60.2117 42.2671 59.4392 42.5898 58.645 42.8501V38.3001Z" fill="#FAFAFA" /> - + - + @@ -109,19 +95,13 @@ const MusicIcon = ({ size, ...props }) => ( fill="white" /> - + - + @@ -167,10 +147,7 @@ const MusicIcon = ({ size, ...props }) => ( d="M148.96 151.005L151.225 162.245L153.425 163.515L155.61 162.255L157.895 151.005L153.425 148.425L148.96 151.005Z" fill="black" /> - + ( /> - + ( d="M180.065 153.38L175.335 150.65C174.72 150.295 174.225 150.455 174.225 151.01C174.27 151.351 174.393 151.678 174.586 151.963C174.779 152.249 175.035 152.486 175.335 152.655L180.065 155.385C180.68 155.74 181.18 155.58 181.18 155.025C181.134 154.683 181.01 154.357 180.816 154.071C180.623 153.786 180.366 153.549 180.065 153.38Z" fill="#E0E0E0" /> - + ( d="M165.96 92.3601C165.053 91.4409 164.273 90.4051 163.64 89.2801C162.57 87.3851 162.37 84.8451 162.925 84.5351C163.48 84.2251 165.73 86.7501 165.73 86.7501C165.525 85.6797 165.448 84.5887 165.5 83.5001C165.595 81.8151 166 80.2801 166.5 79.9701C167 79.6601 168.06 81.7901 168.5 83.3301C168.94 84.8701 169.24 86.1401 169.24 86.1401C169.425 84.9372 169.703 83.7504 170.07 82.5901C170.635 80.9901 171.145 80.6301 171.54 80.7901C171.935 80.9501 172.195 81.6951 172.31 83.8251C172.351 84.8427 172.32 85.862 172.215 86.8751C172.215 86.8751 173.01 86.0051 173.89 85.1551C174.86 84.2251 175.275 84.0951 175.55 84.2751C175.825 84.4551 175.905 85.9001 174.405 88.6151C173.659 89.9948 172.704 91.2512 171.575 92.3401C171.575 92.3401 169.5 93.7001 165.96 92.3601Z" fill="#E0E0E0" /> - + - + - - - + + + ( d="M57.8001 52.5701C57.8501 53.7251 57.7351 57.4201 56.1901 58.4701C58.6201 57.6801 58.7201 54.1601 58.6051 52.9701L57.8001 52.5701Z" fill="#AF6152" /> - + ( d="M39.85 111.855L44.035 116.855C43.8528 116.92 43.6835 117.016 43.535 117.14C43.2771 117.357 43.0893 117.645 42.9953 117.969C42.9014 118.293 42.9054 118.637 43.007 118.958C43.1086 119.28 43.3032 119.564 43.5662 119.775C43.8291 119.986 44.1487 120.114 44.4844 120.143C44.8202 120.172 45.1571 120.102 45.4526 119.939C45.7481 119.777 45.989 119.531 46.1447 119.232C46.3005 118.934 46.3642 118.595 46.3277 118.26C46.2913 117.925 46.1564 117.608 45.94 117.35L42.19 112.85L45.69 107.89L49.415 112.32C49.2331 112.385 49.064 112.482 48.915 112.605C48.6571 112.822 48.4693 113.111 48.3753 113.434C48.2814 113.758 48.2854 114.102 48.387 114.423C48.4886 114.745 48.6832 115.029 48.9462 115.24C49.2091 115.451 49.5287 115.579 49.8644 115.608C50.2002 115.637 50.5371 115.567 50.8326 115.404C51.1281 115.242 51.369 114.996 51.5247 114.697C51.6805 114.399 51.7442 114.06 51.7077 113.725C51.6713 113.39 51.5364 113.073 51.32 112.815L45.1 105.43L39.85 111.855Z" fill="#DE285E" /> - + ); export default MusicIcon; diff --git a/expo/src/components/illustrations/NewsPaper.js b/expo/src/components/illustrations/NewsPaper.js index 8a100a9f7..2cc2c4248 100644 --- a/expo/src/components/illustrations/NewsPaper.js +++ b/expo/src/components/illustrations/NewsPaper.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const NewsPaper = ({ size, ...props }) => ( - + ( - + ); export default NewsPaper; diff --git a/expo/src/components/illustrations/NoStrategyIcon.js b/expo/src/components/illustrations/NoStrategyIcon.js index 2fe76cd6e..28a9a1618 100644 --- a/expo/src/components/illustrations/NoStrategyIcon.js +++ b/expo/src/components/illustrations/NoStrategyIcon.js @@ -2,15 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const NoStrategyIcon = ({ size }) => ( - + ( d="M91.4836 34.8135C94.1889 35.1279 96.8447 35.7768 99.3902 36.7453C103.345 38.3053 105.711 41.8283 110.427 42.8657C110.427 42.8657 116.337 50.1457 110.427 61.2295L102.164 59.9685C100.954 59.7792 99.7186 59.8224 98.5244 60.0959C96.8968 60.4755 93.964 60.8551 89.8846 60.1921L91.4836 34.8135Z" fill="#FFA8A7" /> - - + + - - + + ( d="M89.0994 73.7048C88.9396 73.7052 88.7825 73.6631 88.6444 73.5826L68.1044 61.7292C67.9014 61.6056 67.7548 61.4075 67.696 61.1772C67.6372 60.9469 67.6708 60.7027 67.7897 60.4969C67.9086 60.291 68.1032 60.1399 68.3321 60.0758C68.561 60.0116 68.8059 60.0396 69.0144 60.1536L89.5544 72.007C89.7277 72.1073 89.8632 72.2619 89.9398 72.4469C90.0163 72.6319 90.0297 72.837 89.9779 73.0304C89.9261 73.2238 89.8119 73.3947 89.6531 73.5166C89.4942 73.6386 89.2996 73.7047 89.0994 73.7048Z" fill="#263238" /> - + ); export default NoStrategyIcon; diff --git a/expo/src/components/illustrations/QuizzIcon.js b/expo/src/components/illustrations/QuizzIcon.js index 6bdb88301..108ad7b6b 100644 --- a/expo/src/components/illustrations/QuizzIcon.js +++ b/expo/src/components/illustrations/QuizzIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const QuizzIcon = ({ selected, size, color, ...props }) => ( - + ( fill={color} fillOpacity={selected ? 1 : 0.25} /> - + ); export default QuizzIcon; diff --git a/expo/src/components/illustrations/ReadingIcon.js b/expo/src/components/illustrations/ReadingIcon.js index 991583544..03508ace0 100644 --- a/expo/src/components/illustrations/ReadingIcon.js +++ b/expo/src/components/illustrations/ReadingIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ReadingIcon = ({ size, ...props }) => ( - + ( d="M67.09 60.0251V8.87012L16.215 38.2451V89.4001L67.09 60.0251ZM18.32 85.7501V39.4601L65 12.5001V58.7901L18.32 85.7501Z" fill="#F0F0F0" /> - + - + - + - + - + ( fill="#F0F0F0" /> - + ( /> - + - + ( d="M187.385 109.96C187.058 109.971 186.734 109.895 186.445 109.74L184.795 108.785C184.688 108.736 184.597 108.66 184.529 108.565C184.462 108.469 184.42 108.357 184.41 108.24L184.36 127.675C184.37 127.792 184.412 127.904 184.479 128C184.547 128.095 184.638 128.171 184.745 128.22L186.395 129.17C186.684 129.324 187.008 129.402 187.335 129.395L187.385 109.96Z" fill="white" /> - + ( d="M191.745 134.46L207.615 125.2C207.755 125.129 207.91 125.092 208.067 125.092C208.225 125.092 208.38 125.129 208.52 125.2L216.895 130C216.951 130.018 217 130.052 217.035 130.1C217.069 130.147 217.088 130.204 217.088 130.263C217.088 130.321 217.069 130.378 217.035 130.425C217 130.473 216.951 130.508 216.895 130.525L205.075 137.34C204.935 137.41 204.781 137.447 204.625 137.447C204.469 137.447 204.315 137.41 204.175 137.34L200.84 135.415C200.7 135.345 200.546 135.308 200.39 135.308C200.234 135.308 200.08 135.345 199.94 135.415L196.795 137.34C196.655 137.41 196.501 137.447 196.345 137.447C196.189 137.447 196.035 137.41 195.895 137.34L191.745 134.98C191.691 134.961 191.644 134.926 191.611 134.88C191.577 134.833 191.56 134.777 191.56 134.72C191.56 134.663 191.577 134.607 191.611 134.56C191.644 134.514 191.691 134.479 191.745 134.46Z" fill="black" /> - + ( d="M193.725 117.5C193.363 117.519 193.001 117.46 192.665 117.325L190.74 116.48C190.435 116.345 190.27 116.165 190.24 115.98L192.56 134.59C192.56 134.78 192.75 134.96 193.06 135.09L194.985 135.935C195.323 136.069 195.687 136.129 196.05 136.11L193.725 117.5Z" fill="#455A64" /> - + ( d="M154.01 83.4851V85.2651L206.985 115.85L230.16 102.465V100.685L177.19 70.1001L154.01 83.4851Z" fill="#263238" /> - + - - + + ( fill="black" /> - - + + ( d="M165 103.225V107.105L164.665 106.91C164.352 106.663 164.146 106.305 164.09 105.91V103.115C164.09 102.855 164.23 102.775 164.455 102.905L165 103.225Z" fill="#263238" /> - - - + + + @@ -423,30 +358,12 @@ const ReadingIcon = ({ size, ...props }) => ( d="M199.11 82.0901L213.845 90.5901L215.875 69.7051L201.14 61.2051L199.11 82.0901ZM202.165 63.1151L214.61 70.3001L212.825 88.6851L200.375 81.5001L202.165 63.1151Z" fill="#4030A5" /> - - + + - - - + + + ( d="M91.035 71.6151C91.035 71.6151 89.465 70.9051 86.125 71.7351C82.785 72.5651 80.06 73.5701 73.58 73.6801L75.3 74.5851L92.075 72.9501L91.035 71.6151Z" fill="white" /> - - - + + + ( d="M96.0199 66.49L93.4299 71.325L87.7949 92.32L88.6499 92.77L91.1949 86.87L96.8749 66.94L96.0199 66.49Z" fill="#4030A5" /> - + - - - + + + ( d="M106.695 239.16L37.05 198.955C36.27 198.505 36.27 197.775 37.05 197.325L156.66 128.36C157.097 128.139 157.58 128.024 158.07 128.024C158.56 128.024 159.043 128.139 159.48 128.36L229.045 168.52C229.825 168.97 229.825 169.695 229.045 170.145L172.345 202.88C171.565 203.33 170.935 204.125 170.935 204.65C170.935 205.175 170.305 205.97 169.525 206.42L162.425 210.52C161.645 210.97 161.015 210.905 161.015 210.38C161.015 209.855 160.385 209.79 159.605 210.24L109.5 239.16C109.065 239.379 108.585 239.494 108.097 239.494C107.61 239.494 107.13 239.379 106.695 239.16Z" fill="white" /> - + ( d="M200.025 178.935L188.795 185.25C186.93 186.315 185.07 187.385 183.22 188.475C181.37 189.565 179.525 190.68 177.755 191.905C175.967 193.105 174.275 194.443 172.695 195.905C171.104 197.366 169.816 199.126 168.905 201.085C169.889 199.181 171.23 197.483 172.855 196.085C174.452 194.66 176.157 193.361 177.955 192.2C181.535 189.85 185.295 187.765 189.03 185.65L200.205 179.245L205.775 176L211.315 172.72L205.66 175.8L200.025 178.935ZM171.175 194.665C172.584 192.879 174.195 191.262 175.975 189.845C177.745 188.418 179.6 187.098 181.53 185.895C183.455 184.68 185.455 183.59 187.46 182.495L199.42 175.82L205.38 172.455L211.315 169.04L205.265 172.25L199.265 175.505L187.265 182.085C183.265 184.27 179.265 186.585 175.765 189.585C173.994 191.046 172.4 192.709 171.015 194.54C169.628 196.369 168.583 198.434 167.93 200.635C168.298 199.556 168.758 198.511 169.305 197.51C169.848 196.511 170.473 195.559 171.175 194.665ZM161.35 203.42C160.382 203.64 159.435 203.945 158.52 204.33C156.695 205.095 154.94 206.01 153.205 206.95C151.47 207.89 149.77 208.9 148.06 209.875L142.95 212.85C139.56 214.85 136.155 216.85 132.775 218.885C129.395 220.92 126.02 222.955 122.67 225.035C126.125 223.13 129.55 221.175 132.97 219.215C136.39 217.255 139.79 215.26 143.2 213.285C146.61 211.31 149.99 209.285 153.4 207.285C155.093 206.288 156.835 205.376 158.62 204.555C159.509 204.141 160.432 203.806 161.38 203.555C161.853 203.43 162.34 203.365 162.83 203.36C163.323 203.337 163.809 203.489 164.2 203.79C163.816 203.467 163.331 203.29 162.83 203.29C162.333 203.273 161.836 203.317 161.35 203.42ZM163.85 199.685C162.811 199.471 161.737 199.499 160.71 199.765C158.681 200.302 156.718 201.06 154.855 202.025C152.975 202.945 151.155 203.975 149.355 205.025L143.97 208.205C140.4 210.36 136.825 212.51 133.28 214.705L127.955 218C126.195 219.12 124.425 220.22 122.67 221.35L128.085 218.215L133.47 215.04L144.22 208.64C147.795 206.5 151.335 204.295 155.025 202.375C156.845 201.379 158.768 200.582 160.76 200C161.749 199.704 162.792 199.637 163.81 199.805C164.315 199.92 164.788 200.15 165.19 200.477C165.592 200.804 165.914 201.219 166.13 201.69C165.923 201.206 165.619 200.77 165.235 200.41C164.835 200.062 164.359 199.814 163.845 199.685H163.85Z" fill="#E6E6E6" /> - + ( d="M53.1649 182.98L91.2449 161.01L93.2499 159.865L94.7149 160.71L92.7099 161.855L54.6299 183.825L53.1649 182.98Z" fill="#E0E0E0" /> - - + + ( d="M136.9 190.35C138.695 188.645 141.335 184.15 141.825 183.31L120.055 193.85C125.255 199.325 132.93 194.115 136.9 190.35ZM159.14 173.215C159.315 173.305 162.37 174.875 164.14 174.615C172.04 173.435 177.5 165.5 181 158.66L159.14 173.215Z" fill="white" /> - + ); export default ReadingIcon; diff --git a/expo/src/components/illustrations/ReminderIcon.js b/expo/src/components/illustrations/ReminderIcon.js index 9604194a5..df2c31194 100644 --- a/expo/src/components/illustrations/ReminderIcon.js +++ b/expo/src/components/illustrations/ReminderIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ReminderIcon = ({ color, size, selected, ...props }) => ( - + ( fill={color} fillOpacity={selected ? 1 : 0.25} /> - + ); export default ReminderIcon; diff --git a/expo/src/components/illustrations/ReorderIcon.js b/expo/src/components/illustrations/ReorderIcon.js index 45c64022a..6ca5c61da 100644 --- a/expo/src/components/illustrations/ReorderIcon.js +++ b/expo/src/components/illustrations/ReorderIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ReorderIcon = ({ size, ...props }) => ( - + ( fill="#E0E0E0" d="m76.274 197.807-30.261-17.529a.598.598 0 0 1-.403-.568.603.603 0 0 1 .403-.568l60.01-34.702a2.187 2.187 0 0 1 1.964 0l30.261 17.508a.597.597 0 0 1 0 1.131l-60.004 34.728a2.163 2.163 0 0 1-1.97 0ZM182.558 184.441l30.262-17.503a.604.604 0 0 0 0-1.136l-36.93-21.358a2.187 2.187 0 0 0-1.964 0l-30.261 17.508a.593.593 0 0 0-.406.565.6.6 0 0 0 .406.566l36.929 21.363a2.164 2.164 0 0 0 1.964-.005ZM23.732 168.642c-4.144 2.396-4.144 6.287 0 8.687 4.144 2.401 10.874 2.401 15.023 0 4.15-2.4 4.144-6.291 0-8.687-4.144-2.395-10.874-2.4-15.023 0ZM234.279 163.484c4.442 2.601 4.442 6.811 0 9.407-4.441 2.596-11.632 2.596-16.074 0-4.442-2.596-4.437-6.806 0-9.407s11.638-2.596 16.074 0Z" /> - - + + ( d="M134.93 55.344v1.14L112.203 69.64l-12.848-7.438V61.06l12.848 7.433 22.727-13.15Z" opacity={0.3} /> - + - - + + - + - + @@ -614,10 +588,7 @@ const ReorderIcon = ({ size, ...props }) => ( fill="#4030A5" d="M97.688 14.461V52.69l23.593-13.653V.81L97.688 14.46Zm22.28 23.815L99.006 50.408V15.222l20.962-12.131v35.185Z" /> - + ( d="M177.547 123.693c-3.072-.398-6.19.21-8.889 1.733-.521.335-.89.863-1.025 1.47a2.304 2.304 0 0 0 .564 2.148 4.2 4.2 0 0 0 2.231 1.028c1.539.278 2.498.175 4.39.746a4.534 4.534 0 0 1 1.826 1.136c.765.817 1.272 1.624 1.949 2.323.929.956 3.006 1.321 3.919.848.913-.473 1.493-1.542 1.272-3.171-.487-3.568-2.262-7.459-6.237-8.261Z" opacity={0.3} /> - + ); export default ReorderIcon; diff --git a/expo/src/components/illustrations/Screen2.js b/expo/src/components/illustrations/Screen2.js index 6c7d50afa..c84a355f8 100644 --- a/expo/src/components/illustrations/Screen2.js +++ b/expo/src/components/illustrations/Screen2.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Screen2 = ({ color = "#5150A2", fillOpacity = 0.25, ...props }) => ( - + ( fill={color} fillOpacity={fillOpacity} /> - + ); export default Screen2; diff --git a/expo/src/components/illustrations/SensationIcon.js b/expo/src/components/illustrations/SensationIcon.js index dd6855ae7..158659a9a 100644 --- a/expo/src/components/illustrations/SensationIcon.js +++ b/expo/src/components/illustrations/SensationIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SensationIcon = ({ size, ...props }) => ( - + ( d="M2.27393 4.47595C1.79201 4.30327 1.24077 4.49409 0.975736 4.95313C0.677572 5.46958 0.854523 6.12994 1.37097 6.4281L16.1032 14.9339L15.9821 15.0038C12.8834 16.793 11.8217 20.755 13.6107 23.8537C14.2523 24.965 15.1734 25.8143 16.2339 26.3639L24.2932 31.0287L16.3518 38.9731L1.61981 30.4677L1.44303 30.3856C0.961094 30.2128 0.409879 30.4037 0.144842 30.8628C-0.153322 31.3792 0.0236074 32.0396 0.540055 32.3378L32.9751 51.0642L33.4268 51.3093C35.56 52.3949 38.0255 52.6575 40.3492 52.0349L43.0086 51.3223L43.1915 51.2553C43.6543 51.0366 43.9091 50.512 43.772 50C43.6176 49.4238 43.0257 49.082 42.4495 49.2364L39.7903 49.949L39.3413 50.0546C37.5386 50.4218 35.6574 50.1192 34.0548 49.1939L22.16 42.3266L30.8616 33.6236C31.1272 33.3579 31.3567 33.0589 31.545 32.7338C32.7403 30.6696 32.0357 28.0274 29.9714 26.8321L25.6964 24.3569L31.8232 20.8194L34.0121 24.6108C34.3917 25.2682 34.9379 25.8141 35.5956 26.1931L45.1424 31.6964C46.6923 32.59 48.6732 32.0577 49.5666 30.5078C50.46 28.9579 49.9279 26.9772 48.378 26.0836L39.3312 20.8682L34.3688 12.2714L34.3572 12.2783L34.1829 11.9764C32.394 8.87777 28.4317 7.81611 25.333 9.60509L18.2628 13.687L2.45073 4.55792L2.27393 4.47595Z" fill="white" /> - + ); export default SensationIcon; diff --git a/expo/src/components/illustrations/ShowerIcon.js b/expo/src/components/illustrations/ShowerIcon.js index d57e5c6b4..06855d15e 100644 --- a/expo/src/components/illustrations/ShowerIcon.js +++ b/expo/src/components/illustrations/ShowerIcon.js @@ -2,64 +2,30 @@ import React from "react"; import Svg, { Path, G, Mask } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ShowerIcon = ({ size, ...props }) => ( - + - - + + - - - + + + - - + + - + - + ( d="M186.15 56.9098C188.509 56.9162 190.859 56.6375 193.15 56.0798C191.735 54.7298 189.125 53.8198 186.15 53.8198C183.175 53.8198 180.55 54.7298 179.15 56.0798C181.442 56.6369 183.792 56.9156 186.15 56.9098Z" fill="#E0E0E0" /> - + - - - + + + - - + + - - + + ( d="M163.556 44.8701L163.291 44.6851C162.948 44.4517 162.71 44.0923 162.631 43.6851C162.592 43.572 162.526 43.47 162.439 43.3881C162.352 43.3062 162.246 43.2468 162.131 43.2151C161.633 43.0528 161.094 43.0687 160.606 43.2601C159.806 43.5801 159.656 44.1801 160.221 44.5051C160.436 44.6191 160.673 44.684 160.916 44.6951C161.491 44.7169 162.058 44.8458 162.586 45.0751L162.911 45.2251C163.042 45.238 163.173 45.2111 163.288 45.1477C163.404 45.0843 163.497 44.9875 163.556 44.8701Z" fill="#455A64" /> - + ( fill="white" /> - - + + ( d="M56.0449 112.48V113.305L58.0399 114.42L61.3399 122.7L61.7299 121.57L58.7199 114.025L56.0449 112.48Z" fill="#39CEC1" /> - + ( x="59" y="57" width="8" - height="6"> + height="6" + > ( d="M84.6752 29.1352C82.3502 30.3002 83.1151 31.6902 86.4001 33.9502C88.8201 35.6102 91.2351 37.3502 92.3451 38.1552C92.5294 38.2894 92.7501 38.3641 92.978 38.3694C93.2058 38.3748 93.4298 38.3105 93.6202 38.1852L99.0001 34.6552C99.0653 34.6122 99.1178 34.5526 99.1522 34.4825C99.1867 34.4125 99.2019 34.3345 99.1963 34.2567C99.1907 34.1788 99.1645 34.1038 99.1204 34.0394C99.0762 33.975 99.0158 33.9235 98.9451 33.8902C97.3401 33.1452 93.4451 31.3252 91.2401 30.2552C88.4551 28.8852 86.4552 28.2452 84.6752 29.1352Z" fill="white" /> - - + + - - + + - + ( /> - + ); export default ShowerIcon; diff --git a/expo/src/components/illustrations/SophrologyIcon.js b/expo/src/components/illustrations/SophrologyIcon.js index 820345e5d..a2a224af8 100644 --- a/expo/src/components/illustrations/SophrologyIcon.js +++ b/expo/src/components/illustrations/SophrologyIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SophrologyIcon = ({ size, ...props }) => ( - + ( d="M14.5138 9.73008C14.2283 9.73008 13.9475 9.59627 13.7701 9.34595L10.3422 4.51654C10.0506 4.10613 10.1474 3.5374 10.5578 3.24646C10.9688 2.95493 11.537 3.05171 11.8279 3.46212L15.2558 8.29154C15.5473 8.70195 15.4506 9.27068 15.0401 9.56162C14.8806 9.67572 14.6966 9.73008 14.5138 9.73008Z" fill="white" /> - + ); export default SophrologyIcon; diff --git a/expo/src/components/illustrations/SportIcon.js b/expo/src/components/illustrations/SportIcon.js index 1f51a6153..ea27946dd 100644 --- a/expo/src/components/illustrations/SportIcon.js +++ b/expo/src/components/illustrations/SportIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SportIcon = ({ size, ...props }) => ( - + ( fill="#263238" d="M110.525 18.67a4.439 4.439 0 0 0-3.865 3.434 3.851 3.851 0 0 0-3.565-.703c-1.179.453-1.958 1.946-1.371 3.065a1.675 1.675 0 0 1-1.507-1.826 3.225 3.225 0 0 0-.67 2.367 1.91 1.91 0 0 0 1.709 1.618 2.594 2.594 0 0 0-2.208 1.316 3.379 3.379 0 0 0-.275 3.32 2.449 2.449 0 0 0 2.909 1.222 2.361 2.361 0 0 0-.531 3.017 2.361 2.361 0 0 0 2.89 1.005 1.903 1.903 0 0 0 .941 2.185c.254.134.534.209.82.219a1.456 1.456 0 0 1-.104-2.32 1.775 1.775 0 0 0 1.04 1.779c.671.292 1.397.44 2.13.431a5.676 5.676 0 0 0 2.665-.275c1.32-.599 1.964-2.081 2.489-3.429l.519-13.345a3.894 3.894 0 0 0-4.016-3.08Z" /> - + ( fill="#DE285E" d="M161.411 37.681a1.794 1.794 0 0 1-1.305-.567l-4.036-4.318a1.783 1.783 0 0 1 2.597-2.435l2.598 2.804 6.235-7.892a1.79 1.79 0 0 1 1.197-.71 1.776 1.776 0 0 1 1.8.911 1.787 1.787 0 0 1-.202 2.01l-7.487 9.495a1.773 1.773 0 0 1-1.325.676l-.072.026Z" /> - + ); export default SportIcon; diff --git a/expo/src/components/illustrations/StarButton.js b/expo/src/components/illustrations/StarButton.js index 21fc34252..ebd8461fd 100644 --- a/expo/src/components/illustrations/StarButton.js +++ b/expo/src/components/illustrations/StarButton.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const StarButton = ({ color, size, ...props }) => ( - + ( h89.7l-72.574,52.722c-8.07,5.879-11.428,16.213-8.353,25.713l27.724,85.328l-72.574-52.729c-3.951-2.876-8.622-4.396-13.51-4.396 s-9.581,1.52-13.529,4.396l-72.574,52.729L130.649,227.336z" /> - + ); export default StarButton; diff --git a/expo/src/components/illustrations/Stars.js b/expo/src/components/illustrations/Stars.js index 07b8faece..4fc6094f5 100644 --- a/expo/src/components/illustrations/Stars.js +++ b/expo/src/components/illustrations/Stars.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Stars = ({ color, size = 25, ...props }) => ( - + ( d="M18.268 14.9039C18.6667 15.0688 18.8562 15.5257 18.6913 15.9244C17.6085 18.5429 17.0959 21.3621 17.1877 24.1942C17.2017 24.6255 16.8635 24.9864 16.4322 25.0004C16.001 25.0144 15.64 24.6761 15.6261 24.2449C15.527 21.1909 16.0797 18.1509 17.2474 15.3273C17.4123 14.9285 17.8692 14.739 18.268 14.9039Z" fill={color} /> - + ); export default Stars; diff --git a/expo/src/components/illustrations/StratPlusIcon.js b/expo/src/components/illustrations/StratPlusIcon.js index 66c30b4a0..43dcc47b2 100644 --- a/expo/src/components/illustrations/StratPlusIcon.js +++ b/expo/src/components/illustrations/StratPlusIcon.js @@ -2,32 +2,16 @@ import React from "react"; import Svg, { Path, Circle } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const StratPlusIcon = ({ size, color = "#FF0000", ...props }) => ( - - - + + + - - + + ( - + ); export default StratPlusIcon; diff --git a/expo/src/components/illustrations/StrategyIcon.js b/expo/src/components/illustrations/StrategyIcon.js index dfc7aa0cb..f790d29ef 100644 --- a/expo/src/components/illustrations/StrategyIcon.js +++ b/expo/src/components/illustrations/StrategyIcon.js @@ -1,18 +1,15 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-bottom: -3px; -`; - -const StrategyIcon = ({ size }) => ( - ( + + xmlns="http://www.w3.org/2000/svg" + className={[className, "-mt-[3px]"].join(" ")} + > ( d="M56.2976 21.4238C57.9624 21.6173 59.5967 22.0166 61.1632 22.6126C63.5968 23.5726 65.0528 25.7406 67.9552 26.379C67.9552 26.379 71.592 30.859 67.9552 37.6798L62.8704 36.9038C62.1255 36.7873 61.3653 36.8139 60.6304 36.9822C59.6288 37.2158 57.824 37.4494 55.3136 37.0414L56.2976 21.4238Z" fill="#FFA8A7" /> - - + + - - + + ( d="M54.8304 45.3571C54.7321 45.3574 54.6354 45.3314 54.5504 45.2819L41.9104 37.9875C41.7855 37.9114 41.6953 37.7895 41.6591 37.6478C41.6229 37.5061 41.6436 37.3558 41.7167 37.2291C41.7899 37.1025 41.9097 37.0095 42.0505 36.97C42.1914 36.9305 42.3421 36.9477 42.4704 37.0179L55.1104 44.3123C55.2171 44.374 55.3004 44.4691 55.3476 44.583C55.3947 44.6968 55.4029 44.8231 55.371 44.9421C55.3391 45.0611 55.2689 45.1663 55.1711 45.2413C55.0734 45.3163 54.9536 45.3571 54.8304 45.3571Z" fill="#263238" /> - + ); export default StrategyIcon; diff --git a/expo/src/components/illustrations/TTCIcon.js b/expo/src/components/illustrations/TTCIcon.js index 3d458dd7b..599e10e7b 100644 --- a/expo/src/components/illustrations/TTCIcon.js +++ b/expo/src/components/illustrations/TTCIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const TTCIcon = ({ size, ...props }) => ( - + ( d="M41.6526 17.6243C42.2256 17.5289 42.7709 17.3095 43.2503 16.9814L43.2583 16.9726C43.8047 16.5977 44.2498 16.0933 44.5536 15.5044C44.8575 14.9154 45.0106 14.2604 44.9994 13.5978C44.9882 12.9353 44.8129 12.2858 44.4893 11.7075C44.1657 11.1292 43.7038 10.6401 43.145 10.284C43.1321 10.276 43.1257 10.2615 43.1136 10.2527C43.1016 10.2438 43.0952 10.2478 43.0863 10.2422C42.5589 9.92627 41.967 9.73362 41.3547 9.67865C40.7424 9.62368 40.1256 9.70782 39.5504 9.92478C39.957 10.5609 40.1747 11.2994 40.178 12.0544C40.178 12.2675 40.0933 12.4719 39.9426 12.6226C39.7919 12.7733 39.5875 12.858 39.3744 12.858C39.1612 12.858 38.9568 12.7733 38.8061 12.6226C38.6554 12.4719 38.5707 12.2675 38.5707 12.0544C38.5707 11.415 38.3167 10.8018 37.8646 10.3496C37.4125 9.89751 36.7993 9.64351 36.1599 9.64351C35.9467 9.64351 35.7423 9.55884 35.5916 9.40813C35.4409 9.25743 35.3562 9.05302 35.3562 8.83988C35.3562 8.62675 35.4409 8.42235 35.5916 8.27164C35.7423 8.12093 35.9467 8.03626 36.1599 8.03626C36.9431 8.03661 37.7089 8.26747 38.3618 8.70005C39.1334 8.30256 39.9851 8.08547 40.8528 8.06514C41.7205 8.04482 42.5815 8.2218 43.3708 8.58272C43.5158 8.38315 43.6429 8.17125 43.7509 7.94947C43.7967 7.86391 43.8377 7.77592 43.8739 7.68588C44.0777 7.15616 44.1868 6.59471 44.1961 6.0272C44.1946 4.85541 43.7285 3.73205 42.8999 2.90347C42.0713 2.07489 40.948 1.60874 39.7762 1.60725C39.6629 1.60725 39.5439 1.61449 39.4306 1.62172C39.3406 1.62735 39.2466 1.64181 39.1542 1.65547C39.0618 1.66913 38.9637 1.69244 38.8681 1.71173C39.1993 2.43567 39.3719 3.22204 39.3744 4.01813C39.3744 4.23127 39.2897 4.43567 39.139 4.58638C38.9883 4.73709 38.7839 4.82176 38.5707 4.82176C38.3576 4.82176 38.1532 4.73709 38.0025 4.58638C37.8518 4.43567 37.7671 4.23127 37.7671 4.01813C37.7693 3.18874 37.5125 2.37935 37.0326 1.70289C36.6614 1.17707 36.1695 0.747991 35.5981 0.451679C35.0267 0.155368 34.3926 0.000473581 33.749 3.70181e-06C32.7605 -0.00134462 31.807 0.365679 31.0745 1.02945C31.0681 1.03588 31.0593 1.03748 31.052 1.04311C30.3801 1.65511 29.9351 2.47652 29.7895 3.37362C30.3211 3.50562 30.808 3.77691 31.1999 4.15957C31.2766 4.2337 31.3379 4.32238 31.38 4.42042C31.4221 4.51847 31.4443 4.62392 31.4452 4.73062C31.4461 4.83733 31.4258 4.94315 31.3854 5.04191C31.345 5.14068 31.2853 5.2304 31.2099 5.30586C31.1344 5.38131 31.0447 5.44098 30.9459 5.48139C30.8471 5.5218 30.7413 5.54213 30.6346 5.5412C30.5279 5.54028 30.4225 5.51811 30.3244 5.47599C30.2264 5.43387 30.1377 5.37265 30.0636 5.2959C29.7575 5.00351 29.3505 4.84035 28.9272 4.84035C28.504 4.84035 28.097 5.00351 27.7909 5.2959C27.7168 5.37265 27.6281 5.43387 27.5301 5.47599C27.432 5.51811 27.3266 5.54028 27.2199 5.5412C27.1132 5.54213 27.0073 5.5218 26.9086 5.48139C26.8098 5.44098 26.7201 5.38131 26.6446 5.30586C26.5692 5.2304 26.5095 5.14068 26.4691 5.04191C26.4287 4.94315 26.4084 4.83733 26.4093 4.73062C26.4102 4.62392 26.4324 4.51847 26.4745 4.42042C26.5166 4.32238 26.5778 4.2337 26.6546 4.15957C27.0721 3.75032 27.5971 3.46777 28.1686 3.34469C28.2935 2.32492 28.6948 1.35869 29.3291 0.550487C29.2222 0.488608 29.1169 0.421907 29.0028 0.369671C28.3906 0.0873315 27.7172 -0.0364361 27.0446 0.00976645C26.372 0.055969 25.7219 0.270656 25.1541 0.634058C24.5862 0.99746 24.1189 1.49789 23.7953 2.08927C23.4716 2.68065 23.3019 3.34397 23.3019 4.01813V37.7704C23.2984 38.1393 23.3817 38.5039 23.545 38.8347C23.7083 39.1656 23.9471 39.4534 24.2421 39.675C24.5979 39.9516 25.0243 40.1227 25.4727 40.1688C25.921 40.2148 26.3733 40.1339 26.7779 39.9354C27.1825 39.7369 27.5232 39.4286 27.7612 39.0458C27.9991 38.663 28.1247 38.2211 28.1236 37.7704C28.1236 37.69 28.1148 37.6097 28.1075 37.5293C27.5797 37.3707 27.0784 37.1346 26.62 36.8286C26.4514 36.707 26.3364 36.5248 26.2993 36.3202C26.2622 36.1156 26.3058 35.9047 26.4209 35.7316C26.5361 35.5585 26.7138 35.4367 26.9168 35.3919C27.1199 35.3471 27.3323 35.3828 27.5096 35.4913C27.9479 35.7827 28.4395 35.9843 28.9562 36.0844H28.9602C29.2141 36.1346 29.4721 36.161 29.7309 36.1632C30.7961 36.1619 31.8174 35.7381 32.5707 34.9849C33.324 34.2316 33.7477 33.2103 33.749 32.145C33.7505 31.9024 33.729 31.6603 33.6847 31.4218L33.6807 31.4105C33.536 30.6378 33.1669 29.9249 32.6195 29.3607C32.0721 28.7964 31.3707 28.4059 30.6028 28.2378C29.8553 28.691 28.9978 28.9306 28.1236 28.9305C27.9105 28.9305 27.7061 28.8459 27.5554 28.6951C27.4047 28.5444 27.32 28.34 27.32 28.1269C27.32 27.9138 27.4047 27.7094 27.5554 27.5586C27.7061 27.4079 27.9105 27.3233 28.1236 27.3233C28.9762 27.3233 29.7938 26.9846 30.3966 26.3818C30.9994 25.7789 31.3381 24.9613 31.3381 24.1088C31.3381 23.8956 31.4228 23.6912 31.5735 23.5405C31.7242 23.3898 31.9286 23.3051 32.1417 23.3051C32.3549 23.3051 32.5593 23.3898 32.71 23.5405C32.8607 23.6912 32.9454 23.8956 32.9454 24.1088C32.9453 25.1535 32.6035 26.1695 31.9722 27.0018C32.7171 27.3258 33.3827 27.808 33.9227 28.4148C34.4628 29.0216 34.8645 29.7386 35.0999 30.5161C35.1883 30.5217 35.2606 30.5386 35.3562 30.5386C36.4215 30.5373 37.4428 30.1136 38.1961 29.3603C38.9493 28.607 39.3731 27.5857 39.3744 26.5204C39.3744 26.4988 39.3687 26.4795 39.3687 26.4578C38.297 26.3064 37.2923 25.8467 36.4772 25.1345C35.662 24.4224 35.0715 23.4886 34.7776 22.4469C33.9159 22.3337 33.1013 21.9878 32.4214 21.4464C32.3389 21.3804 32.2703 21.2988 32.2193 21.2063C32.1683 21.1138 32.1361 21.0122 32.1244 20.9073C32.1127 20.8023 32.1219 20.6961 32.1512 20.5946C32.1806 20.4932 32.2297 20.3985 32.2956 20.3161C32.4288 20.1495 32.6228 20.0427 32.8347 20.0191C32.9397 20.0074 33.0459 20.0165 33.1474 20.0459C33.2488 20.0753 33.3435 20.1243 33.4259 20.1903C34.0916 20.7225 34.9414 20.9686 35.7885 20.8744C36.6356 20.7802 37.4106 20.3535 37.9431 19.688C38.0763 19.5216 38.2702 19.4148 38.4821 19.3913C38.694 19.3678 38.9066 19.4295 39.073 19.5627C39.2395 19.6959 39.3462 19.8897 39.3697 20.1016C39.3932 20.3135 39.3316 20.5261 39.1984 20.6926C38.5076 21.5566 37.5395 22.1556 36.458 22.3882C36.7499 23.1283 37.2565 23.7642 37.9127 24.214C38.5689 24.6639 39.3447 24.9071 40.1402 24.9124C40.6704 24.915 41.1959 24.8132 41.6868 24.6127C42.1776 24.4121 42.6241 24.1169 43.0007 23.7437C43.3774 23.3706 43.6768 22.9268 43.8819 22.4379C44.087 21.949 44.1938 21.4245 44.1961 20.8943C44.1961 20.7673 44.1897 20.6405 44.1768 20.5142V20.5037C44.1347 20.0842 44.0279 19.6738 43.8602 19.287C43.8168 19.201 43.6649 18.9318 43.5155 18.6835C43.0129 18.94 42.4742 19.1186 41.9178 19.2131C41.8738 19.2208 41.8292 19.2245 41.7844 19.2243C41.5831 19.2238 41.3894 19.1477 41.2415 19.0111C41.0936 18.8746 41.0023 18.6875 40.9857 18.4868C40.9692 18.2862 41.0285 18.0867 41.152 17.9277C41.2755 17.7687 41.4542 17.6619 41.6526 17.6283V17.6243ZM31.3381 12.858C30.2728 12.8593 29.2515 13.283 28.4983 14.0363C27.745 14.7896 27.3213 15.8109 27.32 16.8761C27.32 17.0893 27.2353 17.2937 27.0846 17.4444C26.9339 17.5951 26.7295 17.6798 26.5164 17.6798C26.3032 17.6798 26.0988 17.5951 25.9481 17.4444C25.7974 17.2937 25.7127 17.0893 25.7127 16.8761C25.7147 15.3848 26.3079 13.9551 27.3625 12.9005C28.417 11.846 29.8468 11.2527 31.3381 11.2508C31.5513 11.2508 31.7557 11.3354 31.9064 11.4861C32.0571 11.6368 32.1417 11.8413 32.1417 12.0544C32.1417 12.2675 32.0571 12.4719 31.9064 12.6226C31.7557 12.7733 31.5513 12.858 31.3381 12.858Z" fill="white" /> - + ); export default TTCIcon; diff --git a/expo/src/components/illustrations/ThinkVideos.js b/expo/src/components/illustrations/ThinkVideos.js index 21901339c..23b0a8c20 100644 --- a/expo/src/components/illustrations/ThinkVideos.js +++ b/expo/src/components/illustrations/ThinkVideos.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G, Rect, Defs, ClipPath } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ThinkVideos = ({ size, ...props }) => ( - + ( - + ); export default ThinkVideos; diff --git a/expo/src/components/illustrations/TickDone.js b/expo/src/components/illustrations/TickDone.js index 0f1e39a40..15911b964 100644 --- a/expo/src/components/illustrations/TickDone.js +++ b/expo/src/components/illustrations/TickDone.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const TickDone = ({ size, color, opacity = 1, ...props }) => ( - + ( fill={color} fill-opacity={opacity} /> - + ); export default TickDone; diff --git a/expo/src/components/illustrations/TipIcon.js b/expo/src/components/illustrations/TipIcon.js index 040da3cd5..f82f47f16 100644 --- a/expo/src/components/illustrations/TipIcon.js +++ b/expo/src/components/illustrations/TipIcon.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const TipIcon = ({ size, ...props }) => ( - + - + ); export default TipIcon; diff --git a/expo/src/components/illustrations/TriIcon.js b/expo/src/components/illustrations/TriIcon.js index c87745064..df8826b33 100644 --- a/expo/src/components/illustrations/TriIcon.js +++ b/expo/src/components/illustrations/TriIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const TriIcon = ({ size, ...props }) => ( - + ( - + - + @@ -197,22 +187,11 @@ const TriIcon = ({ size, ...props }) => ( - + - - + + ( d="M81.082 165.075a.133.133 0 0 0 .1-.053 3.11 3.11 0 0 1 2.369-.998.148.148 0 0 0 .16-.133.13.13 0 0 0-.055-.149.14.14 0 0 0-.052-.02 3.328 3.328 0 0 0-2.617 1.098.17.17 0 0 0 0 .218.13.13 0 0 0 .044.029.13.13 0 0 0 .051.008ZM79.941 164.229a.143.143 0 0 0 .101-.059 3.094 3.094 0 0 1 2.368-.992.16.16 0 0 0 .057-.007.161.161 0 0 0 .051-.029.158.158 0 0 0 .036-.046.155.155 0 0 0 .015-.056.14.14 0 0 0-.017-.108.137.137 0 0 0-.09-.062 3.332 3.332 0 0 0-2.616 1.104.165.165 0 0 0 0 .218.122.122 0 0 0 .043.03.117.117 0 0 0 .052.007ZM78.794 163.422c.02.001.04-.004.058-.014a.114.114 0 0 0 .043-.039 3.09 3.09 0 0 1 2.368-.992c.04.003.08-.01.11-.036a.153.153 0 0 0 .055-.102.14.14 0 0 0-.019-.11.144.144 0 0 0-.04-.04.142.142 0 0 0-.053-.02 3.345 3.345 0 0 0-2.617 1.104.17.17 0 0 0 0 .218.096.096 0 0 0 .044.028.092.092 0 0 0 .052.003ZM77.749 162.509a.138.138 0 0 0 .1-.053 3.076 3.076 0 0 1 2.368-.993.144.144 0 0 0 .108-.036.146.146 0 0 0 .051-.102.14.14 0 0 0-.016-.108.14.14 0 0 0-.09-.062 3.332 3.332 0 0 0-2.617 1.104.165.165 0 0 0 0 .218.113.113 0 0 0 .096.032ZM76.724 161.596a.128.128 0 0 0 .1-.059 3.144 3.144 0 0 1 2.602-1.003.148.148 0 0 0 .16-.133.132.132 0 0 0-.054-.149.127.127 0 0 0-.053-.021 3.373 3.373 0 0 0-2.85 1.115.165.165 0 0 0 0 .218c.027.022.06.033.095.032Z" /> - + ( d="M79.225 151.787a.142.142 0 0 0 .1-.058 3.095 3.095 0 0 1 2.368-.993.144.144 0 0 0 .108-.036.134.134 0 0 0 .036-.046.143.143 0 0 0 .015-.056.136.136 0 0 0-.016-.107.143.143 0 0 0-.039-.041.156.156 0 0 0-.05-.022 3.344 3.344 0 0 0-2.617 1.105.162.162 0 0 0-.001.217.112.112 0 0 0 .043.031c.017.006.035.008.053.006ZM78.083 150.938a.133.133 0 0 0 .1-.053 3.11 3.11 0 0 1 2.369-.998.148.148 0 0 0 .159-.132.14.14 0 0 0-.017-.108.129.129 0 0 0-.038-.04.124.124 0 0 0-.051-.022 3.333 3.333 0 0 0-2.617 1.104.166.166 0 0 0 0 .218c.026.022.06.034.095.031ZM76.936 150.137a.156.156 0 0 0 .107-.053 3.09 3.09 0 0 1 2.367-.998.148.148 0 0 0 .16-.132.141.141 0 0 0-.017-.108.128.128 0 0 0-.038-.04.123.123 0 0 0-.052-.022 3.358 3.358 0 0 0-2.622 1.104.17.17 0 0 0 0 .212.114.114 0 0 0 .044.029c.016.007.034.01.051.008ZM75.89 149.224a.129.129 0 0 0 .102-.059 3.118 3.118 0 0 1 2.367-.992.154.154 0 0 0 .165-.133.145.145 0 0 0-.06-.148.141.141 0 0 0-.052-.022 3.344 3.344 0 0 0-2.617 1.099.165.165 0 0 0 0 .218.141.141 0 0 0 .044.029.13.13 0 0 0 .052.008ZM74.866 148.311a.142.142 0 0 0 .101-.058 3.127 3.127 0 0 1 2.601-1.004.143.143 0 0 0 .108-.036.145.145 0 0 0 .051-.102.136.136 0 0 0-.016-.107.143.143 0 0 0-.038-.041.156.156 0 0 0-.052-.022 3.396 3.396 0 0 0-2.85 1.115.171.171 0 0 0 0 .218.114.114 0 0 0 .043.029.13.13 0 0 0 .052.008Z" /> - + ( opacity={0.3} /> - + ( opacity={0.2} /> - + ( opacity={0.2} /> - - + + - + - + - - + + - - + + - + - + @@ -919,10 +847,7 @@ const TriIcon = ({ size, ...props }) => ( fill="#263238" d="M194.834 59.518a.735.735 0 0 0 .886.815.697.697 0 0 0 .531-.576.732.732 0 0 0-.61-.823.685.685 0 0 0-.807.584ZM188.978 57.87l1.566-.685a.822.822 0 0 0-.449-.469.819.819 0 0 0-.649.007.902.902 0 0 0-.468 1.147ZM195.375 57.516l1.476.86a.817.817 0 0 0-.276-1.157.897.897 0 0 0-1.2.297Z" /> - + ( fill="#455A64" d="M206.619 37.005c.961.575 2.064.87 3.185.855 0-2.926-1.136-5.989-1.269-6.589-.133-.6-.398-1.508 0-1.948a4.477 4.477 0 0 0 .632-1.593 2.82 2.82 0 0 1-.632-1.343v-2.432l-.637-.366v1.237c0 .934-.563 1.364-1.264.961a3.046 3.046 0 0 1-1.284-2.42v-1.243l-.632-.35v2.442c0 .578-.637.61-.637.61.134.791.348 1.566.637 2.315a2.45 2.45 0 0 1 0 1.954 11.394 11.394 0 0 0-1.269 5.123 13.766 13.766 0 0 0 3.185 2.803" /> - + ); export default TriIcon; diff --git a/expo/src/components/illustrations/VideosIcon.js b/expo/src/components/illustrations/VideosIcon.js index bae18f760..ba85e271e 100644 --- a/expo/src/components/illustrations/VideosIcon.js +++ b/expo/src/components/illustrations/VideosIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, Circle } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const VideosIcon = ({ size, ...props }) => ( - + ( d="M56.25 24H23.75C21.6875 24 20 25.6875 20 27.75V52.75C20 54.8125 21.6875 56.5 23.75 56.5H26.25C26.9375 56.5 27.5 55.9375 27.5 55.25V26.5H52.5V54H31.25C30.5625 54 30 54.5625 30 55.25C30 55.9375 30.5625 56.5 31.25 56.5H56.25C58.3125 56.5 60 54.8125 60 52.75V27.75C60 25.6875 58.3125 24 56.25 24ZM25 54H23.75C23.0625 54 22.5 53.4375 22.5 52.75V27.75C22.5 27.0625 23.0625 26.5 23.75 26.5H25V54ZM57.5 52.75C57.5 53.4375 56.9375 54 56.25 54H55V26.5H56.25C56.9375 26.5 57.5 27.0625 57.5 27.75V52.75Z" fill="white" /> - + ); export default VideosIcon; diff --git a/expo/src/components/illustrations/WalkIcon.js b/expo/src/components/illustrations/WalkIcon.js index 33bf2a5f2..7e7c43782 100644 --- a/expo/src/components/illustrations/WalkIcon.js +++ b/expo/src/components/illustrations/WalkIcon.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, G } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const WalkIcon = ({ size, ...props }) => ( - + ( fill="#37474F" /> - + ( fill="#37474F" /> - + ( d="M193.24 144.465L235.895 169.09L236.91 168.495L194.255 143.87L193.24 144.465Z" fill="#4030A5" /> - - + + - - - + + + - - - + + + - - - + + + - - - + + + - - + + - + - - + + - + - - + + ( d="M55.8093 142.175C55.8093 142.175 55.1143 141.86 53.6293 142.23C51.8271 142.783 49.9544 143.072 48.0693 143.09L48.8343 143.49L56.2693 142.765L55.8093 142.175Z" fill="white" /> - - - + + + ( d="M58.0151 139.905L56.8701 142.05L54.3701 151.35L54.7501 151.555L55.8801 148.94L58.3951 140.105L58.0151 139.905Z" fill="#4030A5" /> - + - + ( d="M143.336 187.62C143.456 187.653 143.568 187.713 143.663 187.794C143.758 187.875 143.834 187.976 143.886 188.09C143.951 188.255 143.886 188.325 144.031 188.44C144.126 188.494 144.206 188.572 144.263 188.665C144.32 188.759 144.352 188.866 144.356 188.975C144.449 188.829 144.498 188.66 144.498 188.488C144.498 188.315 144.449 188.146 144.356 188C144.241 187.845 144.083 187.727 143.902 187.659C143.721 187.592 143.524 187.578 143.336 187.62Z" fill="white" /> - + ); export default WalkIcon; diff --git a/expo/src/components/illustrations/drinksAndFood/AperitiveBottle.js b/expo/src/components/illustrations/drinksAndFood/AperitiveBottle.js index 802289b7d..bae526236 100644 --- a/expo/src/components/illustrations/drinksAndFood/AperitiveBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/AperitiveBottle.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const AperitiveBottle = ({ size, color = "#DE285E", ...props }) => ( - + ( d="M10.9453 65.1094C8.9625 65.3203 6.69844 66.0937 4.96875 67.1625C3.61875 67.9922 3.28125 68.3016 3.28125 68.7656C3.28125 69.2016 3.66094 69.6094 4.06875 69.6094C4.20938 69.6094 4.61719 69.4125 4.96875 69.1734C9.42656 66.15 14.5172 66.0234 18.7219 68.8219C19.8047 69.5391 19.9453 69.5672 20.4094 69.2437C20.775 68.9906 20.8313 68.3297 20.4938 68.0062C20.1 67.6125 19.0875 66.9516 18.1031 66.4734C15.8531 65.3484 13.2656 64.8703 10.9453 65.1094Z" fill="#DE285E" /> - + ); export default AperitiveBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/AperitiveGlass.js b/expo/src/components/illustrations/drinksAndFood/AperitiveGlass.js index 6079a2533..ff4570d1c 100644 --- a/expo/src/components/illustrations/drinksAndFood/AperitiveGlass.js +++ b/expo/src/components/illustrations/drinksAndFood/AperitiveGlass.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const AperitiveGlass = ({ size, color = "#DE285E", ...props }) => ( - + ( d="M19.3469 10.2848C18.9785 10.4824 18.8527 10.6801 18.8438 11.0754C18.8438 11.8211 19.6883 12.2074 20.2633 11.7223C20.7664 11.3 20.6586 10.5273 20.0656 10.2848C19.6793 10.123 19.6703 10.123 19.3469 10.2848Z" fill="#DE285E" /> - + ); export default AperitiveGlass; diff --git a/expo/src/components/illustrations/drinksAndFood/Banasplit.js b/expo/src/components/illustrations/drinksAndFood/Banasplit.js index c45bf8106..990d1feab 100644 --- a/expo/src/components/illustrations/drinksAndFood/Banasplit.js +++ b/expo/src/components/illustrations/drinksAndFood/Banasplit.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Banasplit = ({ size, color = "#DE285E", ...props }) => ( - + - + ); export default Banasplit; diff --git a/expo/src/components/illustrations/drinksAndFood/ChampagneBottle.js b/expo/src/components/illustrations/drinksAndFood/ChampagneBottle.js index 84e84d7ff..7984354b7 100644 --- a/expo/src/components/illustrations/drinksAndFood/ChampagneBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/ChampagneBottle.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ChampagneBottle = ({ size, ...props }) => ( - + - + ); export default ChampagneBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/ChampagneGlass.js b/expo/src/components/illustrations/drinksAndFood/ChampagneGlass.js index 888885080..dd2a71186 100644 --- a/expo/src/components/illustrations/drinksAndFood/ChampagneGlass.js +++ b/expo/src/components/illustrations/drinksAndFood/ChampagneGlass.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const ChampagneGlass = ({ size, ...props }) => ( - + ( stroke="#DE285E" strokeWidth={0.5} /> - + ); export default ChampagneGlass; diff --git a/expo/src/components/illustrations/drinksAndFood/CiderBottle.js b/expo/src/components/illustrations/drinksAndFood/CiderBottle.js index 1e040becf..7063232f3 100644 --- a/expo/src/components/illustrations/drinksAndFood/CiderBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/CiderBottle.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CiderBottle = ({ color = "#DE285E", size, ...props }) => ( - + ( d="M21.816 38.71h1.455v1.548h-1.455v-1.549ZM26.18 40.257h1.454v1.549H26.18v-1.549ZM19.635 29.42c.578 0 1.133-.245 1.542-.68a2.402 2.402 0 0 0 .64-1.643c0-.616-.23-1.207-.64-1.642a2.117 2.117 0 0 0-1.542-.68c-.579 0-1.134.244-1.543.68a2.402 2.402 0 0 0-.639 1.642c0 .616.23 1.207.639 1.642.41.436.964.68 1.543.68Zm0-3.097c.294 0 .559.188.671.478a.81.81 0 0 1-.157.843.695.695 0 0 1-.793.168.776.776 0 0 1-.449-.715c0-.428.326-.774.728-.774ZM28.36 23.225c.579 0 1.134-.245 1.543-.68a2.402 2.402 0 0 0 .64-1.642c0-.616-.23-1.207-.64-1.643a2.118 2.118 0 0 0-1.543-.68c-.578 0-1.133.245-1.542.68a2.401 2.401 0 0 0-.64 1.643c0 .615.23 1.207.64 1.642.409.435.964.68 1.542.68Zm0-3.097c.295 0 .56.19.672.478a.81.81 0 0 1-.157.844.695.695 0 0 1-.793.168.776.776 0 0 1-.449-.715c0-.428.326-.775.727-.775Z" fill={color} /> - + ); export default CiderBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/CocktailBottle.js b/expo/src/components/illustrations/drinksAndFood/CocktailBottle.js index 5e15f268f..c532c101d 100644 --- a/expo/src/components/illustrations/drinksAndFood/CocktailBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/CocktailBottle.js @@ -1,13 +1,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; -import styled from "styled-components"; -const StyledSvg = styled(Svg)` - margin-bottom: 10px; -`; - -const CocktailBottle = ({ size, ...props }) => ( - +const CocktailBottle = ({ size, className = "", ...props }) => ( + ( - + ); export default CocktailBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/CocktailGlass.js b/expo/src/components/illustrations/drinksAndFood/CocktailGlass.js index 4547aa0bc..ada9b2848 100644 --- a/expo/src/components/illustrations/drinksAndFood/CocktailGlass.js +++ b/expo/src/components/illustrations/drinksAndFood/CocktailGlass.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CocktailGlass = ({ size, ...props }) => ( - + ( d="M19.6201 28.8136C17.9798 27.2139 14.7983 26.7733 13.8624 26.6764C13.4243 26.6313 13.0175 26.9347 12.9369 27.3678C12.7644 28.2929 12.2847 31.4689 13.3537 33.4953C14.1106 34.9301 15.1113 35.8244 16.3283 36.1534C16.6895 36.251 17.0415 36.2902 17.3744 36.2902C18.7004 36.2902 19.7191 35.6672 19.772 35.6342C19.8 35.6168 19.8265 35.597 19.8512 35.5751C19.9095 35.5233 21.2817 34.2843 21.3255 32.4199C21.3552 31.1596 20.7813 29.9463 19.6201 28.8136ZM16.6342 35.0219C15.7441 34.7813 14.9891 34.0837 14.3902 32.9484C13.8274 31.8817 13.7671 30.2074 13.9259 28.7055L14.6189 29.6331C14.3315 29.6955 14.1303 29.9649 14.1607 30.2645C14.1913 30.5664 14.446 30.7914 14.743 30.7914C14.7628 30.7914 14.7827 30.7904 14.8027 30.7884L15.4342 30.7244L15.8986 31.3459L15.3903 31.3974C15.0683 31.43 14.8337 31.7174 14.8662 32.0394C14.8969 32.3414 15.1515 32.5664 15.4485 32.5664C15.4683 32.5664 15.4882 32.5654 15.5083 32.5633L16.7167 32.4409L17.2382 33.139L16.3694 33.2269C16.0474 33.2596 15.8128 33.547 15.8454 33.8689C15.8759 34.1709 16.1306 34.3959 16.4276 34.3959C16.4474 34.3959 16.4673 34.3949 16.4874 34.3929L18.0564 34.234L18.5598 34.9079C18.0858 35.0754 17.3795 35.2235 16.6342 35.0219ZM19.4967 34.2042L19.005 33.546L19.6143 32.057C19.7368 31.7575 19.5933 31.4153 19.2939 31.2928C18.9943 31.1702 18.6522 31.3137 18.5296 31.6132L18.1869 32.4509L17.6556 31.7397L18.1157 30.6156C18.2382 30.3161 18.0947 29.9739 17.7953 29.8514C17.4957 29.7288 17.1536 29.8723 17.031 30.1717L16.8375 30.6446L16.3732 30.023L16.6135 29.4358C16.7361 29.1362 16.5927 28.794 16.2932 28.6715C16.0145 28.5575 15.6993 28.6739 15.5579 28.9317L14.8649 28.0041C16.35 28.2778 17.9385 28.8104 18.802 29.6526C19.7171 30.5452 20.1722 31.4634 20.1543 32.3813C20.1391 33.1506 19.7933 33.7925 19.4967 34.2042Z" fill="#de285e" /> - + ); export default CocktailGlass; diff --git a/expo/src/components/illustrations/drinksAndFood/CocktailGlassTriangle.js b/expo/src/components/illustrations/drinksAndFood/CocktailGlassTriangle.js index 30b99b51f..1ef66189b 100644 --- a/expo/src/components/illustrations/drinksAndFood/CocktailGlassTriangle.js +++ b/expo/src/components/illustrations/drinksAndFood/CocktailGlassTriangle.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const CocktailGlassTriangle = ({ size, ...props }) => ( - + ( stroke="black" stroke-width="0.5" /> - + ); export default CocktailGlassTriangle; diff --git a/expo/src/components/illustrations/drinksAndFood/DigestiveDrink.js b/expo/src/components/illustrations/drinksAndFood/DigestiveDrink.js index 90b608af7..d1244ad68 100644 --- a/expo/src/components/illustrations/drinksAndFood/DigestiveDrink.js +++ b/expo/src/components/illustrations/drinksAndFood/DigestiveDrink.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const DigestiveDrink = ({ size, ...props }) => ( - + ( d="M3.00234 4.93607C2.93906 4.99408 2.91797 5.12591 2.91797 5.44759C2.91797 6.01712 3.01816 8.11595 3.0498 8.26361C3.10781 8.50619 3.4875 8.55365 3.60352 8.33216C3.6457 8.25306 3.6457 7.79427 3.60352 6.73431C3.57188 5.91693 3.53496 5.19447 3.51914 5.13119C3.47168 4.87279 3.17109 4.76204 3.00234 4.93607Z" fill="#DE285E" /> - + ); export default DigestiveDrink; diff --git a/expo/src/components/illustrations/drinksAndFood/Esquimau.js b/expo/src/components/illustrations/drinksAndFood/Esquimau.js index 273eb1c75..33b1ef1a1 100644 --- a/expo/src/components/illustrations/drinksAndFood/Esquimau.js +++ b/expo/src/components/illustrations/drinksAndFood/Esquimau.js @@ -2,17 +2,15 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Esquimau = ({ size, ...props }) => ( - + - + ); export default Esquimau; diff --git a/expo/src/components/illustrations/drinksAndFood/Flasque.js b/expo/src/components/illustrations/drinksAndFood/Flasque.js index de3b3b641..310e0ff82 100644 --- a/expo/src/components/illustrations/drinksAndFood/Flasque.js +++ b/expo/src/components/illustrations/drinksAndFood/Flasque.js @@ -2,22 +2,14 @@ import React from "react"; import Svg, { G, Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HalfCider = ({ size, ...props }) => ( - + - + ); export default HalfCider; diff --git a/expo/src/components/illustrations/drinksAndFood/Glace.js b/expo/src/components/illustrations/drinksAndFood/Glace.js index 7e236607a..0f07d780f 100644 --- a/expo/src/components/illustrations/drinksAndFood/Glace.js +++ b/expo/src/components/illustrations/drinksAndFood/Glace.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Glace = ({ size, color = "#DE285E", ...props }) => ( - + - + ); export default Glace; diff --git a/expo/src/components/illustrations/drinksAndFood/HalfBeer.js b/expo/src/components/illustrations/drinksAndFood/HalfBeer.js index d5657c6b6..aaefc077a 100644 --- a/expo/src/components/illustrations/drinksAndFood/HalfBeer.js +++ b/expo/src/components/illustrations/drinksAndFood/HalfBeer.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HalfBeer = ({ size, ...props }) => ( - + ( - + ); export default HalfBeer; diff --git a/expo/src/components/illustrations/drinksAndFood/HalfCider.js b/expo/src/components/illustrations/drinksAndFood/HalfCider.js index 9eca5d8a6..b35c4a510 100644 --- a/expo/src/components/illustrations/drinksAndFood/HalfCider.js +++ b/expo/src/components/illustrations/drinksAndFood/HalfCider.js @@ -2,16 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HalfCider = ({ size, ...props }) => ( - + ( fill="#DE285E" stroke="#DE285E" /> - + ); export default HalfCider; diff --git a/expo/src/components/illustrations/drinksAndFood/HotDog.js b/expo/src/components/illustrations/drinksAndFood/HotDog.js index 47d851270..7bc6390e0 100644 --- a/expo/src/components/illustrations/drinksAndFood/HotDog.js +++ b/expo/src/components/illustrations/drinksAndFood/HotDog.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const HotDog = ({ color = "#DE285E", size, ...props }) => ( - + - + ); export default HotDog; diff --git a/expo/src/components/illustrations/drinksAndFood/Mojito.js b/expo/src/components/illustrations/drinksAndFood/Mojito.js index 868fb3c98..ade0ff320 100644 --- a/expo/src/components/illustrations/drinksAndFood/Mojito.js +++ b/expo/src/components/illustrations/drinksAndFood/Mojito.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Mojito = ({ size, color = "#DE285E", ...props }) => ( - + ( d="M31.569 6.517a1.656 1.656 0 0 0-1.123-.429h-12.83c.421-1.822.36-3.66.31-4.382-.036-.537-.517-.95-1.119-.962-1.193-.022-5.097.023-7.604 1.418C6.661.571 2.803.113 1.572.005 1.01-.045.504.293.397.79.136 2.009-.594 6.195.986 8.873c1.102 1.867 2.557 3.03 4.325 3.458a6.39 6.39 0 0 0 1.277.173L8.26 46.672c.036.744.718 1.328 1.552 1.328H28.53c.834 0 1.517-.584 1.553-1.328l1.916-39.134a1.315 1.315 0 0 0-.43-1.021ZM16.387 3.15c-.032 1.544-.296 3.215-.944 4.415l-.014.026a4.32 4.32 0 0 1-.221.362l-.042.061c-.036.051-.072.1-.11.149a8.438 8.438 0 0 1-.173.213l-.045.053a7.819 7.819 0 0 1-.401.438 6.787 6.787 0 0 1-.175.17l-.01.01a6.164 6.164 0 0 1-.407.343l-.015.012a5.3 5.3 0 0 1-.414.287l-.018.012a4.784 4.784 0 0 1-.424.231l-.02.01a4.307 4.307 0 0 1-.904.308l-.013.003a4.043 4.043 0 0 1-.466.07l-.007.001.003-.004a6.35 6.35 0 0 0 .252-.391l.018-.032c.038-.065.075-.131.112-.2l.006-.01.05-.097.03.006a.88.88 0 0 0 .176.018c.358 0 .682-.221.766-.547.09-.351-.132-.701-.503-.819l.017-.085.011-.07.021-.142.008-.064.015-.15.004-.064.008-.151.002-.034v-.174l1.063.217a.88.88 0 0 0 .176.018c.36 0 .683-.22.767-.546.097-.379-.168-.756-.592-.843l-.676-.138.73-.68.835.172c.06.012.118.018.176.018.36 0 .683-.22.767-.547.09-.353-.135-.706-.51-.821l1.09-1.014Zm-1.303 16.36c-2.326 2.025-2.546 5.265-.632 7.521l-.349.305c-2.12-2.447-1.874-5.94.646-8.135 1.334-1.162 3.06-1.744 4.785-1.744 1.533 0 3.067.46 4.327 1.38l-.35.305c-2.472-1.77-6.1-1.658-8.427.368Zm7.29.623-6.784 5.908c-1.316-1.691-1.111-4.04.592-5.524.932-.811 2.141-1.215 3.35-1.215 1 0 2.001.278 2.842.83Zm-7.945-6.68-.685 3.181-3.559-.612.686-3.182 3.558.613Zm.824-11.278L14.162 3.19c-.144-.33-.546-.518-.939-.424-.419.102-.667.488-.554.863l.224.74-.73.679-.18-.6c-.099-.324-.436-.533-.796-.518a9.027 9.027 0 0 0-.735-.784c1.31-.595 3.118-.883 4.8-.97ZM8.67 3.564l.01.008a6.244 6.244 0 0 1 .297.236l.008.008c.09.079.177.158.261.237l.089.085c.055.054.11.107.162.16l.096.101a7.206 7.206 0 0 1 .35.397c.029.035.058.07.085.106.041.052.08.104.118.157.022.03.046.061.067.092.056.08.11.16.159.24.02.03.036.06.055.092.03.052.062.105.09.157a4.254 4.254 0 0 1 .272.61c.02.058.039.115.056.172l.023.079c.046.17.079.34.098.51.003.021.004.043.006.065.005.063.01.126.012.189l.001.085c0 .067 0 .134-.003.201l-.001.026a3.352 3.352 0 0 1-.024.233l-.008.053a3.41 3.41 0 0 1-.058.294l-.02.077a3.654 3.654 0 0 1-.059.198l-.004.015a4.721 4.721 0 0 1-.86 1.5l-.809-.967.912-1.99c.164-.36-.029-.771-.43-.918-.403-.147-.862.025-1.027.384l-.553 1.21-.884-1.059.691-1.511c.165-.36-.028-.77-.43-.917-.402-.147-.861.025-1.026.384l-.334.73-.786-.94.37-.807c.164-.36-.029-.77-.431-.917-.402-.147-.862.025-1.026.384l-.011.025L2.97 1.599c1.663.262 4.157.824 5.7 1.965Zm-1.437 7.523c-.47.036-.985.013-1.512-.114-1.328-.321-2.453-1.248-3.343-2.757-.977-1.655-.871-4.172-.667-5.775L2.913 3.88l-.03.003c-.432.039-.747.384-.703.77.04.363.383.633.782.633a.885.885 0 0 0 .08-.004l.97-.088.785.94-.877.08c-.432.04-.747.384-.703.77.04.363.383.633.781.633a.89.89 0 0 0 .08-.003l1.818-.165.87 1.04-1.407.128c-.433.04-.748.384-.704.77.041.363.383.633.782.633a.9.9 0 0 0 .08-.003l2.347-.213.823.985c-.38.125-.87.249-1.42.294l-.034.004Zm21.279 35.506H9.832L9.73 44.51c2.537.235 5.91.368 9.442.368 3.531 0 6.904-.133 9.442-.368l-.102 2.084Zm1.833-37.45h-8.85c-.435 0-.788.314-.788.703 0 .388.353.703.787.703h8.782l-1.593 32.54c-2.506.243-5.92.38-9.511.38-3.592 0-7.006-.137-9.512-.38l-.11-2.258c.152.238.415.418.739.474l4.21.724c.068.012.137.018.206.018.512 0 .97-.325 1.07-.791l.81-3.763a.887.887 0 0 0-.167-.731 1.1 1.1 0 0 0-.697-.411l-4.21-.725c-.59-.102-1.163.246-1.277.774l-.735 3.41-1.342-27.425a8.15 8.15 0 0 0 1.298-.353.903.903 0 0 0-.042.136l-.86 3.996a.902.902 0 0 0 .17.744c.167.22.418.367.71.418l4.36.75c-.047.04-.096.078-.143.119-3.243 2.824-3.422 7.4-.407 10.415a1.169 1.169 0 0 0 .823.33c.287 0 .567-.101.773-.28l4.837-4.213 4.406-3.837 1.239-1.079a.944.944 0 0 0 .334-.716.947.947 0 0 0-.347-.711c-2.794-2.352-6.9-2.68-10.062-1.003l.816-3.788a.902.902 0 0 0-.171-.744 1.118 1.118 0 0 0-.71-.418l-2.9-.5.075-.015.056-.01a5.62 5.62 0 0 0 .177-.041l.014-.004c.055-.013.11-.028.165-.043l.058-.017a5.58 5.58 0 0 0 .308-.1l.065-.023a6.12 6.12 0 0 0 .133-.051l.05-.02c.062-.025.123-.05.184-.078l.032-.015c.05-.023.101-.046.152-.071l.061-.03a6.168 6.168 0 0 0 .316-.17c.02-.013.042-.025.063-.037l.145-.09.04-.025c.062-.04.124-.08.185-.123l.045-.031.14-.101.01-.007h3.078c.435 0 .787-.315.787-.703 0-.389-.352-.704-.787-.704h-1.625a5.227 5.227 0 0 0 .284-.37l.037-.053c.037-.054.074-.11.11-.167l.026-.039c.193-.309.367-.648.518-1.018h13.243l-.081 1.647ZM11.06 40.004l.628-2.916 3.261.562-.627 2.915-3.262-.561Z" fill={color} /> - + ); export default Mojito; diff --git a/expo/src/components/illustrations/drinksAndFood/OwnClGlass.js b/expo/src/components/illustrations/drinksAndFood/OwnClGlass.js index b33495c31..f3569e042 100644 --- a/expo/src/components/illustrations/drinksAndFood/OwnClGlass.js +++ b/expo/src/components/illustrations/drinksAndFood/OwnClGlass.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const OwnClGlass = ({ size, ...props }) => ( - + ( d="M8.25042 4.85111C7.32142 4.85111 6.8505 4.67358 6.39502 4.50223C5.97126 4.34328 5.57068 4.19257 4.74977 4.19257C3.928 4.19257 3.52827 4.34327 3.10452 4.50223C2.64903 4.67358 2.17809 4.85111 1.24912 4.85111H1.24826C1.01665 4.85318 0.784188 4.83976 0.553437 4.81189C0.459938 4.8026 0.373301 4.74789 0.312388 4.66015C0.252342 4.57345 0.224036 4.46094 0.23347 4.3474C0.242906 4.23489 0.290084 4.13167 0.363855 4.06046C0.436767 3.99027 0.531124 3.95724 0.624624 3.97066C0.832209 3.99543 1.04065 4.00679 1.24823 4.00576C2.07 4.00576 2.46973 3.85506 2.89348 3.69609C3.34896 3.52475 3.81991 3.34722 4.74888 3.34722C5.67788 3.34722 6.1488 3.52475 6.60428 3.69609C7.02804 3.85505 7.42862 4.00576 8.25125 4.00576C9.07387 4.00576 9.47274 3.85506 9.8965 3.69609C10.352 3.52475 10.8229 3.34722 11.7519 3.34722C12.0015 3.34618 12.2503 3.36167 12.4982 3.39366C12.6912 3.41947 12.8301 3.629 12.8078 3.86124C12.7864 4.09245 12.6123 4.25966 12.4201 4.23387C12.198 4.20497 11.9749 4.19155 11.7519 4.19258C10.9301 4.19258 10.5304 4.34328 10.1066 4.50225C9.64945 4.67462 9.17854 4.85111 8.25042 4.85111Z" fill="#DE285E" /> - + ); export default OwnClGlass; diff --git a/expo/src/components/illustrations/drinksAndFood/PinaColada.js b/expo/src/components/illustrations/drinksAndFood/PinaColada.js index 9714c4496..cf37c0892 100644 --- a/expo/src/components/illustrations/drinksAndFood/PinaColada.js +++ b/expo/src/components/illustrations/drinksAndFood/PinaColada.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const PinaColada = ({ color = "#DE285E", size, ...props }) => ( - + ( d="M26.561 12.747c-.255 0-.461.174-.461.382 0 .207.206.375.461.375.256 0 .462-.168.462-.375v-.013c0-.208-.206-.369-.462-.369ZM28.473 14.304c.255 0 .461-.168.461-.375v-.014c0-.207-.207-.368-.462-.368s-.461.174-.461.382c0 .207.206.375.462.375ZM27.05 15.459c0 .207.207.375.462.375.256 0 .462-.168.462-.375v-.013c0-.208-.206-.369-.462-.369-.255 0-.461.175-.461.382Z" fill={color} /> - + ); export default PinaColada; diff --git a/expo/src/components/illustrations/drinksAndFood/Pint.js b/expo/src/components/illustrations/drinksAndFood/Pint.js index 4b1b122b4..9218c1ab7 100644 --- a/expo/src/components/illustrations/drinksAndFood/Pint.js +++ b/expo/src/components/illustrations/drinksAndFood/Pint.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Pint = ({ size, color = "#de285e", ...props }) => ( - + ( d="M13.3553 14.6486C12.9671 14.6486 12.6523 14.9648 12.6523 15.3549V28.8468C12.6523 29.2369 12.9671 29.5532 13.3553 29.5532C13.7435 29.5532 14.0582 29.2369 14.0582 28.8468V15.3549C14.0582 14.9648 13.7435 14.6486 13.3553 14.6486Z" fill={color} /> - + ); export default Pint; diff --git a/expo/src/components/illustrations/drinksAndFood/PintCider.js b/expo/src/components/illustrations/drinksAndFood/PintCider.js index d94cfa8f8..2ab39e4d9 100644 --- a/expo/src/components/illustrations/drinksAndFood/PintCider.js +++ b/expo/src/components/illustrations/drinksAndFood/PintCider.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const PintCider = ({ size, ...props }) => ( - + ( fill="#DE285E" stroke="#DE285E" /> - + ); export default PintCider; diff --git a/expo/src/components/illustrations/drinksAndFood/Shoot.js b/expo/src/components/illustrations/drinksAndFood/Shoot.js index e41d4c0b3..283227016 100644 --- a/expo/src/components/illustrations/drinksAndFood/Shoot.js +++ b/expo/src/components/illustrations/drinksAndFood/Shoot.js @@ -2,22 +2,21 @@ import React from "react"; import Svg, { G, Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const Shoot = ({ size, ...props }) => ( - + + fillRule="nonzero" + > - + ); export default Shoot; diff --git a/expo/src/components/illustrations/drinksAndFood/SmallCan.js b/expo/src/components/illustrations/drinksAndFood/SmallCan.js index 6632bc0f8..b58213f94 100644 --- a/expo/src/components/illustrations/drinksAndFood/SmallCan.js +++ b/expo/src/components/illustrations/drinksAndFood/SmallCan.js @@ -2,16 +2,14 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SmallCan = ({ size, ...props }) => ( - + - + ); export default SmallCan; diff --git a/expo/src/components/illustrations/drinksAndFood/SpagettiPlate.js b/expo/src/components/illustrations/drinksAndFood/SpagettiPlate.js index fb8248f9b..f5313809b 100644 --- a/expo/src/components/illustrations/drinksAndFood/SpagettiPlate.js +++ b/expo/src/components/illustrations/drinksAndFood/SpagettiPlate.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SpagettiPlate = ({ size, color = "#DE285E", ...props }) => ( - + ( d="M27.312 14.446c.437-2.17-.185-3.452-.793-4.148-.74-.846-1.773-1.21-2.507-1.216a1.88 1.88 0 0 1-.162-.676c-.018-.504-.168-.931-.417-1.243.014-.077.046-.108.058-.12.07-.062.218-.09.391-.073.233.026.46-.109.535-.323.2-.569-.186-1.19-.937-1.513a2.378 2.378 0 0 0-2.832.736 2.018 2.018 0 0 0-.646-.826c-1.09-.854-3.053-.995-4.593-.77.329-.498 1.176-.958 1.51-1.104a.254.254 0 0 0 .053-.435c-1.176-.898-2.583-.831-3.422.165-.42.5-.666 1.128-.79 1.518a4.333 4.333 0 0 0-1.64-.712 3.931 3.931 0 0 0-1.874.071 2.642 2.642 0 0 0-1.192.756c-1.382 1.508-.731 2.893-.157 4.114.208.442.406.863.5 1.267-.07.017-.14.039-.21.06-1.572-.907-3.325-.155-4.267 1.088-1.046 1.38-1.393 3.78 1.04 6.025a5.515 5.515 0 0 0 1.007 1.998c-.532-.023-1.43-.163-2.002-.8a.254.254 0 0 0-.421.067c-.083.174-.457 1.058.028 1.825.426.674 1.372 1.031 2.812 1.062.684 3.162 3.014 4.645 5.278 4.645.29 0 .579-.027.864-.075.272.053.5.207.76.388.4.277.855.591 1.582.591.564 0 1.295-.193 2.29-.737.471.09.908.131 1.31.131 1.456 0 2.441-.51 2.992-.912 1.113.349.916 1.882.906 1.95a.256.256 0 0 0 .218.287c.095.013.186.019.274.019.6 0 1.046-.292 1.271-.84.35-.851.083-2.234-.393-2.988 1.828-.287 3.364-1.595 4.167-3.587.84-2.084.603-4.288-.591-5.665Zm-1.176-3.814c.705.806.953 1.97.735 3.38a4.031 4.031 0 0 0-.754-.5c.101-1.533-.925-2.35-1.282-2.585-.06-.439-.28-.827-.494-1.203l-.063-.113c.544.08 1.289.37 1.858 1.021Zm.043 7.078c-.005.684-.172 2.785-1.89 3.523.433-.89.418-1.78.4-2.047a5.65 5.65 0 0 0 1.238-3.063c.132.326.257.87.252 1.587Zm-3.706 4.648a4.178 4.178 0 0 1-1.16.354 6.81 6.81 0 0 1-1.352.064c.195-.306.35-.644.47-1.007.075.014.148.02.22.02.05 0 .099-.008.147-.015.26.103.51.157.753.157.238 0 .468-.05.687-.15.785-.357 1.173-1.249 1.277-1.527.234-.155.453-.329.658-.518-.04.476-.185 1.169-.644 1.772l-.002.004-.004.005c-.002.002-.005.003-.006.006-.27.35-.62.63-1.044.835Zm-9.931 1.36c-1.228-.435-1.564-1.09-1.948-1.849-.163-.32-.332-.649-.572-.967h.002c.37 0 .755-.033 1.148-.092.112.104.244.273.37.603.204.546.74 1.41 2.068 1.48a2.029 2.029 0 0 1-1.068.825Zm-5.879-4.613c-.577-.577-1.004-1.346-1.234-2.224-.624-2.361.264-5.373 2.553-6.295-.141.344-.251.892.052 1.507a2.61 2.61 0 0 0-.8.822l-.007.014v.001l-.001.001c-.44.694-.698 1.637-.709 2.592v.002c-.032 1.953.946 3.335 2.5 3.566.272.433.738.845 1.455 1.285a6.322 6.322 0 0 1-1.024-.009 4.898 4.898 0 0 1-.897-.164 4.182 4.182 0 0 1-1.888-1.098ZM20.582 6.774c.869-.18 1.815.053 2.352.579.013.013.026.025.05.054.277.304.347.72.358 1.015.01.325.097.65.273 1.024l.004.006.001.003c.087.18.185.354.28.52.217.381.421.74.443 1.118.009.162-.015.319-.072.479-.068.188-.173.36-.31.513l-.002.002-.005.007a1.61 1.61 0 0 1-.843.491 2.287 2.287 0 0 1-.579.071 4.421 4.421 0 0 0-.55-1.685c.792-.595.726-1.702.562-2.244a.254.254 0 0 0-.487.146c.015.05.323 1.124-.348 1.667-.579-.794-1.244-.987-1.888-1.172a5.928 5.928 0 0 1-.846-.295c-.106-.677.034-1.25.416-1.665.285-.315.697-.534 1.191-.634Zm4.167 4.97c.024-.069.043-.136.059-.204.335.289.806.855.811 1.749-.07-.026-.142-.05-.215-.072a2.89 2.89 0 0 0-.887-1.022c.095-.142.175-.292.232-.452Zm.698 3.777v.004c.01 1.282-.423 2.501-1.221 3.431a4.88 4.88 0 0 1-1.06.923c-.356.23-.752.42-1.18.57.02-.116.023-.233.006-.352 1.692-1.46 2.565-2.963 2.591-4.468.022-1.295-.59-2.235-.962-2.686.205-.091.395-.213.56-.363.325.207.606.535.82.961.282.55.439 1.25.445 1.975v.005h.001ZM8.3 12.525c.174.24.51.641.989.97-.153.11-.316.27-.452.497a2.66 2.66 0 0 0-.158-.216l-.006-.007c-.002-.003-.003-.007-.006-.01l-.006-.004a4.002 4.002 0 0 0-.848-.774 1.96 1.96 0 0 1 .487-.456Zm14.788.58c.256.275 1.013 1.198.988 2.522-.026 1.307-.786 2.633-2.258 3.947a5.585 5.585 0 0 0-.194-.34l-.03-.052c3.083-2.794.926-5.536.903-5.563l-.006-.005c.031-.15.05-.299.058-.45.184 0 .363-.023.54-.059Zm-1.707 5.583a.92.92 0 0 1 .04-.496c.241-.61.256-1.255.044-1.918a.988.988 0 0 1 .111-.863l.125-.183c.204-.296.428-.622.594-1.002.403.69 1.128 2.515-.914 4.462Zm-2.631-3.524a1.23 1.23 0 0 1-.42-.14c.03-.26.125-.783.408-1.344h.004c.175.041.318.106.417.187-.07.462-.215 1.046-.41 1.297Zm-3.134-5.422c.169.045.307.126.393.179-.088.269-.271.665-.324.796a.764.764 0 0 1-.342-.235h-.001c.032-.166.135-.436.274-.74Zm1.167 11.29c-.04-.008-.08-.017-.118-.028h-.002l-.002-.001c-1.63-.447-1.352-2.114-1.28-2.445a.981.981 0 0 1 .709-.732c.249-.067.452-.196.648-.321.352-.226.63-.403 1.137-.249.305.095.582.301.803.597.053.072.11.145.168.22.389.5.79 1.018.555 1.699a1.456 1.456 0 0 1-.447.637l-.005.006a1.699 1.699 0 0 1-.643.33c-.188.05-.378.116-.564.194-.309.131-.65.164-.959.094Zm-2.714.153c-.034.075-.08.121-.114.129-.116.03-.341.014-.447-.09-.002-.003-.003-.014.007-.047.049-.16.162-.528.338-.528h.01c.06.007.23.027.278.112.02.035.054.147-.072.424Zm-1.781-3.468c-.105-.028-.415-.162-1.023-.806-.144-.184-.19-.357-.132-.49a.332.332 0 0 1 .306-.187c.084 0 .218.03.323.197.452.75.533 1.149.526 1.286Zm-3.835-3.381c.059.095.107.192.144.288-.109.509-.067 1.127.127 1.83.028.135.04.262.046.379-.349-.1-.702-.306-1.055-.618.102-.954.492-1.575.738-1.88Zm-.918-.928c.16.11.388.285.6.515-.246.28-.68.889-.866 1.84a4.575 4.575 0 0 1-.241-.309c.019-.735.204-1.476.507-2.046Zm-.26 3.096c.481.45.977.735 1.476.849l-.01.123c-.033.335-.063.68.025 1.043-1.035-.297-1.539-1.221-1.69-2.214.062.065.127.132.198.199Zm8.51 5.652c.157-.177.31-.235.47-.295.115-.043.245-.093.36-.19.217.221.59.5 1.132.6-.744.54-1.579.503-1.963.448a3.39 3.39 0 0 0 .001-.563Zm2.45-.36a1.69 1.69 0 0 1-.938-.229c.218-.02.436-.072.643-.159.164-.07.331-.127.497-.171a2.25 2.25 0 0 0 .184-.06c-.112.232-.24.439-.386.62Zm3.514-.742a6.56 6.56 0 0 0 .961-.352c-.166.241-.392.485-.685.618a1.138 1.138 0 0 1-.543.1c.097-.101.186-.223.267-.366ZM18.436 8.756a3.85 3.85 0 0 1-.711-.68l-.04-.047c-.017-.794-.47-1.446-.846-1.85.843.022 1.83.225 2.08 1.004-.267.331-.509.841-.483 1.573Zm-2.315-2.559c.18.148.667.588.913 1.182-.809-.668-1.546-.785-2.09-.727a11.247 11.247 0 0 0-.182-.24c.3-.079.784-.173 1.359-.215ZM12.33 8.69a1.073 1.073 0 0 0-.484-.453c-.017-.666.196-1.125.358-1.373.04.054.08.11.114.168.161.27.36.546.578.807a4.144 4.144 0 0 0-.565.851Zm-.992-.586c-.433-.044-.912.052-1.312.223.317-1.436 1.338-1.874 1.662-1.977.056.04.112.083.165.13-.198.272-.5.818-.515 1.624Zm-1.695-.3c-.176-.752-.136-1.35.128-1.644.14-.155.347-.233.622-.233a2.315 2.315 0 0 1 .714.128 3.07 3.07 0 0 0-1.464 1.75Zm-.014 1.44c.018-.041.07-.127.218-.239.306-.23.826-.407 1.28-.407.142 0 .276.017.397.055.225.07.363.21.422.441.047.147.11.3.194.47l.003.006.001.003.005.012c.085.171.18.341.277.512.369.654.716 1.27.47 2.056-.191.62-.723 1.115-1.388 1.292a2.166 2.166 0 0 1-1.582-.16c-.834-.41-1.323-1.215-1.334-1.232-.367-.562-.254-1.058-.094-1.375.062-.125.173-.242.336-.357.468-.325.781-1.046.795-1.077ZM8.702 20.76c.197.043.398.079.604.1.395.379.61.797.834 1.24.314.618.638 1.253 1.458 1.74a3.259 3.259 0 0 1-1.976-.798 2.67 2.67 0 0 1-.92-2.282Zm6.995 2.46c.132.019.306.036.51.036.653 0 1.6-.178 2.349-1.044l.002-.003.002-.002c.267-.31.488-.688.66-1.126.184.172.44.38.73.524-.152.463-.37.88-.659 1.234-.421.527-.997.938-1.71 1.22l-.021.008c-.954.376-1.95.448-2.557.448.337-.378.572-.816.694-1.295Zm3.9.042a7.41 7.41 0 0 0 1.338.004c-.59 1.02-1.757 1.053-2.508.95.457-.26.849-.58 1.17-.954Zm3.683-17.66c.417.178.777.537.655.864-.232-.024-.555-.006-.784.2a.71.71 0 0 0-.102.122c-.54-.404-1.276-.61-2.025-.575.711-.925 1.72-.841 2.256-.611Zm-3.591-.158c.314.247.503.547.565.895-.356.099-.677.248-.943.454-.408-.82-1.497-1.213-3.126-1.11-.697.042-1.395.177-1.77.304-.202-.24-.414-.472-.628-.688.3-.183.751-.343 1.288-.452 1.52-.31 3.593-.203 4.613.597Zm-5.75-2.217c.585-.694 1.502-.806 2.37-.322-.51.278-1.32.812-1.502 1.48-.458.104-1.004.276-1.4.553-.07-.064-.14-.129-.211-.191l-.003-.003c.084-.3.313-1.001.746-1.517ZM8.357 8.431c-.556-1.182-1.081-2.298.071-3.555.271-.294.603-.506.96-.611a3.428 3.428 0 0 1 1.633-.06c.603.118 1.183.399 1.723.834l.022.016a.822.822 0 0 1 .097.076c.123.106.244.215.359.324a11.353 11.353 0 0 1 1.178 1.32 3.29 3.29 0 0 0-1.147.695 5.785 5.785 0 0 1-.497-.7 2.74 2.74 0 0 0-.372-.485l-.001-.001a2.516 2.516 0 0 0-.511-.423h-.002a2.641 2.641 0 0 0-.735-.329c-.982-.271-1.489.007-1.74.288-.487.542-.48 1.596.003 2.902a.994.994 0 0 0-.235.322 3.11 3.11 0 0 1-.326.559c-.116-.395-.3-.788-.48-1.172Zm-4.033 2.938c.725-.955 1.998-1.581 3.205-1.147-2.154 1.026-3.045 3.638-2.753 5.95-1.599-1.845-1.286-3.701-.452-4.803Zm-.322 8.536c-.212-.335-.181-.725-.115-.998.784.626 1.81.692 2.298.692.015.39.05.768.106 1.129-1.185-.04-1.973-.323-2.29-.823Zm2.841 1.039-.002-.01a8.802 8.802 0 0 1-.135-1.108c.442.354.945.622 1.501.803-.118 1.08.255 2.066 1.08 2.794a3.73 3.73 0 0 0 2.434.937c.305 0 .606-.042.893-.128l.004-.002h.002a2.541 2.541 0 0 0 1.582-1.353c.264-.028.546-.08.841-.162a1.14 1.14 0 0 0 .235-.098c-.006.089-.011.177-.026.266-.109.65-.46 1.224-1.02 1.661-.47.374-1.07.635-1.736.756-2.247.41-4.972-.78-5.653-4.356Zm6.733 4.835a7.66 7.66 0 0 0-.258-.172c.401-.14.77-.33 1.093-.564.675.36 1.34.636 1.984.825-1.604.745-2.222.324-2.82-.09Zm3.586-.244a8.481 8.481 0 0 1-1.65-.525 7.436 7.436 0 0 0 2.152-.44c.352.107.802.19 1.282.19.994 0 2.091-.356 2.591-1.575.295-.056.57-.131.824-.227a1.67 1.67 0 0 1-.082.455c-.155.499-.517.987-1.02 1.375-.604.469-1.938 1.19-4.097.747Zm6.498.957c-.141.343-.393.516-.766.525.03-.684-.16-1.683-.991-2.117.358-.345.632-.74.794-1.15.082.005.164.012.246.012.066 0 .132-.004.198-.007.44.427.863 1.901.519 2.737Zm3.772-6.571c-.798 1.978-2.37 3.22-4.211 3.324a4.18 4.18 0 0 1-.382.006c.032-.18.039-.356.021-.527.391-.213.726-.488.996-.82 2.178-.48 2.983-2.72 2.81-4.754-.063-.732-.287-1.57-.717-1.81a5.19 5.19 0 0 0-.262-1.472l.06.025c.425.197.798.466 1.106.798 1.138 1.225 1.365 3.278.579 5.23Z" fill={color} /> - + ); export default SpagettiPlate; diff --git a/expo/src/components/illustrations/drinksAndFood/SpiritsBottle.js b/expo/src/components/illustrations/drinksAndFood/SpiritsBottle.js index eb1562dc5..b94b38c7a 100644 --- a/expo/src/components/illustrations/drinksAndFood/SpiritsBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/SpiritsBottle.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SpiritsBottle = ({ size, ...props }) => ( - + ( - + ); export default SpiritsBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/WineBottle.js b/expo/src/components/illustrations/drinksAndFood/WineBottle.js index 49ef7c100..268932edd 100644 --- a/expo/src/components/illustrations/drinksAndFood/WineBottle.js +++ b/expo/src/components/illustrations/drinksAndFood/WineBottle.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const WineBottle = ({ size, ...props }) => ( - + ( d="M9.439.01 12.363 0l.117.01c.482.125.515.21.558.648.06 4.61.111 9.208.16 13.809l.015 1.377a7.3 7.3 0 0 1 .217.088c2.688 1.132 5.21 3.418 5.223 6.377-.099 10.528.19 21.214.104 31.666-.01.832-.223 1.68-.794 2.252-.32.32-.724.55-1.159.68a.718.718 0 0 1-.338.117H2.41a.692.692 0 0 1-.33-.12c-1.057-.34-1.888-1.362-1.953-2.6-.292-5.561.007-11.333.03-17.117l.035-8.048c.01-2.277.054-4.558.032-6.83.013-2.857 2.64-5.34 5.415-6.456l.025-.008c.052-4.98.108-9.952.172-14.927l.003-.26c.054-.536.178-.616.675-.658L9.44.01ZM7.02 14.889l-.015 1.423s-.195.517-.805.755c-2.242.888-4.349 2.58-4.614 4.998-.052.484-.02 1.004-.022 1.511-.048 10.126-.182 20.21-.098 30.386.01.817.468 1.665 1.324 1.729h13.283c.853-.05 1.332-.948 1.34-1.911.06-10.507-.058-20.993-.106-31.48-.037-2.39-2.483-4.465-4.992-5.37 0 0-.407-.254-.442-.618l-.016-1.419-4.837-.004Zm8.115 34.657H3.77a.7.7 0 0 1-.674-.666V28.78a.7.7 0 0 1 .674-.666h11.364l.07.003c.335.052.585.321.603.663V48.88a.7.7 0 0 1-.673.666Zm-.673-20.1H4.444v18.768h10.018V29.445ZM10.59 44.742c.658.036.943 1.283 0 1.333-1.105.019-2.774.46-2.853-.619-.026-.355.275-.694.647-.714.735-.012 1.47-.012 2.206 0Zm1.86-1.332H6.523c-.645-.019-.64-.267-.67-.607-.034-.367.28-.714.67-.725 1.988 0 3.978-.057 5.966 0 .518.046.521.23.598.453.134.396-.182.866-.639.88ZM8.81 33.207c-.004-.552.004-1.104.004-1.655a.69.69 0 0 1 .696-.666c.74.04.688 1.193.659 2.275.294-.132.62-.205.961-.203 1.754.032 3.021 2.527 1.553 3.914-.319.3-.728.465-1.161.51.332.79.271 1.736-.454 2.42-1.33 1.257-4.233.126-3.841-2.044.029-.156.074-.307.134-.451-1.063-.28-1.98-1.198-1.75-2.48.19-1.05 1.152-1.877 2.289-1.869.323.006.631.097.91.249Zm.662 4.014c-.816.015-1.337 1.392-.355 1.802.625.262 1.461-.352 1.292-1.077a.955.955 0 0 0-.937-.725Zm-.663-2.116a.958.958 0 0 0-.952-.815c-.817.015-1.337 1.392-.356 1.802.537.226 1.23-.195 1.307-.778a2.167 2.167 0 0 1 .001-.209Zm2.279-.815c-.817.015-1.337 1.392-.356 1.802.689.289 1.634-.525 1.203-1.31a.947.947 0 0 0-.847-.492Zm1.13-16.478c1.816.791 3.57 2.065 4.003 3.989.017.074.03.15.039.225l-1.34.143c-.18-1.397-1.765-2.506-3.319-3.17l.533-1.224.084.037ZM7.121 5.829c-.031 2.576-.06 5.151-.087 7.727l4.809.005c-.027-2.577-.056-5.153-.087-7.728L7.121 5.83Zm4.58-4.48L9.44 1.342l-2.263.007-.04 3.148 4.605.004-.035-2.796-.005-.356Z" fill="#DE285E" /> - + ); export default WineBottle; diff --git a/expo/src/components/illustrations/drinksAndFood/WineGlass.js b/expo/src/components/illustrations/drinksAndFood/WineGlass.js index 64059856b..333870593 100644 --- a/expo/src/components/illustrations/drinksAndFood/WineGlass.js +++ b/expo/src/components/illustrations/drinksAndFood/WineGlass.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const WineGlass = ({ size, ...props }) => ( - + ( d="M14.1148 12.7705C14.2915 12.7705 14.4647 12.6991 14.59 12.5741C14.715 12.4486 14.7869 12.2758 14.7869 12.0983C14.7869 11.9214 14.715 11.7481 14.59 11.6231C14.4647 11.4981 14.2915 11.4262 14.1148 11.4262C13.9378 11.4262 13.7645 11.4981 13.6395 11.6231C13.5146 11.7481 13.4426 11.9214 13.4426 12.0983C13.4426 12.2758 13.5146 12.4486 13.6395 12.5741C13.7645 12.6991 13.9378 12.7705 14.1148 12.7705Z" fill="#de285e" /> - + ); export default WineGlass; diff --git a/expo/src/components/illustrations/smiley/AngrySmiley.js b/expo/src/components/illustrations/smiley/AngrySmiley.js index 6a1627bbb..bb35cff67 100644 --- a/expo/src/components/illustrations/smiley/AngrySmiley.js +++ b/expo/src/components/illustrations/smiley/AngrySmiley.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const AngrySmiley = ({ color = "#000", size, ...props }) => ( - + - + ); export default AngrySmiley; diff --git a/expo/src/components/illustrations/smiley/IllSmiley.js b/expo/src/components/illustrations/smiley/IllSmiley.js index 6b7531dd0..ff493f0c9 100644 --- a/expo/src/components/illustrations/smiley/IllSmiley.js +++ b/expo/src/components/illustrations/smiley/IllSmiley.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const IllSmiley = ({ color = "#000", size, ...props }) => ( - + - + ); export default IllSmiley; diff --git a/expo/src/components/illustrations/smiley/NoReassuredSmiley.js b/expo/src/components/illustrations/smiley/NoReassuredSmiley.js index 563882712..a6ef5bcb0 100644 --- a/expo/src/components/illustrations/smiley/NoReassuredSmiley.js +++ b/expo/src/components/illustrations/smiley/NoReassuredSmiley.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const NoReassuredSmiley = ({ color = "#000", size, ...props }) => ( - + - + ); export default NoReassuredSmiley; diff --git a/expo/src/components/illustrations/smiley/NoSmiley.js b/expo/src/components/illustrations/smiley/NoSmiley.js index 5b35c8f21..783ee61dd 100644 --- a/expo/src/components/illustrations/smiley/NoSmiley.js +++ b/expo/src/components/illustrations/smiley/NoSmiley.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, Mask } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const NoSmiley = ({ color = "#000", size, ...props }) => ( - + @@ -25,7 +23,7 @@ const NoSmiley = ({ color = "#000", size, ...props }) => ( d="M31.608 22.304a2.304 2.304 0 1 1-4.609 0 2.304 2.304 0 0 1 4.609 0ZM44.608 22.304a2.304 2.304 0 1 1-4.609 0 2.304 2.304 0 0 1 4.609 0Z" fill={color} /> - + ); export default NoSmiley; diff --git a/expo/src/components/illustrations/smiley/PleasureSmiley.js b/expo/src/components/illustrations/smiley/PleasureSmiley.js index 853751fb9..1fa2bf268 100644 --- a/expo/src/components/illustrations/smiley/PleasureSmiley.js +++ b/expo/src/components/illustrations/smiley/PleasureSmiley.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const PleasureSmiley = ({ color = "#000", size, ...props }) => ( - + - + ); export default PleasureSmiley; diff --git a/expo/src/components/illustrations/smiley/SadSmiley.js b/expo/src/components/illustrations/smiley/SadSmiley.js index a6716309f..60d386a28 100644 --- a/expo/src/components/illustrations/smiley/SadSmiley.js +++ b/expo/src/components/illustrations/smiley/SadSmiley.js @@ -2,15 +2,13 @@ import React from "react"; import Svg, { Path } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const SadSmiley = ({ color = "#000", size, ...props }) => ( - + - + ); export default SadSmiley; diff --git a/expo/src/components/illustrations/smiley/YesSmiley.js b/expo/src/components/illustrations/smiley/YesSmiley.js index fe772f5e9..f873af57f 100644 --- a/expo/src/components/illustrations/smiley/YesSmiley.js +++ b/expo/src/components/illustrations/smiley/YesSmiley.js @@ -2,10 +2,8 @@ import React from "react"; import Svg, { Path, Mask } from "react-native-svg"; import styled from "styled-components"; -const StyledSvg = styled(Svg)``; - const YesSmiley = ({ color = "#000", size, ...props }) => ( - + ( strokeWidth={2} mask="url(#a)" /> - + ); export default YesSmiley; diff --git a/expo/src/components/quizz/Question.js b/expo/src/components/quizz/Question.js index 916c3e5de..dc62a7c91 100644 --- a/expo/src/components/quizz/Question.js +++ b/expo/src/components/quizz/Question.js @@ -1,10 +1,9 @@ import React from "react"; -import styled, { css } from "styled-components"; +import { ScrollView, TouchableOpacity } from "react-native"; import H2 from "../H2"; -import { screenWidth } from "../../styles/theme"; import WrapperContainer from "../WrapperContainer"; -const Question = ({ +export default function Question({ questionIndex, numberOfQuestions, questionKey, @@ -13,16 +12,16 @@ const Question = ({ answers, saveAnswer, navigation, -}) => { +}) { return ( - +

Question {questionIndex + 1} / {numberOfQuestions} - - {questionTitle} - +

+

{questionTitle}

+ {answers.map(({ answerKey, content, score }, i) => ( - { saveAnswer(questionIndex, questionKey, answerKey, score); @@ -35,59 +34,22 @@ const Question = ({ } }, 500); }} - selected={answerKey === selectedAnswerKey} - last={i === answers.length - 1}> - {content} - + className={[ + "w-full py-2 px-4 rounded-lg mb-2.5 border", + answerKey === selectedAnswerKey ? "bg-[#5352a3] border-[#4030a5]" : "bg-[#f3f3f6] border-[#dbdbe9]", + i === answers.length - 1 ? "mb-14" : "", + ].join(" ")} + > +

+ {content} +

+ ))} - +
); -}; - -const AnswersContainer = styled.ScrollView` - background-color: #f9f9f9; - flex-shrink: 1; - flex-grow: 0; - padding-right: 10px; - border: 1px solid transparent; -`; - -const AnswerButton = styled.TouchableOpacity` - width: 100%; - /* min-height: 50px; */ - padding-vertical: 8px; - background-color: ${({ selected }) => (selected ? "#5352a3" : "#f3f3f6")}; - border-color: ${({ selected }) => (selected ? "#4030a5" : "#dbdbe9")}; - border-width: 1px; - border-radius: 7px; - padding-left: 15px; - justify-content: center; - margin-bottom: ${({ last }) => (last ? 50 : 10)}px; -`; - -const AnswerContent = styled(H2)` - font-weight: 500; - color: ${({ selected }) => (selected ? "#f9f9f9" : "#191919")}; -`; - -/* -QUESTION -*/ - -const commonCss = css` - margin-bottom: 15px; - flex-shrink: 0; -`; - -const QuestionNumber = styled(H2)` - ${commonCss} -`; - -const QuestionTitle = styled(H2)` - color: #4030a5; - ${commonCss} - margin-bottom: ${Math.min(30, screenWidth * 0.05)}px; -`; - -export default Question; +} diff --git a/expo/src/components/userSurvey/Question.js b/expo/src/components/userSurvey/Question.js index 8050719cb..4a984bd32 100644 --- a/expo/src/components/userSurvey/Question.js +++ b/expo/src/components/userSurvey/Question.js @@ -1,17 +1,15 @@ import React from "react"; -import styled, { css } from "styled-components"; +import { View, ScrollView, TouchableOpacity } from "react-native"; import H2 from "../H2"; -import { defaultPaddingFontScale, screenWidth } from "../../styles/theme"; import WrapperContainer from "../WrapperContainer"; import { useSetRecoilState } from "recoil"; import { showBootSplashState } from "../CustomBootsplash"; import BackButton from "../BackButton"; -import { TouchableOpacity } from "react-native"; import ProgressBar from "../ProgressBar"; import CloseButton from "../CloseButton"; import { logEvent } from "../../services/logEventsWithMatomo"; -const Question = ({ +export default function Question({ questionIndex, numberOfQuestions, questionKey, @@ -23,13 +21,22 @@ const Question = ({ from, progress, event, -}) => { +}) { const setShowBootsplash = useSetRecoilState(showBootSplashState); + const handleClose = () => { + logEvent({ + category: `QUIZZ${event}`, + action: "QUIZZ_CLOSE_BUTTON", + name: questionKey, + }); + navigation.navigate("TABS"); + }; + return ( <> {questionIndex > 0 ? ( - + { navigation.goBack(); @@ -42,42 +49,28 @@ const Question = ({ marginLeft marginTop /> - { - logEvent({ - category: `QUIZZ${event}`, - action: "QUIZZ_CLOSE_BUTTON", - name: questionKey, - }); - navigation.navigate("TABS"); - }}> + - + ) : ( - - { - logEvent({ - category: `QUIZZ${event}`, - action: "QUIZZ_CLOSE_BUTTON", - name: questionKey, - }); - navigation.navigate("TABS"); - }}> + + - + )} - +

Question {questionIndex + 1} / {numberOfQuestions} - - 100}>{questionTitle} - +

+

100 ? "text-[18px]" : ""].join(" ")}> + {questionTitle} +

+ {answers.map(({ answerKey, content, score }, i) => ( - { saveAnswer(questionIndex, questionKey, answerKey, score); @@ -96,76 +89,23 @@ const Question = ({ } }, 500); }} - selected={answerKey === selectedAnswerKey} - last={i === answers.length - 1}> - {content} - + className={[ + "w-full py-2 px-4 rounded-lg mb-2.5 border", + answerKey === selectedAnswerKey ? "bg-[#5352a3] border-[#4030a5]" : "bg-[#f3f3f6] border-[#dbdbe9]", + i === answers.length - 1 ? "mb-[50px]" : "", + ].join(" ")} + > +

+ {content} +

+ ))} - +
); -}; - -const AnswersContainer = styled.ScrollView` - background-color: #f9f9f9; - flex-shrink: 1; - flex-grow: 0; - padding-right: 10px; - border: 1px solid transparent; -`; - -const AnswerButton = styled.TouchableOpacity` - width: 100%; - /* min-height: 50px; */ - padding-vertical: 8px; - background-color: ${({ selected }) => (selected ? "#5352a3" : "#f3f3f6")}; - border-color: ${({ selected }) => (selected ? "#4030a5" : "#dbdbe9")}; - border-width: 1px; - border-radius: 7px; - padding-left: 15px; - justify-content: center; - margin-bottom: ${({ last }) => (last ? 50 : 10)}px; -`; - -const AnswerContent = styled(H2)` - font-weight: 500; - color: ${({ selected }) => (selected ? "#f9f9f9" : "#191919")}; -`; - -/* -QUESTION -*/ - -const commonCss = css` - margin-bottom: 15px; - flex-shrink: 0; -`; - -const QuestionNumber = styled(H2)` - ${commonCss} -`; - -const QuestionTitle = styled(H2)` - color: #4030a5; - ${commonCss} - ${({ reduceSize }) => reduceSize && "font-size: 18px;"} - margin-bottom: ${Math.min(30, screenWidth * 0.05)}px; -`; - -export default Question; - -const HeaderContainer = styled.View` - flex-direction: row; - justify-content: space-between; - align-items: flex-end; - margin-right: ${defaultPaddingFontScale()}px; -`; - -const CloseOnlyContainer = styled.View` - flex-direction: row; - justify-content: flex-end; - align-items: flex-end; - padding-top: 20px; - margin-right: ${defaultPaddingFontScale()}px; -`; +} diff --git a/expo/src/components/userSurvey/QuestionMultipleChoice.js b/expo/src/components/userSurvey/QuestionMultipleChoice.js index 8513ef5cc..a401c1363 100644 --- a/expo/src/components/userSurvey/QuestionMultipleChoice.js +++ b/expo/src/components/userSurvey/QuestionMultipleChoice.js @@ -1,19 +1,17 @@ import React from "react"; -import styled, { css } from "styled-components"; +import { View, ScrollView, TouchableOpacity } from "react-native"; import H2 from "../H2"; import H3 from "../H3"; -import { defaultPaddingFontScale, screenWidth } from "../../styles/theme"; import WrapperContainer from "../WrapperContainer"; import ButtonPrimary from "../ButtonPrimary"; import { showBootSplashState } from "../CustomBootsplash"; import { useSetRecoilState } from "recoil"; -import { TouchableOpacity } from "react-native"; import BackButton from "../BackButton"; import ProgressBar from "../ProgressBar"; import CloseButton from "../CloseButton"; import { logEvent } from "../../services/logEventsWithMatomo"; -const QuestionMultipleChoice = ({ +export default function QuestionMultipleChoice({ questionIndex, numberOfQuestions, questionKey, @@ -26,13 +24,22 @@ const QuestionMultipleChoice = ({ from, progress, event, -}) => { +}) { const setShowBootsplash = useSetRecoilState(showBootSplashState); + const handleClose = () => { + logEvent({ + category: `QUIZZ${event}`, + action: "QUIZZ_CLOSE_BUTTON", + name: questionKey, + }); + navigation.navigate("TABS"); + }; + return ( <> {questionIndex > 0 ? ( - + { navigation.goBack(); @@ -45,45 +52,31 @@ const QuestionMultipleChoice = ({ marginLeft marginTop /> - { - logEvent({ - category: `QUIZZ${event}`, - action: "QUIZZ_CLOSE_BUTTON", - name: questionKey, - }); - navigation.navigate("TABS"); - }}> + - + ) : ( - - { - logEvent({ - category: `QUIZZ${event}`, - action: "QUIZZ_CLOSE_BUTTON", - name: questionKey, - }); - navigation.navigate("TABS"); - }}> + + - + )} - +

Question {questionIndex + 1} / {numberOfQuestions} - - 100}>{questionTitle} - (plusieurs choix autorisés) - +

+

100 ? "text-[18px]" : ""].join(" ")}> + {questionTitle} +

+

(plusieurs choix autorisés)

+ {answers.map(({ answerKey, content, score }, i) => ( - { + onPress={() => { saveMultipleAnswer( questionIndex, questionKey, @@ -95,22 +88,29 @@ const QuestionMultipleChoice = ({ score ); }} - selected={selectedAnswerKey?.includes(answerKey)} - last={i === answers.length - 1}> - + className={[ + "w-full py-2 px-4 rounded-lg mb-2.5 border", + selectedAnswerKey?.includes(answerKey) + ? "bg-[#5352a3] border-[#4030a5]" + : "bg-[#f3f3f6] border-[#dbdbe9]", + i === answers.length - 1 ? "mb-[50px]" : "", + ].join(" ")} + > +

{content} - - +

+ ))} { setTimeout(async () => { - logMultipleAnswer( - questionIndex, - questionKey, - getAnswerScores(selectedAnswerKey, answers) - ); + logMultipleAnswer(questionIndex, questionKey, getAnswerScores(selectedAnswerKey, answers)); const endOfQuestions = questionIndex === numberOfQuestions - 1; if (!endOfQuestions) { navigation.push(`QUIZZ_QUESTION_${questionIndex + 1 + 1}`); @@ -128,89 +128,12 @@ const QuestionMultipleChoice = ({ content="Suivant" disabled={!selectedAnswerKey || selectedAnswerKey.length === 0} /> - +
); -}; - -const getAnswerScores = (selectedAnswerKey, answers) => { - const answerScores = []; - - for (let i = 0; i < selectedAnswerKey.length; i++) { - const answerKey = selectedAnswerKey[i]; - const answer = answers.find((a) => a.answerKey === answerKey); - const score = answer.score; - answerScores.push(score); - } - - return answerScores; -}; - -const AnswersContainer = styled.ScrollView` - background-color: #f9f9f9; - flex-shrink: 1; - flex-grow: 0; - padding-right: 10px; - border: 1px solid transparent; -`; - -const AnswerButton = styled.TouchableOpacity` - width: 100%; - /* min-height: 50px; */ - padding-vertical: 8px; - background-color: ${({ selected }) => (selected ? "#5352a3" : "#f3f3f6")}; - border-color: ${({ selected }) => (selected ? "#4030a5" : "#dbdbe9")}; - border-width: 1px; - border-radius: 7px; - padding-left: 15px; - justify-content: center; - margin-bottom: ${({ last }) => (last ? 50 : 10)}px; -`; - -const AnswerContent = styled(H2)` - font-weight: 500; - color: ${({ selected }) => (selected ? "#f9f9f9" : "#191919")}; -`; - -/* -QUESTION -*/ - -const commonCss = css` - margin-bottom: 15px; - flex-shrink: 0; -`; - -const QuestionNumber = styled(H2)` - ${commonCss} -`; - -const QuestionTitle = styled(H2)` - color: #4030a5; - ${commonCss} - ${({ reduceSize }) => reduceSize && "font-size: 18px;"} - margin-bottom: ${Math.min(30, screenWidth * 0.05)}px; -`; -const QuestionSubtitle = styled(H3)` - ${commonCss} - font-style: italic; - margin-bottom: ${Math.min(30, screenWidth * 0.05)}px; -`; - -export default QuestionMultipleChoice; - -const HeaderContainer = styled.View` - flex-direction: row; - justify-content: space-between; - align-items: flex-end; - margin-right: ${defaultPaddingFontScale()}px; -`; +} -const CloseOnlyContainer = styled.View` - flex-direction: row; - justify-content: flex-end; - align-items: flex-end; - padding-top: 20px; - margin-right: ${defaultPaddingFontScale()}px; -`; +function getAnswerScores(selectedAnswerKey, answers) { + return selectedAnswerKey?.map((key) => answers.find((a) => a.answerKey === key)?.score).filter(Boolean) || []; +} diff --git a/expo/tailwind.config.js b/expo/tailwind.config.js index 4f2ad4e8e..256651f4c 100644 --- a/expo/tailwind.config.js +++ b/expo/tailwind.config.js @@ -2,7 +2,14 @@ module.exports = { content: ["./App.{js,jsx,ts,tsx}", "./src/**/*.{js,jsx,ts,tsx}"], theme: { - extend: {}, + extend: { + spacing: { + ...Object.fromEntries(Array.from({ length: 41 }, (_, i) => [i * 0.5, `${i * 0.5 * 4}px`])), + }, + lineHeight: { + ...Object.fromEntries(Array.from({ length: 41 }, (_, i) => [i * 0.5, `${i * 0.5 * 4}px`])), + }, + }, }, plugins: [], };