import streamlit as st import pandas as pd # Page setup st.set_page_config(page_title="AutoCAD Command Reference", layout="wide") # Custom background and styling st.markdown(""" """, unsafe_allow_html=True) # Title st.markdown('
📐 AutoCAD Commands Reference
', unsafe_allow_html=True) # Sample data (you can expand this) commands = [ { "Command": "LINE", "Description": "Creates straight line segments.", "YouTube": "https://www.youtube.com/watch?v=4Hsb5j5JH7A" }, { "Command": "CIRCLE", "Description": "Creates a circle.", "YouTube": "https://www.youtube.com/watch?v=ZFbP13bU5Ck" }, { "Command": "TRIM", "Description": "Trims objects to meet the edges of other objects.", "YouTube": "https://www.youtube.com/watch?v=8QULwXuHEjM" }, { "Command": "EXTEND", "Description": "Extends objects to meet the edges of other objects.", "YouTube": "https://www.youtube.com/watch?v=EYYJSXruK4k" } ] # Layout in columns cols = st.columns(2) for i, cmd in enumerate(commands): col = cols[i % 2] with col: st.markdown(f"""

🛠️ {cmd['Command']}

{cmd['Description']}

▶️ Watch Tutorial

""", unsafe_allow_html=True)