From 976486e46752897e70effd6f51a91cd26143f8e0 Mon Sep 17 00:00:00 2001 From: trutam <165965460+trutam@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:56:35 -0400 Subject: [PATCH 1/5] Added Dev Container Folder --- .devcontainer/devcontainer.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5cfe579 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "name": "Python 3", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", + "customizations": { + "codespaces": { + "openFiles": [ + "README.md", + "streamlit_app.py" + ] + }, + "vscode": { + "settings": {}, + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance" + ] + } + }, + "updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y Date: Tue, 9 Apr 2024 22:51:09 +0000 Subject: [PATCH 2/5] App for gender inequality built at HcakHerThom --- streamlit_app.py | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 3a8699f..00edb35 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,5 +1,49 @@ import streamlit as st +st.title("Hope4Her") +st.header("If you need help, choose from one of the options below:") +sexualAbuse = st.button("Sexual Abuse") +onlineAbuse = st.button("Online Abuse") +harassment = st.button("Harassment") +employment = st.button("Employment") +payRate = st.button("Pay Rate") +other = st.button("Other") +if sexualAbuse: + st.write("Ways to get help:") + st.write("Call 800-656-4673") + st.write("Talk to your friends and family and see if they can help") + st.write("Seek madical help") + st.write("Create an exit plan") +if onlineAbuse: + st.write("Ways to get help:") + st.write("Block/Report person") + st.write("Ignore the comments") + st.write("Seek help") +if employment: + st.write("Ways to get help:") + st.write("Talk to your lawyer/agent") + st.write("Talk to the person in charge of employment") +if harassment: + st.write("Ways to get help:") + st.write("Create distance from person") + st.write("Stand up for what is right") + st.write("Ignore") +if payRate: + st.write("Ways to get help:") + st.write("Talk to the boss") + st.write("Find out more about your true pay") + st.write("File a case at labor, commissioner office") +if other: + st.write("Try to talk to friends and family about the issue") + st.write("If it is necessary, call 911") + st.write("You can look at this [link]""(https://www.legalmomentum.org/get-help-form#:~:text=The%20Syms%20Legal%20Momentum%20Gender,gender%20discrimination%2C%20violence%20and%20harassment)") + +st.header("If you want to learn more abouut gender inequality, keep scrolling!") -st.title('🎈 App Name') +st.write("Gender inequality oftens happens in families, realationships, public places, and at work") +st.write("The #1 cause of gender inequality is uneven acesses to education") +st.write("The state of Maryland has the lowest rate of gender inequality in the USA") +st.write("Lousiana has the highest rate of gender inequality in the USA") +st.write("Kenya has the highest rate of gender inequality worldwide") +st.write("Yemen has the lowest rate of gender inequality worldwide") -st.write('Hello world!') +#www.statisa.com \ No newline at end of file From 46ef36795a4280de7e8b6ac601cf744fefa860d6 Mon Sep 17 00:00:00 2001 From: trutam <165965460+trutam@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:11:17 +0000 Subject: [PATCH 3/5] Added statement for app description --- .streamlit/config.toml | 2 +- .vscode/launch.json | 15 +++++++++++++++ streamlit_app.py | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.streamlit/config.toml b/.streamlit/config.toml index 25ed8ab..592e24a 100644 --- a/.streamlit/config.toml +++ b/.streamlit/config.toml @@ -3,4 +3,4 @@ primaryColor="#F63366" backgroundColor="#FFFFFF" secondaryBackgroundColor="#F0F2F6" textColor="#262730" -font="sans serif" +font="monospace" diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f3f8cfa --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.84.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/streamlit_app.py b/streamlit_app.py index 00edb35..f015463 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,5 +1,6 @@ import streamlit as st st.title("Hope4Her") +st.write("Your guide to be aware and get help on gender inequality related issues") st.header("If you need help, choose from one of the options below:") sexualAbuse = st.button("Sexual Abuse") onlineAbuse = st.button("Online Abuse") @@ -37,7 +38,7 @@ st.write("If it is necessary, call 911") st.write("You can look at this [link]""(https://www.legalmomentum.org/get-help-form#:~:text=The%20Syms%20Legal%20Momentum%20Gender,gender%20discrimination%2C%20violence%20and%20harassment)") -st.header("If you want to learn more abouut gender inequality, keep scrolling!") +st.header("If you want to learn more about gender inequality, keep scrolling!") st.write("Gender inequality oftens happens in families, realationships, public places, and at work") st.write("The #1 cause of gender inequality is uneven acesses to education") From 5093eb8419b3d2fa57a600b56a17462626c8e959 Mon Sep 17 00:00:00 2001 From: trutam <165965460+trutam@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:31:27 +0000 Subject: [PATCH 4/5] Header changes --- streamlit_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index f015463..4be557a 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,7 +1,7 @@ import streamlit as st st.title("Hope4Her") -st.write("Your guide to be aware and get help on gender inequality related issues") -st.header("If you need help, choose from one of the options below:") +st.header("Your guide to be aware and get help on gender inequality related issues") +st.write("If you need help, choose from one of the options below:") sexualAbuse = st.button("Sexual Abuse") onlineAbuse = st.button("Online Abuse") harassment = st.button("Harassment") From c25f89227d98f6bf561b323e73fc80ee239d8005 Mon Sep 17 00:00:00 2001 From: trutam <165965460+trutam@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:39:33 +0000 Subject: [PATCH 5/5] Edited the statement for button click --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 4be557a..a05452a 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,7 +1,7 @@ import streamlit as st st.title("Hope4Her") st.header("Your guide to be aware and get help on gender inequality related issues") -st.write("If you need help, choose from one of the options below:") +st.write("If you need help, click on the button and read the tips at the bottom:") sexualAbuse = st.button("Sexual Abuse") onlineAbuse = st.button("Online Abuse") harassment = st.button("Harassment")