create a restaurant website for a space inspired pizza restaurant called `moon pies`
To upload files, please first save the app
import streamlit as st
from datetime import datetime, time
# Set page config with custom title and favicon
st.set_page_config(
page_title="Moon Pies - Space Inspired Pizza",
layout="wide"
)
# Custom CSS
st.markdown("""
<style>
.main {
background-color: #0A1931;
color: #FFFFFF;
}
.stTitle {
color: #FFD700;
text-align: center;
}
</style>
""", unsafe_allow_html=True)
# Header
st.title("🌙 Moon Pies 🍕")
st.markdown("### *Out of this world pizza experience*")
# Three columns layout for main content
col1, col2, col3 = st.columns([1, 2, 1])
with col1:
st.subheader("Hours")
st.write("Monday - Thursday: 11:00 AM - 10:00 PM")
st.write("Friday - Saturday: 11:00 AM - 12:00 AM")
st.write("Sunday: 12:00 PM - 9:00 PM")
st.subheader("Location")
st.write("123 Cosmic Avenue")
st.write("Galaxy City, Space State 12345")
st.write("📞 (555) 123-4567")
with col2:
# Menu section
st.subheader("🚀 Our Cosmic Menu")
st.markdown("#### Signature Pizzas")
st.write("**Solar Supreme** - $22")
st.write("Sun-dried tomatoes, meteor mozzarella, cosmic mushrooms, and stardust seasonings")
st.write("**Martian Margherita** - $18")
st.write("Red planet tomatoes, alien basil, lunar cheese")
st.write("**Asteroid BBQ** - $24")
st.write("Space-smoked BBQ sauce, galactic chicken, cosmic onions, stellar bacon")
st.write("**Neptune's Deep Blue** - $26")
st.write("Blue cheese, caramelized constellation onions, rocket arugula")
st.markdown("#### Cosmic Sides")
st.write("**Meteor Breadsticks** - $8")
st.write("**Galaxy Garlic Knots** - $7")
st.write("**Star Dust Wings** - $12")
with col3:
st.subheader("Order Online")
if st.button("🛸 Start Order"):
st.write("Redirecting to our online ordering system...")
st.subheader("Special Offers")
st.markdown("""
- **Monday Moonday**: 20% off all pizzas
- **Space Walk Wednesday**: Free delivery
- **Sunday Space Race**: Buy one, get one 50% off
""")
# Footer
st.markdown("---")
st.markdown("""
<div style='text-align: center'>
<p>🌟 Join our Cosmic Rewards Program! 🌟</p>
<p>Earn points with every order and blast off to amazing rewards!</p>
</div>
""", unsafe_allow_html=True)
# Reservation Form
st.sidebar.title("Make a Reservation")
date = st.sidebar.date_input("Select Date", min_value=datetime.today())
time = st.sidebar.time_input("Select Time", value=time(19, 00))
guests = st.sidebar.slider("Number of Guests", 1, 10, 2)
name = st.sidebar.text_input("Name")
phone = st.sidebar.text_input("Phone Number")
if st.sidebar.button("Book Table"):
st.sidebar.success("Reservation request received! We'll contact you shortly to confirm.")
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?