Skip to content

Commit

Permalink
pages without tampons (#191)
Browse files Browse the repository at this point in the history
* pages without tampons

* tampon page
  • Loading branch information
fredh2006 authored Feb 25, 2025
1 parent 30e0ad9 commit 136b5db
Show file tree
Hide file tree
Showing 40 changed files with 893 additions and 118 deletions.
Binary file added tpp-app/assets/InfoPageImages/cloth1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/cloth2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/cloth3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/cloth4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/disc6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/menstrual-cup6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/pad1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/pad2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/pad3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/pad4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/tamponwith1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tpp-app/assets/InfoPageImages/tamponwith2.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith3.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith4.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith5.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith6.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith7.png
Binary file added tpp-app/assets/InfoPageImages/tamponwith8.png
Binary file added tpp-app/assets/InfoPageImages/tamponwithout1.png
Binary file added tpp-app/assets/InfoPageImages/tamponwithout2.png
153 changes: 132 additions & 21 deletions tpp-app/src/pages/ClothPadsInfo.js
Original file line number Diff line number Diff line change
@@ -1,54 +1,108 @@

import React from "react";
import { StyleSheet, Text, Image, ImageBackground, SafeAreaView } from "react-native";
import { StyleSheet, Text, Image, ImageBackground, SafeAreaView, View, ScrollView } from "react-native";
import ClothImage from "../../assets/InfoPageImages/cloth-pads-2x.png";
import ClothImage1 from "../../assets/InfoPageImages/cloth1.png";
import ClothImage2 from "../../assets/InfoPageImages/cloth2.png";
import ClothImage3 from "../../assets/InfoPageImages/cloth3.png";
import ClothImage4 from "../../assets/InfoPageImages/cloth4.png";
import { BackButton } from "../home/components/BackButtonComponent";
import OnboardingBackground from "../../assets/SplashScreenBackground/colourwatercolour.png";
import ErrorFallback from "../error/error-boundary";
import { BackButtonContainer } from "../onboarding/components/ContainerComponents";

export default function ClothPadInfo({ navigation }) {
return (
<ErrorFallback>
<ImageBackground source={OnboardingBackground} style={styles.container}>
<SafeAreaView pointer-events="box-only" style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<BackButtonContainer>
<BackButtonContainer style={styles.backButtonContainer}>
<BackButton title="" onPress={() => navigation.goBack()} />
</BackButtonContainer>
<Image source={ClothImage} style={styles.image} resizeMode="contain" />
<Text style={styles.titleText}>Cloth Pads</Text>

<Text style={styles.bodyText}>
Storytime: here comes your period - reusable cloth pads are a great period product option!
{"\n\n"}
Cloth pads originated as cloth rags dating back to the 10th century in Ancient Greece. Now they are made of
cotton, an absorbent, leak-proof material such as “Zorb,” Polyurethane Laminate (a plastic-like material for
the pad’s backing), or amazing bamboo or organic cotton. Most of them have snaps to secure the pad in place,
like a pad with wings.
{"\n\n"}
You need about five cloth pads to wash and use throughout your cycle. They are also a financial investment
(around $100 for 5), but cloth pads will last for 2-3 years, depending on personal usage and care.
</Text>
<ScrollView contentContainerStyle={styles.scrollContainer}>
<Image source={ClothImage} style={styles.image} resizeMode="contain" />
<Text style={styles.titleText}>Cloth Pads</Text>
<Text style={styles.bodyText}>
Storytime: here comes your period - reusable cloth pads are a great period product option!
{"\n\n"}
Cloth pads originated as cloth rags dating back to the 10th century in Ancient Greece. Now they are made of
cotton, an absorbent, leak-proof material such as “Zorb,” Polyurethane Laminate (a plastic-like material for
the pad’s backing), or amazing bamboo or organic cotton. Most of them have snaps to secure the pad in place,
like a pad with wings.
{"\n\n"}
You need about five cloth pads to wash and use throughout your cycle. They are also a financial investment
(around $100 for 5), but cloth pads will last for 2-3 years, depending on personal usage and care.
</Text>

<Text style={styles.titleText}>How to Use</Text>
<View style={styles.instructionContainer}>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>1</Text>
</View>
<Image source={ClothImage1} style={styles.doubleImageFirst} />
<Text style={styles.instructionsText}>
Put in underwear and snap into place
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>2</Text>
</View>
<Image source={ClothImage2} style={styles.instructionImage} />
<Text style={styles.instructionsText}>
Wear for 3-5 hours
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>3</Text>
</View>
<Image source={ClothImage3} style={styles.doubleImage} />
<Text style={styles.instructionsText}>
Hand wash OR machine wash
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>4</Text>
</View>
<Image source={ClothImage4} style={styles.instructionImage} />
<Text style={styles.lastInstructionsText}>
Hang to dry
</Text>
</View>
</View>
</ScrollView>
</SafeAreaView>
</ImageBackground>
</ErrorFallback>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "stretch",
},
scrollContainer: {
flexGrow: 1,
justifyContent: "center",
alignItems: "center",
paddingTop: "40%",
paddingBottom: "30%",
},
backButtonContainer: {
position: "absolute",
top: 40,
left: 20,
zIndex: 1,
},
image: {
width: "70%",
height: "17%",
marginBottom: "6%",
},
titleText: {
textAlign: "center",
fontFamily: "Avenir",
marginBottom: "3%",
marginBottom: "5%",
fontWeight: "800",
fontSize: 34,
lineHeight: 40,
Expand All @@ -61,5 +115,62 @@ const styles = StyleSheet.create({
letterSpacing: -0.3,
paddingLeft: "10%",
paddingRight: "10%",
paddingBottom: "10%"
},
instructionContainer: {
width: "90%",
marginBottom: 20,
},
instructionStep: {
flexDirection: "column",
alignItems: "center",
marginBottom: 20,
},
numberCircle: {
width: 40,
height: 40,
borderRadius: 20,
backgroundColor: "#72C6B7",
justifyContent: "center",
alignItems: "center",
marginBottom: "5%",
},
numberText: {
fontFamily: "Roboto",
fontSize: 18,
fontWeight: "bold",
color: "#FCFFFE",
},
doubleImage: {
width: 300,
height: 200,
marginBottom: "5%",
},
doubleImageFirst: {
width: 350,
height: 150,
marginBottom: "5%",
},
instructionImage: {
width: 350,
height: 250,
marginBottom: "5%",
},
instructionsText: {
fontFamily: "Avenir",
fontSize: 20,
lineHeight: 20,
letterSpacing: -0.3,
textAlign: "center",
paddingTop: "5%",
paddingBottom: "5%",
},
lastInstructionsText: {
fontFamily: "Avenir",
fontSize: 20,
lineHeight: 20,
letterSpacing: -0.3,
textAlign: "center",
paddingBottom: "15%"
},
});
167 changes: 146 additions & 21 deletions tpp-app/src/pages/MenstrualCupsInfo.js
Original file line number Diff line number Diff line change
@@ -1,53 +1,131 @@

import React from "react";
import { StyleSheet, Text, Image, ImageBackground, SafeAreaView } from "react-native";
import { StyleSheet, Text, Image, ImageBackground, SafeAreaView, View, ScrollView } from "react-native";
import CupImage from "../../assets/InfoPageImages/Cup-2x.png";
import CupImage1 from "../../assets/InfoPageImages/menstrual-cup1.png";
import CupImage2 from "../../assets/InfoPageImages/menstrual-cup2.png";
import CupImage3 from "../../assets/InfoPageImages/menstrual-cup3.png";
import CupImage4 from "../../assets/InfoPageImages/menstrual-cup4.png";
import CupImage5 from "../../assets/InfoPageImages/menstrual-cup5.png";
import CupImage6 from "../../assets/InfoPageImages/menstrual-cup6.png";
import { BackButton } from "../home/components/BackButtonComponent";
import OnboardingBackground from "../../assets/SplashScreenBackground/colourwatercolour.png";
import { BackButtonContainer } from "../onboarding/components/ContainerComponents";
import ErrorFallback from "../error/error-boundary";

export default function MenstrualCupInfo({ navigation }) {
return (
<ErrorFallback>
<ImageBackground source={OnboardingBackground} style={styles.container}>
<SafeAreaView pointer-events="box-only" style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<BackButtonContainer>
<BackButtonContainer style={styles.backButtonContainer}>
<BackButton title="" onPress={() => navigation.goBack()} />
</BackButtonContainer>
<Image source={CupImage} style={styles.image} resizeMode="contain" />
<Text style={styles.titleText}>Menstrual Cup</Text>

<Text style={styles.bodyText}>
Just popping in to let you know - the earliest versions of the menstrual cup were designed in 1932 and made
of natural rubber. Today, menstrual cups are typically made of silicone, which is flexible, durable and
anti-bacterial.
{"\n\n"}
Menstrual cups are cost effective and sustainable, with almost no waste created each cycle. A cup costs
about $40 CAD and can last at least two years.
{"\n\n"}A menstrual cup can be used for up to 12 hours, depending on your menstrual flow. It does take a few
uses to learn how often you want to “empty” your cup, and this can vary for each cycle and for every person.
</Text>
<ScrollView contentContainerStyle={styles.scrollContainer}>
<Image source={CupImage} style={styles.image} resizeMode="contain" />
<View style={styles.infoContainer}>
<Text style={styles.titleText}>Menstrual Cup</Text>
<Text style={styles.bodyText}>
Just popping in to let you know - the earliest versions of the menstrual cup were designed in 1932 and made
of natural rubber. Today, menstrual cups are typically made of silicone, which is flexible, durable and
anti-bacterial.
{"\n\n"}
Menstrual cups are cost effective and sustainable, with almost no waste created each cycle. A cup costs
about $40 CAD and can last at least two years.
{"\n\n"}A menstrual cup can be used for up to 12 hours, depending on your menstrual flow. It does take a few
uses to learn how often you want to “empty” your cup, and this can vary for each cycle and for every person.
</Text>
</View>
<Text style={styles.titleText}>How to Use</Text>
<View style={styles.instructionContainer}>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>1</Text>
</View>
<Image source={CupImage1} style={styles.doubleImage} />
<Text style={styles.instructionsText}>
Fold in half
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>2</Text>
</View>
<Image source={CupImage2} style={styles.doubleImage} />
<Text style={styles.instructionsText}>
Insert with your fingers
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>3</Text>
</View>
<Image source={CupImage3} style={styles.instructionImage} />
<Text style={styles.instructionsText}>
Wear up to 12 hours
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>4</Text>
</View>
<Image source={CupImage4} style={styles.instructionImage} />
<Text style={styles.instructionsText}>
Pinch cup to release suction
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>5</Text>
</View>
<Image source={CupImage5} style={styles.instructionImage} />
<Text style={styles.instructionsText}>
Empty cup
</Text>
</View>
<View style={styles.instructionStep}>
<View style={styles.numberCircle}>
<Text style={styles.numberText}>6</Text>
</View>
<Image source={CupImage6} style={styles.lastInstructionImage} />
<Text style={styles.instructionsText}>
Wash cup
</Text>
</View>
</View>
</ScrollView>
</SafeAreaView>
</ImageBackground>
</ErrorFallback>
);
}

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "stretch",
},
scrollContainer: {
flexGrow: 1,
justifyContent: "center",
alignItems: "center",
paddingTop: "40%",
paddingBottom: "70%",
},
backButtonContainer: {
position: "absolute",
top: 40,
left: 20,
zIndex: 1,
},
image: {
width: "26%",
width: "25%",
height: "23%",
marginBottom: "6%",
},
infoContainer: {
marginTop: "-35%"
},
titleText: {
textAlign: "center",
fontFamily: "Avenir",
marginBottom: "3%",
marginBottom: "5%",
fontWeight: "800",
fontSize: 34,
lineHeight: 40,
Expand All @@ -60,5 +138,52 @@ const styles = StyleSheet.create({
letterSpacing: -0.3,
paddingLeft: "10%",
paddingRight: "10%",
paddingBottom: "10%",
},
instructionContainer: {
width: "90%",
marginBottom: 20,
},
instructionStep: {
flexDirection: "column",
alignItems: "center",
marginBottom: 20,
},
numberCircle: {
width: 40,
height: 40,
borderRadius: 20,
backgroundColor: "#72C6B7",
justifyContent: "center",
alignItems: "center",
marginBottom: "5%",
},
numberText: {
fontFamily: "Roboto",
fontSize: 18,
fontWeight: "bold",
color: "#FCFFFE",
},
doubleImage: {
width: 350,
height: 220,
marginBottom: "5%",
},
instructionImage: {
width: 250,
height: 200,
},
lastInstructionImage: {
height: 200,
width: 200,
},
instructionsText: {
fontFamily: "Avenir",
fontSize: 20,
lineHeight: 20,
letterSpacing: -0.3,
textAlign: "center",
paddingTop: "7%",
paddingBottom: "5%",
},
});
Loading

0 comments on commit 136b5db

Please sign in to comment.