File tree 2 files changed +45
-1
lines changed
2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,27 @@ def main():
87
87
88
88
if st .button ("Submit: " ):
89
89
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 ()
91
112
92
113
main ()
Original file line number Diff line number Diff line change @@ -116,4 +116,27 @@ def main():
116
116
else :
117
117
st .warning ("Invalid Username/Password" )
118
118
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
+
119
142
main ()
You can’t perform that action at this time.
0 commit comments