Spaces:
Running
Running
Upload 10 files
Browse files- app.py +31 -0
- static/css/style.css +42 -0
app.py
CHANGED
@@ -366,3 +366,34 @@ if prompt := st.chat_input('Describe tu producto/servicio y audiencia objetivo..
|
|
366 |
st.session_state.gemini_history,
|
367 |
f'data/{st.session_state.chat_id}-gemini_messages',
|
368 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
st.session_state.gemini_history,
|
367 |
f'data/{st.session_state.chat_id}-gemini_messages',
|
368 |
)
|
369 |
+
# Título y subtítulo más compactos
|
370 |
+
st.markdown("""
|
371 |
+
<div style='text-align: center; padding: 1rem 0;'>
|
372 |
+
<h1 style='font-size: 24px; margin-bottom: 0.5rem;'>💎 RoboCopy PUV Creator</h1>
|
373 |
+
<p style='font-size: 16px; color: #666;'>By aimoneyget.com</p>
|
374 |
+
<p style='font-size: 14px; background-color: #f0f2f6; padding: 8px; border-radius: 5px; margin-top: 10px;'>
|
375 |
+
🎯 Experto en crear Propuestas de Valor Únicas que convierten audiencia en clientes
|
376 |
+
</p>
|
377 |
+
</div>
|
378 |
+
""", unsafe_allow_html=True)
|
379 |
+
|
380 |
+
# Contenedor para los ejemplos en forma de botones
|
381 |
+
st.markdown("""
|
382 |
+
<div style='display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0;'>
|
383 |
+
""", unsafe_allow_html=True)
|
384 |
+
|
385 |
+
# Ejemplos clickeables relacionados con PUVs
|
386 |
+
ejemplos = [
|
387 |
+
{"texto": "¿Cuál es la mejor fórmula para mi PUV? 🤔", "prompt": "Ayúdame a elegir la mejor fórmula para mi Propuesta de Valor Única"},
|
388 |
+
{"texto": "¿Cómo hacer mi PUV más impactante? 💫", "prompt": "Dame consejos para hacer mi Propuesta de Valor más persuasiva y memorable"},
|
389 |
+
{"texto": "Necesito una PUV para mi servicio...", "prompt": "Ayúdame a crear una Propuesta de Valor para mi servicio de coaching"},
|
390 |
+
{"texto": "¿Ejemplos de PUVs efectivas? 🎯", "prompt": "Muéstrame ejemplos de Propuestas de Valor exitosas en mi industria"}
|
391 |
+
]
|
392 |
+
|
393 |
+
# Crear los botones de ejemplo
|
394 |
+
cols = st.columns(4)
|
395 |
+
for idx, ejemplo in enumerate(ejemplos):
|
396 |
+
with cols[idx]:
|
397 |
+
if st.button(ejemplo["texto"], key=f"ejemplo_{idx}", help=ejemplo["prompt"]):
|
398 |
+
st.session_state.prompt = ejemplo["prompt"]
|
399 |
+
st.experimental_rerun()
|
static/css/style.css
CHANGED
@@ -3,4 +3,46 @@
|
|
3 |
color: #4ECDC4 !important; /* Color turquesa con !important para forzar el estilo */
|
4 |
font-weight: bold;
|
5 |
font-size: 2em; /* Tamaño más grande para destacar */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
|
|
3 |
color: #4ECDC4 !important; /* Color turquesa con !important para forzar el estilo */
|
4 |
font-weight: bold;
|
5 |
font-size: 2em; /* Tamaño más grande para destacar */
|
6 |
+
}
|
7 |
+
|
8 |
+
/* Estilos para los botones de ejemplo */
|
9 |
+
.stButton > button {
|
10 |
+
width: 100%;
|
11 |
+
min-height: 80px;
|
12 |
+
white-space: normal;
|
13 |
+
padding: 10px;
|
14 |
+
background-color: #f8f9fa;
|
15 |
+
border: 1px solid #dee2e6;
|
16 |
+
border-radius: 8px;
|
17 |
+
font-size: 14px;
|
18 |
+
color: #495057;
|
19 |
+
text-align: left;
|
20 |
+
margin: 5px 0;
|
21 |
+
transition: all 0.3s ease;
|
22 |
+
}
|
23 |
+
|
24 |
+
.stButton > button:hover {
|
25 |
+
background-color: #e9ecef;
|
26 |
+
border-color: #4ECDC4;
|
27 |
+
transform: translateY(-2px);
|
28 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
29 |
+
}
|
30 |
+
|
31 |
+
/* Ajustes para el contenedor principal */
|
32 |
+
.main .block-container {
|
33 |
+
padding-top: 2rem;
|
34 |
+
max-width: 1000px;
|
35 |
+
}
|
36 |
+
|
37 |
+
/* Estilos para títulos más compactos */
|
38 |
+
h1 {
|
39 |
+
font-size: 24px !important;
|
40 |
+
margin-bottom: 0.5rem !important;
|
41 |
+
color: #2C3E50;
|
42 |
+
}
|
43 |
+
|
44 |
+
.subtitle {
|
45 |
+
font-size: 16px;
|
46 |
+
color: #666;
|
47 |
+
margin-bottom: 1rem;
|
48 |
}
|