Skip to content

Commit 9a10010

Browse files
committed
Add Credits
1 parent eab7507 commit 9a10010

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

gateman.py

+22-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,27 @@ def main():
8787

8888
if st.button("Submit: "):
8989
deleteData(userName,userOTP)
90-
90+
def hideFooter():
91+
with Image.open("favicon.ico") as icon:
92+
st.set_page_config(page_title="ApploGen(beta)",page_icon=icon)
93+
hide_streamlit_style = """
94+
<style>
95+
#MainMenu {visibility: hidden;}
96+
footer {
97+
visibility: hidden;
98+
}
99+
footer:after {
100+
content:'Made With ❤️ By MrTechnoStart';
101+
visibility: visible;
102+
display: block;
103+
position: relative;
104+
#background-color: red;
105+
padding: 5px;
106+
top: 2px;
107+
}
108+
</style>
109+
"""
110+
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
111+
hideFooter()
91112

92113
main()

users.py

+23
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,27 @@ def main():
116116
else:
117117
st.warning("Invalid Username/Password")
118118

119+
def hideFooter():
120+
with Image.open("favicon.ico") as icon:
121+
st.set_page_config(page_title="ApploGen(beta)",page_icon=icon)
122+
hide_streamlit_style = """
123+
<style>
124+
#MainMenu {visibility: hidden;}
125+
footer {
126+
visibility: hidden;
127+
}
128+
footer:after {
129+
content:'Made With ❤️ By MrTechnoStart';
130+
visibility: visible;
131+
display: block;
132+
position: relative;
133+
#background-color: red;
134+
padding: 5px;
135+
top: 2px;
136+
}
137+
</style>
138+
"""
139+
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
140+
hideFooter()
141+
119142
main()

0 commit comments

Comments
 (0)