Lukeetah commited on
Commit
8a12600
verified
1 Parent(s): b8b449d

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +93 -0
main.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Configuraci贸n inicial
4
+ st.set_page_config(page_title="HUMANOPS - Automatizaci贸n con Alma", layout="wide")
5
+
6
+ # CSS custom para un look moderno y atractivo
7
+ st.markdown(
8
+ """
9
+ <style>
10
+ body {
11
+ background: linear-gradient(135deg, #74ebd5, #ACB6E5);
12
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
13
+ color: #fff;
14
+ }
15
+ .header {
16
+ text-align: center;
17
+ padding: 80px 0;
18
+ }
19
+ .header h1 {
20
+ font-size: 4rem;
21
+ margin: 0;
22
+ }
23
+ .header p {
24
+ font-size: 1.5rem;
25
+ margin: 20px 0;
26
+ }
27
+ .cta-button {
28
+ background-color: #fff;
29
+ color: #4a90e2;
30
+ border: none;
31
+ padding: 15px 30px;
32
+ font-size: 1.2rem;
33
+ border-radius: 8px;
34
+ cursor: pointer;
35
+ text-decoration: none;
36
+ transition: background 0.3s;
37
+ }
38
+ .cta-button:hover {
39
+ background-color: #f0f0f0;
40
+ }
41
+ .form-container {
42
+ background: rgba(255,255,255,0.2);
43
+ padding: 30px;
44
+ border-radius: 12px;
45
+ max-width: 500px;
46
+ margin: auto;
47
+ margin-bottom: 50px;
48
+ }
49
+ .form-container input, .form-container textarea {
50
+ width: 100%;
51
+ padding: 12px;
52
+ margin: 10px 0;
53
+ border-radius: 6px;
54
+ border: none;
55
+ }
56
+ .form-container input[type="submit"] {
57
+ background: #fff;
58
+ color: #4a90e2;
59
+ border: none;
60
+ cursor: pointer;
61
+ font-weight: bold;
62
+ }
63
+ .form-container input[type="submit"]:hover {
64
+ background: #e0e0e0;
65
+ }
66
+ </style>
67
+ """,
68
+ unsafe_allow_html=True,
69
+ )
70
+
71
+ # Secci贸n de encabezado
72
+ st.markdown("""
73
+ <div class="header">
74
+ <h1>HUMANOPS</h1>
75
+ <p>Automatizaci贸n con alma para tu empresa</p>
76
+ <a class="cta-button" href="#contacto">隆Quiero probarlo!</a>
77
+ </div>
78
+ """, unsafe_allow_html=True)
79
+
80
+ st.markdown("<div id='contacto'></div>", unsafe_allow_html=True)
81
+
82
+ # Secci贸n de formulario
83
+ with st.container():
84
+ st.markdown("""
85
+ <div class="form-container">
86
+ <form action="TU_ENDPOINT_WEBHOOK" method="POST">
87
+ <input type="text" name="nombre" placeholder="Tu nombre" required>
88
+ <input type="email" name="email" placeholder="Tu email" required>
89
+ <textarea name="mensaje" placeholder="Cu茅ntanos sobre tu empresa" rows="4"></textarea>
90
+ <input type="submit" value="Enviar">
91
+ </form>
92
+ </div>
93
+ """, unsafe_allow_html=True)