-
Notifications
You must be signed in to change notification settings - Fork 0
/
Home.py
89 lines (70 loc) · 3.12 KB
/
Home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import streamlit as st
from PIL import Image
from streamlit_extras.app_logo import add_logo
from functions.functions import add_text_sidebar
from streamlit_extras.colored_header import colored_header
from streamlit_card import card
########## Head ##########
st.set_page_config(
page_title="UreSens Labs",
page_icon="💊",
)
add_logo("https://i.ibb.co/kcSSdhP/logo2.png")
add_text_sidebar()
st.write('<style>div.block-container{padding-top:0rem;}</style>', unsafe_allow_html=True)
st.write("#")
colored_header(
label="WELCOME TO URESENS LABS",
description="",
color_name="red-70"
)
########## Body ##########
st.markdown("<h1 style='text-align: center;'>The next generation of kidney diagnostics</h1>", unsafe_allow_html=True)
st.image("./images/home1.gif", use_column_width=True)
st.markdown("<h1 style='text-align: center;'>🏃 Fast 🏃♀️</h1>", unsafe_allow_html=True)
st.markdown("<p style='text-align: center;'>Take an urine test and upload the results in less than 2 minutes. We'll do the rest for you.</p>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center;'>👌 Non-invasive 👌</h1>", unsafe_allow_html=True)
st.markdown("<p style='text-align: center;'>No needles nor blood involved. Because we care about your fears.</p>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center;'>🎯 Reliable 🎯</h1>", unsafe_allow_html=True)
st.markdown("<p style='text-align: center;'>We have developed an Artificial Intelligence model with 99% accuracy to diagnose early stages of Chronic Kidney Disease.</p>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center;'>✅ Easy to use ✅</h1>", unsafe_allow_html=True)
st.markdown("<p style='text-align: center;'>Computer, laptop or mobile phone. Finally, technology and health on the palm of your hand.</p>", unsafe_allow_html=True)
st.write("\n")
st.write("\n")
st.markdown('<center><img src="https://i.ibb.co/zZysCK2/home2.gif"></center>', unsafe_allow_html=True)
st.write("\n")
st.write("\n")
########## Cards ##########
st.markdown("<h1 style='text-align: center;'>Check out what can we offer for you</h1>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center;'>👇👇👇</h1>", unsafe_allow_html=True)
card(
title="What is CKD?",
text="Symptoms, causes and treatment",
image="https://i.ibb.co/kXHVk0J/CKD1.jpg",
url = "/Chronic_Kidney_Disease"
)
card(
title="Instructions",
text="How to use the urine strips?",
image="https://i.ibb.co/FVSTQR5/urinetest.jpg",
url="/How_to_take_a_urine_sample",
)
card(
title="Submit your results",
text="Take an urine test and upload here your results",
image="https://i.ibb.co/BwPc4QK/submitresults.jpg",
url="/Submit_your_results",
)
card(
title="Your results",
text="Check what UreSens says about you",
image="https://i.ibb.co/LrtVvjL/results.jpg",
url="/Your_medical_records",
)
card(
title="About UreSens",
text="Discover who's behind the app",
image="https://i.ibb.co/G9TQPn0/Carles.jpg",
url="/About",
)
st.markdown('<center><img src="https://i.ibb.co/kcSSdhP/logo2.png"></center>', unsafe_allow_html=True)