├── web
├── __init__.py
├── styles
│ ├── fonts.py
│ ├── colors.py
│ └── styles.py
├── components
│ ├── divider.py
│ ├── span.py
│ ├── text.py
│ ├── print_text.py
│ ├── event_text.py
│ ├── partner.py
│ ├── terminal_text.py
│ ├── button.py
│ ├── navbar.py
│ └── ticket.py
├── constants.py
├── views
│ ├── networking.py
│ ├── footer.py
│ ├── raffle.py
│ ├── info.py
│ ├── about.py
│ ├── event.py
│ ├── partners.py
│ ├── schedule.py
│ ├── header.py
│ ├── hackathon.py
│ └── speakers.py
└── web.py
├── requirements.txt
├── .gitignore
├── rxconfig.py
├── assets
├── favicon.ico
├── preview.jpg
├── partners
│ ├── nuwe.png
│ ├── elgato.png
│ ├── platzi.png
│ └── raiola.png
├── mouredev_glitch.gif
├── speakers
│ ├── jamer_jose.jpg
│ ├── jose_angel.jpg
│ ├── maria_moran.jpg
│ ├── pablo_marino.jpg
│ ├── angela_martinez.jpg
│ ├── dmitry_zhukov.jpg
│ ├── geraldhy_messu.jpg
│ ├── kevin_morales.jpg
│ ├── juliana_castillo.jpg
│ └── karoll_escalante.jpg
├── x.svg
├── reflex.svg
├── css
│ └── styles.css
├── js
│ └── countdown.js
└── discord.svg
├── vercel.json
├── README.md
└── LICENSE
/web/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | reflex==0.4.9
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.db
2 | *.py[cod]
3 | .venv/
4 | .web
5 | __pycache__/
6 | public/
--------------------------------------------------------------------------------
/rxconfig.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 |
3 | config = rx.Config(
4 | app_name="web",
5 | )
6 |
--------------------------------------------------------------------------------
/assets/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/favicon.ico
--------------------------------------------------------------------------------
/assets/preview.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/preview.jpg
--------------------------------------------------------------------------------
/assets/partners/nuwe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/partners/nuwe.png
--------------------------------------------------------------------------------
/assets/mouredev_glitch.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/mouredev_glitch.gif
--------------------------------------------------------------------------------
/assets/partners/elgato.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/partners/elgato.png
--------------------------------------------------------------------------------
/assets/partners/platzi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/partners/platzi.png
--------------------------------------------------------------------------------
/assets/partners/raiola.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/partners/raiola.png
--------------------------------------------------------------------------------
/assets/speakers/jamer_jose.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/jamer_jose.jpg
--------------------------------------------------------------------------------
/assets/speakers/jose_angel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/jose_angel.jpg
--------------------------------------------------------------------------------
/assets/speakers/maria_moran.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/maria_moran.jpg
--------------------------------------------------------------------------------
/assets/speakers/pablo_marino.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/pablo_marino.jpg
--------------------------------------------------------------------------------
/assets/speakers/angela_martinez.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/angela_martinez.jpg
--------------------------------------------------------------------------------
/assets/speakers/dmitry_zhukov.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/dmitry_zhukov.jpg
--------------------------------------------------------------------------------
/assets/speakers/geraldhy_messu.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/geraldhy_messu.jpg
--------------------------------------------------------------------------------
/assets/speakers/kevin_morales.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/kevin_morales.jpg
--------------------------------------------------------------------------------
/assets/speakers/juliana_castillo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/juliana_castillo.jpg
--------------------------------------------------------------------------------
/assets/speakers/karoll_escalante.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mouredev/hola-mundo-day-web/HEAD/assets/speakers/karoll_escalante.jpg
--------------------------------------------------------------------------------
/web/styles/fonts.py:
--------------------------------------------------------------------------------
1 | from enum import Enum
2 |
3 |
4 | class FontWeight(Enum):
5 | DEFAULT = "400"
6 | MEDIUM = "500"
7 | BOLD = "600"
8 |
--------------------------------------------------------------------------------
/web/components/divider.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.colors import Color
3 |
4 |
5 | def divider() -> rx.Component:
6 | return rx.divider(background=Color.SECONDARY.value)
7 |
--------------------------------------------------------------------------------
/web/styles/colors.py:
--------------------------------------------------------------------------------
1 | from enum import Enum
2 |
3 |
4 | class Color(Enum):
5 | ACCENT = "#39ff14"
6 | PRIMARY = "#ffffff"
7 | SECONDARY = "#6b7280"
8 | BACKGROUND = "#000000"
9 |
--------------------------------------------------------------------------------
/web/components/span.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.colors import Color
3 |
4 |
5 | def span(text: str, color=Color.PRIMARY, blink=False) -> rx.Component:
6 | return rx.text(
7 | text,
8 | as_="span",
9 | color=color.value,
10 | text_shadow="none",
11 | class_name="blink" if blink else "none"
12 | )
13 |
--------------------------------------------------------------------------------
/vercel.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "builds": [
4 | {
5 | "src": "build.sh",
6 | "use": "@vercel/static-build",
7 | "config": {
8 | "distDir": "public"
9 | }
10 | }
11 | ],
12 | "routes": [
13 | {
14 | "src": "/(.*)",
15 | "dest": "/public/$1"
16 | }
17 | ]
18 | }
--------------------------------------------------------------------------------
/assets/x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/components/text.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.colors import Color
3 | from web.styles.styles import Size
4 |
5 |
6 | def text(text: str, bold=False, big=False, color=Color.PRIMARY) -> rx.Component:
7 | return rx.text(
8 | text,
9 | font_weight="bold" if bold else "normal",
10 | color=color.value,
11 | size=Size.MEDIUM.value if big else Size.DEFAULT.value
12 | )
13 |
--------------------------------------------------------------------------------
/web/components/print_text.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.components.span import span
3 | from web.styles.colors import Color
4 |
5 |
6 | def print_text(text: str) -> rx.Component:
7 | return rx.text(
8 | "print(",
9 | span('"', Color.ACCENT),
10 | rx.text(
11 | text,
12 | color=Color.SECONDARY.value,
13 | as_="span"
14 | ),
15 | span('"', Color.ACCENT),
16 | ")"
17 | )
18 |
--------------------------------------------------------------------------------
/web/components/event_text.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.colors import Color
3 | from web.styles.styles import Size
4 |
5 |
6 | def event_text(title: str, body="", big=False) -> rx.Component:
7 | return rx.text(
8 | rx.icon(
9 | "terminal",
10 | color=Color.SECONDARY.value,
11 | display="inline"
12 | ),
13 | rx.text.strong(
14 | title
15 | ),
16 | body,
17 | as_="span",
18 | size=Size.MEDIUM.value if big else Size.DEFAULT.value
19 | )
20 |
--------------------------------------------------------------------------------
/assets/reflex.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/components/partner.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.styles import Size, SizeEM, Color
3 |
4 |
5 | def partner(image: str, url: str, text: str) -> rx.Component:
6 | return rx.link(
7 | rx.vstack(
8 | rx.image(
9 | src=image,
10 | height="80px",
11 | width="auto",
12 | padding_right=SizeEM.MEDIUM.value
13 | ),
14 | rx.text(
15 | text,
16 | size=Size.SMALL.value,
17 | color=Color.PRIMARY.value
18 | ),
19 | spacing=Size.ZERO.value
20 | ),
21 | href=url,
22 | is_external=True
23 | )
24 |
--------------------------------------------------------------------------------
/assets/css/styles.css:
--------------------------------------------------------------------------------
1 | /* Typewriter */
2 |
3 | .blink {
4 | animation: blink-animation 1s steps(3, start) infinite;
5 | -webkit-animation: blink-animation 1s steps(3, start) infinite;
6 | }
7 |
8 | @keyframes blink-animation {
9 | to { visibility: hidden; }
10 | }
11 |
12 | @-webkit-keyframes blink-animation {
13 | to { visibility: hidden; }
14 | }
15 |
16 | /* Ticket */
17 |
18 | .ticket {
19 | transform:
20 | rotate3d(.5,-.866,0,15deg)
21 | rotate(1deg);
22 | box-shadow:0 0 8px #39ff14;
23 | transition:
24 | transform .4s ease,
25 | box-shadow .4s ease;
26 | border-radius: 1em;
27 | &:hover {
28 | transform:
29 | rotate3d(0,0,0,0deg)
30 | rotate(0deg);
31 | }
32 | }
--------------------------------------------------------------------------------
/assets/js/countdown.js:
--------------------------------------------------------------------------------
1 | var countDownDate = new Date("May 7, 2024 14:00:00 UTC").getTime();
2 |
3 | var x = setInterval(function () {
4 |
5 | var now = new Date().getTime();
6 | var distance = countDownDate - now;
7 |
8 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
9 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
10 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
11 | var seconds = Math.floor((distance % (1000 * 60)) / 1000);
12 |
13 | document.getElementById("countdown").innerHTML = "Live: " + hours + "h "
14 | + minutes + "m " + seconds + "s ";
15 |
16 | if (distance < 0) {
17 | clearInterval(x);
18 | document.getElementById("countdown").innerHTML = "En directo";
19 | }
20 | }, 1000);
--------------------------------------------------------------------------------
/web/constants.py:
--------------------------------------------------------------------------------
1 | MOUREDEV_URL = "https://moure.dev"
2 | DISCORD_URL = "https://discord.gg/mouredev"
3 | TWITCH_URL = "https://twitch.tv/mouredev"
4 | YOUTUBE_URL = "https://youtube.com/@mouredev"
5 | NEWSLETTER_URL = "https://newsletter.moure.dev"
6 | REPO_URL = "https://github.com/mouredev/hola-mundo-day-web"
7 | COFFEE_URL = "https://www.buymeacoffee.com/mouredev"
8 | EVENT_URL = "https://discord.gg/mouredev?event=1219566564706226187"
9 | NETWORKING_URL = "https://discord.gg/mouredev?event=1234755155929468980"
10 |
11 | TALK_FORM_URL = "https://forms.gle/GhTbteDFG2rGkCYW7"
12 | WORKSHOP_FORM_URL = "https://forms.gle/kJRjW1kE7CusaNaR6"
13 | VOTE_FORM_URL = "https://forms.gle/sogXPXzgAWEVB5y98"
14 | HACKATHON_FORM_URL = "https://forms.gle/avQP85mtiwVZk2to7"
15 |
16 | REFLEX_TUTORIAL_URL = "https://github.com/mouredev/python-web"
17 |
18 | TICKETS_URL = "https://www.eventbrite.es/e/hola-mundo-day-2024-tickets-893625697517"
19 |
20 | GOOGLE_ANALYTICS_TAG = "G-XS3D45RKRS"
21 |
--------------------------------------------------------------------------------
/web/views/networking.py:
--------------------------------------------------------------------------------
1 | import web.styles.styles as styles
2 | import reflex as rx
3 | from web.styles.colors import Color
4 | from web import constants
5 | from web.components.text import text
6 | from web.components.button import button
7 | from web.components.print_text import print_text
8 | from web.components.terminal_text import terminal_text
9 | from web.styles.styles import Size
10 |
11 |
12 | def networking() -> rx.Component:
13 | return rx.vstack(
14 | terminal_text(quoted_text="Networking"),
15 | text(
16 | "¡El networking ya está abierto!",
17 | True, True, Color.ACCENT
18 | ),
19 | rx.text("Durante las 24 horas anteriores al evento, podrás acceder a salas de chat en Discord para conocer a la comunidad y charlar sobre lo que quieras."),
20 | print_text("¡Anímate a descubrir el poder de la comunidad!"),
21 | button(
22 | constants.DISCORD_URL,
23 | "Salas de networking",
24 | "discord"
25 | ),
26 | spacing=Size.DEFAULT.value,
27 | style=styles.container
28 | )
29 |
--------------------------------------------------------------------------------
/web/components/terminal_text.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.components.span import span
3 | from web.styles.colors import Color
4 | from web.styles.styles import Size, SizeEM
5 |
6 |
7 | def terminal_text(start_text="", quoted_text="", end_text="", big=False) -> rx.Component:
8 | return rx.flex(
9 | rx.icon(
10 | "chevron-right",
11 | size=65 if big else 45,
12 | color=Color.SECONDARY.value,
13 | ),
14 | rx.heading(
15 | start_text,
16 | span('"'),
17 | quoted_text,
18 | span('"'),
19 | end_text,
20 | span("_", Color.SECONDARY, True),
21 | font_size=SizeEM.VERY_BIG.value if big else SizeEM.MEDIUM.value,
22 | color=Color.ACCENT.value,
23 | letter_spacing=".15em",
24 | text_shadow=f"0 0 8px {Color.ACCENT.value}",
25 | as_="h1" if big else "h2"
26 | ),
27 | spacing=Size.ZERO.value,
28 | padding_top=SizeEM.BIG.value if big else SizeEM.ZERO.value,
29 | flex_direction=["column", "row"],
30 | align_items=["start", "center"]
31 | )
32 |
--------------------------------------------------------------------------------
/assets/discord.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/web/views/footer.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.text import text
5 | from web.styles.styles import Size, SizeEM
6 |
7 |
8 | def footer() -> rx.Component:
9 | return rx.center(
10 | rx.vstack(
11 | rx.hstack(
12 | rx.icon("terminal"),
13 | rx.link(
14 | rx.hstack(
15 | rx.text.strong("Hola mundo day 2024 v2"),
16 | rx.icon("github")
17 | ),
18 | href=constants.REPO_URL,
19 | is_external=True
20 | )
21 | ),
22 | rx.text(
23 | "Organizado con ♥ (y gracias a ti) por ",
24 | rx.link(
25 | "@mouredev",
26 | href=constants.MOUREDEV_URL,
27 | is_external=True
28 | ),
29 | align="right"
30 | ),
31 | padding_y=SizeEM.MEDIUM.value,
32 | spacing=Size.SMALL.value,
33 | style=styles.container,
34 | align="end"
35 | ),
36 | width="100%"
37 | )
38 |
--------------------------------------------------------------------------------
/web/components/button.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.styles.colors import Color
3 | from web.styles.styles import Size
4 |
5 | LOCAL_ICONS = ["x", "discord"]
6 |
7 |
8 | def button(url: str, text="", icon="chevron-right", secondary=False, is_external=True, id=None) -> rx.Component:
9 | return rx.link(
10 | rx.button(
11 | _button_icon(icon),
12 | text,
13 | size=Size.DEFAULT.value,
14 | color=Color.BACKGROUND.value,
15 | background=Color.SECONDARY.value if secondary else Color.ACCENT.value,
16 | id=id
17 | ),
18 | border_width="2px",
19 | border_radius="10px",
20 | border_color=Color.BACKGROUND.value,
21 | href=url,
22 | is_external=is_external
23 | )
24 |
25 | # Por algo que desconozco (quizás un error), aunque el icon sea local, se intenta inicializar rx.icon. De ahí este fix.
26 |
27 |
28 | def _button_icon(icon: str) -> rx.Component:
29 | return rx.cond(
30 | icon in LOCAL_ICONS,
31 | rx.image(
32 | src=f"/{icon}.svg",
33 | width="24px",
34 | height="auto"
35 | ),
36 | rx.icon("chevron-right" if icon in LOCAL_ICONS else icon)
37 | )
38 |
--------------------------------------------------------------------------------
/web/components/navbar.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web import constants
3 | from web.components.button import button
4 | from web.styles.colors import Color
5 | from web.styles.styles import Size, SizeEM
6 |
7 |
8 | def navbar() -> rx.Component:
9 | return rx.vstack(
10 | rx.hstack(
11 | rx.link(
12 | rx.icon(
13 | "terminal",
14 | size=32,
15 | color=Color.ACCENT.value
16 | ),
17 | href="/",
18 | is_external=False
19 | ),
20 | rx.spacer(),
21 | # button(
22 | # constants.TWITCH_URL,
23 | # "En directo",
24 | # icon="radio",
25 | # is_external=True
26 | # ),
27 | button(constants.TWITCH_URL, icon="twitch"),
28 | spacing=Size.DEFAULT.value,
29 | padding=SizeEM.DEFAULT.value,
30 | width="100%",
31 | align="center"
32 | ),
33 | rx.divider(background=Color.SECONDARY.value),
34 | spacing=Size.ZERO.value,
35 | position="sticky",
36 | bg=Color.BACKGROUND.value,
37 | z_index="10",
38 | top="0"
39 | )
40 |
--------------------------------------------------------------------------------
/web/views/raffle.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web.components.event_text import event_text
4 | from web.components.print_text import print_text
5 | from web.components.terminal_text import terminal_text
6 | from web.styles.styles import Size
7 |
8 |
9 | def raffle() -> rx.Component:
10 | return rx.vstack(
11 | terminal_text(quoted_text="Sorteos"),
12 | rx.text("Durante el evento se realizarán diferentes sorteos entre toda la comunidad que asista al directo."),
13 | event_text("x5 Becas de 6 meses para estudiar en Platzi"),
14 | event_text("x1 Hosting anual + Dominio en Raiola Networks"),
15 | event_text("x1 Steam Deck Mobile de Elgato"),
16 | event_text("x10 Libros Git y GitHub desde cero de MoureDev"),
17 | event_text(
18 | "x5 Pack de libros Aprender a Programar despues de los 40 de Gerardo Arrieta"
19 | ),
20 | event_text("x2 Libros Ultimate Python de Nicolás Schürmann"),
21 | event_text("x2 Libros Aprendiendo React de Carlos Azaustre"),
22 | event_text("x2 Libros Aprendiendo C# de Héctor de León"),
23 | event_text("x2 Libros No todo es programar de Kiko Palomares"),
24 | event_text("x3 Libros Patrones de diseño de Refactoring Guru"),
25 | spacing=Size.DEFAULT.value,
26 | style=styles.container
27 | )
28 |
--------------------------------------------------------------------------------
/web/views/info.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.text import text
6 | from web.styles.colors import Color
7 | from web.styles.styles import Size, SizeEM
8 |
9 |
10 | def info() -> rx.Component:
11 | return rx.center(
12 | rx.vstack(
13 | rx.hstack(
14 | rx.icon(
15 | "terminal",
16 | size=32,
17 | color=Color.BACKGROUND.value
18 | ),
19 | text(
20 | "Últimas noticias:",
21 | True,
22 | True,
23 | Color.BACKGROUND
24 | ),
25 | spacing=Size.SMALL.value
26 | ),
27 | text(
28 | "¡Nos vemos en el Hola Mundo day 2025!",
29 | big=True,
30 | color=Color.BACKGROUND
31 | ),
32 | # button(
33 | # constants.TWITCH_URL,
34 | # "En directo",
35 | # icon="radio",
36 | # is_external=True
37 | # ),
38 | spacing=Size.SMALL.value,
39 | padding_y=SizeEM.MEDIUM.value,
40 | style=styles.container
41 | ),
42 | width="100%",
43 | background=Color.ACCENT.value
44 | )
45 |
--------------------------------------------------------------------------------
/web/views/about.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.terminal_text import terminal_text
6 | from web.styles.styles import Size
7 |
8 |
9 | def about() -> rx.Component:
10 | return rx.flex(
11 | rx.vstack(
12 | terminal_text("Hola mundo, soy ", "Brais Moure"),
13 | rx.text("Me dedico al desarrollo de software desde 2010."),
14 | rx.text("En 2018 comencé a divulgar contenido sobre programación en redes sociales como @mouredev, descubriendo el mayor superpoder del sector: una comunidad que ni descansa ni cesa en su labor de compartir conocimiento y ayudar día a día. Los verdaderos protagonistas de este \"Hola Mundo\" day."),
15 | rx.hstack(
16 | button(constants.MOUREDEV_URL, icon="link"),
17 | button(constants.TWITCH_URL, icon="twitch", secondary=True),
18 | button(constants.YOUTUBE_URL, icon="youtube", secondary=True),
19 | button(constants.DISCORD_URL, icon="discord", secondary=True),
20 | spacing=Size.DEFAULT.value
21 | ),
22 | spacing=Size.DEFAULT.value
23 | ),
24 | rx.image(
25 | src="/mouredev_glitch.gif",
26 | width="220px",
27 | height="220px"
28 | ),
29 | flex_direction=["column", "row"],
30 | spacing=Size.DEFAULT.value,
31 | style=styles.container
32 | )
33 |
--------------------------------------------------------------------------------
/web/components/ticket.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web import constants
3 | from web.components.text import text
4 | from web.styles.colors import Color
5 | from web.styles.styles import Size, SizeEM
6 |
7 |
8 | def ticket() -> rx.Component:
9 | return rx.link(
10 | rx.vstack(
11 | rx.icon(
12 | "ticket",
13 | size=64,
14 | stroke_width=1,
15 | color=Color.BACKGROUND.value
16 | ),
17 | rx.vstack(
18 | rx.hstack(
19 | rx.icon(
20 | "terminal",
21 | size=32,
22 | color=Color.BACKGROUND.value
23 | ),
24 | text(
25 | "Consigue tu entrada gratis",
26 | True,
27 | True,
28 | Color.BACKGROUND
29 | ),
30 | spacing=Size.SMALL.value
31 | ),
32 | text(
33 | "(Y compártela en redes)",
34 | color=Color.BACKGROUND
35 | ),
36 | align="center",
37 | spacing=Size.ZERO.value
38 | ),
39 | class_name="ticket",
40 | align="center",
41 | spacing=Size.SMALL.value,
42 | padding=SizeEM.MEDIUM.value,
43 | background=Color.ACCENT.value
44 | ),
45 | href=constants.TICKETS_URL,
46 | is_external=True
47 | )
48 |
--------------------------------------------------------------------------------
/web/styles/styles.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from enum import Enum
3 | from web.styles.colors import Color
4 | from web.styles.fonts import FontWeight
5 |
6 |
7 | MAX_WIDTH = "1200px"
8 | FONT_FAMILY = "\"Fira Code\", monospace"
9 |
10 | STYLESHEETS = [
11 | "https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap",
12 | "/css/styles.css"
13 | ]
14 |
15 |
16 | class SizeEM(Enum):
17 | ZERO = "0px !important"
18 | SMALL = "0.5em"
19 | DEFAULT = "1em"
20 | MEDIUM = "2em"
21 | BIG = "3em"
22 | VERY_BIG = "4em"
23 |
24 |
25 | class Size(Enum):
26 | ZERO = "0"
27 | SMALL = "2"
28 | DEFAULT = "4"
29 | MEDIUM = "5"
30 | VERY_BIG = "9"
31 |
32 |
33 | BASE_STYLE = {
34 | "font_family": FONT_FAMILY,
35 | "font_weight": FontWeight.DEFAULT.value,
36 | "color": Color.PRIMARY.value,
37 | "background_color": Color.BACKGROUND.value,
38 | rx.heading: {
39 | "font_family": FONT_FAMILY,
40 | "font_weight": FontWeight.BOLD.value,
41 | "line_height": "normal"
42 | },
43 | rx.text.strong: {
44 | "font_family": FONT_FAMILY,
45 | },
46 | rx.button: {
47 | "font_weight": FontWeight.MEDIUM.value,
48 | "cursor": "pointer",
49 | "_hover": {
50 | "background": f"{Color.PRIMARY.value}"
51 | }
52 | },
53 | rx.link: {
54 | "color": Color.ACCENT.value,
55 | "_hover": {
56 | "color": f"{Color.PRIMARY.value}"
57 | }
58 | }
59 | }
60 |
61 | container = dict(
62 | padding_x=SizeEM.DEFAULT.value,
63 | width="100%",
64 | max_width=MAX_WIDTH
65 | )
66 |
--------------------------------------------------------------------------------
/web/views/event.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.event_text import event_text
6 | from web.styles.colors import Color
7 | from web.components.terminal_text import terminal_text
8 | from web.components.text import text
9 | from web.styles.styles import Size
10 |
11 |
12 | def event() -> rx.Component:
13 | return rx.vstack(
14 | terminal_text("¿Qué es el ", "Hola Mundo", " day?"),
15 | text("Es una conferencia tecnológica sobre programación y desarrollo de software 100% online, gratis, para todos los niveles y donde la comunidad será la verdadera protagonista, ya que se encargará de llevar a cabo los diferentes eventos del día."),
16 | text("¡Te esperamos el día 128 del año!", True, True, Color.ACCENT),
17 | rx.flex(
18 | event_text("Charlas"),
19 | event_text("Talleres"),
20 | event_text("Networking"),
21 | event_text("Hackathon"),
22 | event_text("Sorteos"),
23 | event_text("Sorpresas"),
24 | spacing=Size.SMALL.value,
25 | flex_direction=["column", "row"],
26 | justify="between",
27 | width="100%"
28 | ),
29 | rx.flex(
30 | button(
31 | "https://twitter.com/intent/tweet?text=Ven%20al%20%23HolaMundoDay,%20la%20conferencia%20de%20programaci%C3%B3n%20y%20desarrollo%20de%20software%20creada%20por%20y%20para%20la%20comunidad.%0A%0A7%20de%20Mayo%20%7C%20Twitch%20%7C%20Gratis%20y%20para%20todos%20los%20niveles.%0A%0AÚnete%20al%20holamundo.day%20organizado%20por%20@mouredev",
32 | "Compártelo en X",
33 | "x"
34 | ),
35 | button(
36 | constants.NEWSLETTER_URL,
37 | "Newsletter",
38 | "mail",
39 | True
40 | ),
41 | flex_direction=["column", "row"],
42 | spacing=Size.DEFAULT.value
43 | ),
44 | spacing=Size.DEFAULT.value,
45 | style=styles.container
46 | )
47 |
--------------------------------------------------------------------------------
/web/views/partners.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.print_text import print_text
6 | from web.components.terminal_text import terminal_text
7 | from web.components.partner import partner
8 | from web.styles.styles import Size
9 |
10 |
11 | def partners() -> rx.Component:
12 | return rx.vstack(
13 | terminal_text(quoted_text="Patrocinado", end_text=" por"),
14 | rx.flex(
15 | partner(
16 | "/partners/platzi.png",
17 | "https://platzi.com/BraisconfMX",
18 | "Estudia programación"
19 | ),
20 | partner(
21 | "/partners/raiola.png",
22 | "https://mouredev.com/raiola",
23 | "20% en hosting"
24 | ),
25 | partner(
26 | "/partners/nuwe.png",
27 | "https://bit.ly/JobOffersNUWE",
28 | "Aplica a vacantes Tech"
29 | ),
30 | partner(
31 | "/partners/elgato.png",
32 | "https://elgato.sjv.io/mouredev",
33 | "5% código ZZ-MOUREDEV"
34 | ),
35 | spacing=Size.SMALL.value,
36 | wrap="wrap"
37 | ),
38 | rx.spacer(),
39 | # rx.text("¿Quieres patrocinar el evento? ¡NO TENGO PALABRAS!"),
40 | # rx.text(
41 | # "Puedes escribirme a ",
42 | # rx.link(
43 | # "braismoure@mouredev.com",
44 | # href="mailto:braismoure@mouredev.com",
45 | # is_external=True
46 | # ),
47 | # " o contactarme a través de mis redes sociales como ",
48 | # rx.link(
49 | # "@mouredev",
50 | # href=constants.MOUREDEV_URL,
51 | # is_external=True
52 | # ),
53 | # "."
54 | # ),
55 | # print_text("El patrocinio servirá para pagar los participantes, realizar sorteos y cubrir los gastos de la organización. También se realizarán menciones y aparecerás destacado en todas las comunicaciones relacionadas con el evento."),
56 | button(
57 | constants.COFFEE_URL,
58 | "Colabora con un café",
59 | "coffee",
60 | True,
61 | id="speakers"
62 | ),
63 | spacing=Size.DEFAULT.value,
64 | style=styles.container
65 | )
66 |
--------------------------------------------------------------------------------
/web/views/schedule.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.components.print_text import print_text
3 | import web.styles.styles as styles
4 | from web.components.terminal_text import terminal_text
5 | from web.components.event_text import event_text
6 | from web.components.divider import divider
7 | from web.styles.styles import Size
8 |
9 |
10 | def schedule() -> rx.Component:
11 | return rx.vstack(
12 | terminal_text(quoted_text="Agenda"),
13 | divider(),
14 | event_text("16:00 ", "Bienvenida"),
15 | divider(),
16 | event_text(
17 | "16:30 ", "Charla | ¡No dejes para mañana tu código de hoy! Cómo vencer la procrastinación en programación"
18 | ),
19 | event_text("17:00 ", "Charla | UX Design"),
20 | event_text(
21 | "17:30 ", "Taller | Crea tu propio bot de Telegram con Python"),
22 | divider(),
23 | event_text("18:00 ", "Sorteos"),
24 | divider(),
25 | event_text(
26 | "18:30 ", "Charla | Desbloquea tu creatividad: Prompt engineering con Gemini AI y ChatGPT"
27 | ),
28 | event_text(
29 | "19:00 ", "Taller | Desmitificando el Testing: Aprende a probar como un profesional"
30 | ),
31 | event_text("19:30 ", "Charla | Ser autodidacta en el mundo del software"),
32 | divider(),
33 | event_text("20:00 ", "Final Hackathon"),
34 | divider(),
35 | event_text("20:30 ", "Sorteos"),
36 | divider(),
37 | event_text(
38 | "21:00 ", "Charla | Cómo entrar el mundo de freelance internacional: motivaciones, estrategias y retos"
39 | ),
40 | event_text(
41 | "21:30 ", "Taller | Open Source: Configura tu entorno para contribuir a proyectos de código abierto"
42 | ),
43 | divider(),
44 | event_text("22:00 ", "Sorteos"),
45 | divider(),
46 | event_text(
47 | "22:30 ", "Charla | Soft skills que todo programador debería tener"
48 | ),
49 | event_text("23:00 ", "Charla | ¿Qué hace que un GitHub sea \"bueno\"?"),
50 | divider(),
51 | event_text("23:30 ", "Despedida"),
52 | divider(),
53 | print_text(
54 | "El horario puede sufrir modificaciones. Zona horaria: CET (España)"
55 | ),
56 | rx.vstack(
57 | rx.text.strong("Hora de inicio por país:"),
58 | rx.text("16:00 | España"),
59 | rx.text(
60 | "08:00 | México, Costa Rica, El Salvador, Guatemala, Honduras, Nicaragua"
61 | ),
62 | rx.text("09:00 | Colombia, Ecuador, Panamá, Perú, Perú"),
63 | rx.text(
64 | "10:00 | Chile, Bolivia, Cuba, Puerto Rico, República Dominicana, Venezuela, Paraguay"
65 | ),
66 | rx.text("11:00 | Argentina, Uruguay"),
67 | spacing=Size.ZERO.value
68 | ),
69 | spacing=Size.DEFAULT.value,
70 | style=styles.container
71 | )
72 |
--------------------------------------------------------------------------------
/web/web.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.constants as constants
3 | from web.components.navbar import navbar
4 | from web.components.divider import divider
5 | from web.styles.styles import BASE_STYLE, STYLESHEETS, Size, SizeEM
6 | from web.views.about import about
7 | from web.views.event import event
8 | from web.views.footer import footer
9 | from web.views.header import header
10 | from web.views.info import info
11 | from web.views.networking import networking
12 | from web.views.partners import partners
13 | from web.views.raffle import raffle
14 | from web.views.speakers import speakers
15 | from web.views.hackathon import hackathon
16 | from web.views.schedule import schedule
17 |
18 |
19 | def index() -> rx.Component:
20 | return rx.box(
21 | rx.script("document.documentElement.lang='es'"),
22 | navbar(),
23 | rx.center(
24 | rx.vstack(
25 | header(),
26 | info(),
27 | event(),
28 | divider(),
29 | partners(),
30 | divider(),
31 | speakers(),
32 | divider(),
33 | hackathon(),
34 | divider(),
35 | networking(),
36 | divider(),
37 | schedule(),
38 | divider(),
39 | raffle(),
40 | divider(),
41 | about(),
42 | spacing=Size.VERY_BIG.value,
43 | align="center",
44 | width="100%"
45 | ),
46 | padding_top=SizeEM.DEFAULT.value,
47 | padding_bottom=SizeEM.VERY_BIG.value
48 | ),
49 | divider(),
50 | footer(),
51 | )
52 |
53 |
54 | app = rx.App(
55 | stylesheets=STYLESHEETS,
56 | style=BASE_STYLE,
57 | head_components=[
58 | rx.script(
59 | src=f"https://www.googletagmanager.com/gtag/js?id={constants.GOOGLE_ANALYTICS_TAG}"
60 | ),
61 | rx.script(
62 | f"""
63 | window.dataLayer = window.dataLayer || [];
64 | function gtag(){{dataLayer.push(arguments);}}
65 | gtag('js', new Date());
66 | gtag('config', '{constants.GOOGLE_ANALYTICS_TAG}');
67 | """
68 | ),
69 | ],
70 | )
71 |
72 | title = "\"Hola Mundo\" day | 7 de mayo | La conferencia de programación de la comunidad para la comunidad"
73 | description = "Conferencia tecnológica sobre programación y desarrollo de software 100% online, gratis, para todos los niveles y donde la comunidad será la verdadera protagonista, ya que se encargará de llevar a cabo los diferentes eventos del día. Charlas, talleres, networking, sorteos y más..."
74 | preview = "https://holamundo.day/preview.jpg"
75 |
76 | app.add_page(
77 | index,
78 | title=title,
79 | description=description,
80 | image=preview,
81 | meta=[
82 | {"name": "og:type", "content": "website"},
83 | {"name": "twitter:card", "content": "summary_large_image"},
84 | {"name": "twitter:site", "content": "@mouredev"},
85 | {"name": "og:title", "content": title},
86 | {"name": "og:description", "content": description},
87 | {"name": "og:image", "content": preview}
88 | ]
89 | )
90 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # "Hola Mundo" day Web
2 |
3 | [](https://python.org)
4 | [](https://reflex.dev)
5 |
6 | ## Proyecto web "Hola Mundo day"
7 |
8 | 
9 |
10 | > Conferencia tecnológica sobre programación y desarrollo de software 100% online, gratis, para todos los niveles y donde la comunidad será la verdadera protagonista, ya que se encargará de llevar a cabo los diferentes eventos del día.
11 |
12 | ### Visita [https://holamundo.day](https://holamundo.day)
13 |
14 | ## Proyecto, configuración y despliegue
15 |
16 | > Tienes toda la información sobre cómo desarrollar, ejecutar y desplegar el proyecto en este otro [sitio web](https://github.com/mouredev/adeviento-web) que he creado usando las mismas tecnologías.
17 |
18 | ## Recursos utilizados
19 |
20 | Inspirado en el grandísimo diseño del sitio web de la fuente [Monaspace](https://monaspace.githubnext.com/) creada por GitHub.
21 |
22 | 
23 | 
24 | 
25 |
26 | * Lenguaje: [Python](https://www.python.org/)
27 | * Framework: [Reflex](https://reflex.dev/)
28 | * Hosting: [Vercel](https://vercel.com/) (Se configura el despliegue estático desde los archivos [vercel.json](./vercel.json) y [build.sh](./build.sh))
29 |
30 | ## Aprende a desarrollar una web como esta
31 |
32 |
33 |
34 | Curso gratis para aprender desarrollo frontend Web con Python puro desde cero con Reflex. Las tecnologías usadas para desarrollar el proyecto de los "Retos de Programación". También tengo un curso de Python desde cero para principiantes.
35 |
36 | [](https://github.com/mouredev/python-web)
37 | [](https://github.com/mouredev/python-web)
38 |
39 | ##  Hola, mi nombre es Brais Moure.
40 | ### Freelance full-stack iOS & Android engineer
41 |
42 | [](https://twitch.tv/mouredev)
43 | [](https://mouredev.com/discord)
44 | [](https://moure.dev)
45 |
46 | [](https://youtube.com/mouredevapps?sub_confirmation=1)
47 | [](https://twitch.com/mouredev)
48 | [](https://mouredev.com/discord)
49 | [](https://twitter.com/mouredev)
50 | 
51 | 
52 |
53 | Soy ingeniero de software desde 2010. Desde 2018 combino mi trabajo desarrollando Apps con la creación de contenido formativo sobre programación y tecnología en diferentes redes sociales como **[@mouredev](https://moure.dev)**.
54 |
55 | ### En mi perfil de GitHub tienes más información
56 |
57 | [](https://github.com/mouredev)
--------------------------------------------------------------------------------
/web/views/header.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.span import span
6 | from web.components.terminal_text import terminal_text
7 | from web.components.ticket import ticket
8 | from web.styles.colors import Color
9 | from web.styles.styles import Size, SizeEM
10 |
11 |
12 | def header() -> rx.Component:
13 | return rx.box(
14 | rx.vstack(
15 | rx.box(
16 | rx.hstack(
17 | _window_icon(),
18 | _window_icon(),
19 | _window_icon(),
20 | rx.box(
21 | rx.text(
22 | "Segunda edición",
23 | size=Size.SMALL.value,
24 | color=Color.PRIMARY.value,
25 | background=Color.BACKGROUND.value,
26 | border_color=Color.BACKGROUND.value,
27 | padding_x=SizeEM.MEDIUM.value,
28 | padding_y=SizeEM.DEFAULT.value,
29 | border_radius=f"{SizeEM.DEFAULT.value} {SizeEM.DEFAULT.value} 0 0"
30 | ),
31 | padding_left=SizeEM.DEFAULT.value
32 | ),
33 | padding_left=SizeEM.DEFAULT.value,
34 | align="center",
35 | height="100%"
36 | ),
37 | background=Color.SECONDARY.value,
38 | position="absolute",
39 | top=SizeEM.ZERO.value,
40 | height=SizeEM.BIG.value,
41 | width="100%"
42 | ),
43 | terminal_text(quoted_text="Hola Mundo", end_text=" day", big=True),
44 | rx.heading(
45 | span("print(", Color.SECONDARY),
46 | span('"', Color.ACCENT),
47 | "La conferencia de programación creada por y para la comunidad",
48 | span('"', Color.ACCENT),
49 | span(")", Color.SECONDARY),
50 | as_="h2"
51 | ),
52 | rx.heading("Día 128 | 7 de mayo | 16:00 CET", as_="h3"),
53 | # ticket(),
54 | rx.flex(
55 | button(
56 | constants.TWITCH_URL,
57 | "twitch.tv/mouredev",
58 | "twitch"
59 | ),
60 | button(
61 | constants.DISCORD_URL,
62 | "discord.gg/mouredev",
63 | "discord"
64 | ),
65 | flex_direction=["column", "row"],
66 | spacing=Size.DEFAULT.value
67 | ),
68 | # rx.link(
69 | # rx.hstack(
70 | # rx.icon(
71 | # "radio",
72 | # size=32,
73 | # color="crimson",
74 | # class_name="blink"
75 | # ),
76 | # rx.heading(
77 | # "En directo",
78 | # # id="countdown",
79 | # color=Color.PRIMARY.value
80 | # ),
81 | # spacing=Size.SMALL.value,
82 | # align="center"
83 | # ),
84 | # href=constants.TWITCH_URL,
85 | # is_external=True
86 | # ),
87 | rx.link(
88 | "#HolaMundoDay",
89 | href="https://twitter.com/hashtag/HolaMundoDay",
90 | is_external=True
91 | ),
92 | # rx.script(src="/js/countdown.js"),
93 | position="relative",
94 | align="center",
95 | spacing=Size.DEFAULT.value,
96 | padding_x=SizeEM.DEFAULT.value,
97 | padding_y=SizeEM.VERY_BIG.value,
98 | border=f"{SizeEM.SMALL.value} solid {Color.SECONDARY.value}",
99 | border_radius=SizeEM.DEFAULT.value
100 | ),
101 | style=styles.container
102 | )
103 |
104 |
105 | def _window_icon() -> rx.Component:
106 | return rx.icon(
107 | "circle",
108 | color=Color.BACKGROUND.value
109 | )
110 |
--------------------------------------------------------------------------------
/web/views/hackathon.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | from web.components.event_text import event_text
3 | from web.components.partner import partner
4 | import web.styles.styles as styles
5 | from web import constants
6 | from web.components.terminal_text import terminal_text
7 | from web.components.text import text
8 | from web.components.button import button
9 | from web.components.print_text import print_text
10 | from web.styles.colors import Color
11 | from web.styles.styles import Size
12 |
13 |
14 | def hackathon() -> rx.Component:
15 | return rx.vstack(
16 | terminal_text(quoted_text="Hackathon"),
17 | # text(
18 | # "Decide los 3 proyectos ganadores durante el evento en directo.",
19 | # True, True, Color.ACCENT
20 | # ),
21 | print_text("Premios: 1º - 600$ | 2º - 300$ | 3º - 100$"),
22 | partner(
23 | "/reflex.svg",
24 | "https://reflex.dev",
25 | ""
26 | ),
27 | rx.text("Reflex es el framework web revolucionario que te permite crear aplicaciones web frontend y backend utilizando Python puro."),
28 | text(
29 | "Intrucciones:",
30 | True, True, Color.ACCENT
31 | ),
32 | event_text("Proyecto: ", "El objetivo de la hackathon era desarrollar un proyecto web utilizando Reflex que sirva para \"ayudar a la comunidad de desarrollo de software\"."),
33 | # button(
34 | # constants.HACKATHON_FORM_URL,
35 | # "Votar",
36 | # "file-input"
37 | # ),
38 | # event_text("Final: ", "Entre los 3 proyectos más votados se realizará una votación el día del evento. Los finalistas podrán hablar en directo sobre su proyecto antes de la votación definitiva."),
39 | text(
40 | "Proyectos presentados:",
41 | True, True, Color.ACCENT
42 | ),
43 | rx.vstack(
44 | _project(
45 | "WebWizard ",
46 | "Carlos Abadía",
47 | "https://webwizard.reflex.run",
48 | "https://github.com/carlosabadia/webwizard",
49 | True
50 | ),
51 | _project(
52 | "Codex me ",
53 | "Giovanny Kelly",
54 | "https://codexme.reflex.run",
55 | "https://github.com/Gioak1993/CodeXme",
56 | True
57 | ),
58 | _project(
59 | "Fonts Web ",
60 | "Nicolas Vargas",
61 | "https://fontsweb.online",
62 | "https://github.com/uprizingFaze/fontsweb",
63 | True
64 | ),
65 | _project(
66 | "Recursos-IT",
67 | "Ricardo",
68 | "https://recursosit.reflex.run",
69 | "https://github.com/Rikmij/RecursosIT-ReflexHacktaton"
70 | ),
71 | _project(
72 | "Comandos de linux",
73 | "Sergio Ruiz",
74 | "https://comandos-de-linux.reflex.run",
75 | "https://github.com/pyramsd/Pagina-de-documentacion-comandos-linux"
76 | ),
77 | _project(
78 | "ReflexLlama",
79 | "Johan Manuel Grisales",
80 | "http://elsoaverso.com:3000",
81 | "https://github.com/johanmanuelle/reflexLlama"
82 | ),
83 | _project(
84 | "AGTool",
85 | "Brahian Arias",
86 | "https://agtool.reflex.run",
87 | "https://github.com/aquelaronte/aquelaronte_git_tool"
88 | ),
89 | _project(
90 | "VSCode Gallery",
91 | "Alberto",
92 | "https://vscodegallery.reflex.run",
93 | "https://github.com/AlbertoAIG/vscode_gallery"
94 | ),
95 | _project(
96 | "DevForum",
97 | "Javier Gonzalez",
98 | "https://devforum-production.up.railway.app",
99 | "https://github.com/JavierGonzalez998/DevForum"
100 | ),
101 | _project(
102 | "MagicMP3web",
103 | "Jonathan B.V",
104 | "https://magic-mp3-rx.reflex.run",
105 | "https://github.com/MagoOscuro91/Magic_MP3_web"
106 | ),
107 | _project(
108 | "Lector de documentos",
109 | "Andres Perez",
110 | "https://pyrumind.reflex.run",
111 | "https://github.com/andreselcientifico/PDF-TRANSLATE-WEB"
112 | ),
113 | _project(
114 | "Docflow",
115 | "Miguel Cárdenas",
116 | "https://docflow.reflex.run",
117 | "https://github.com/miguelcsx/docflow"
118 | ),
119 | _project(
120 | "resources4dev",
121 | "Ylenia Díaz",
122 | "https://resource4dev.reflex.run",
123 | "https://github.com/YleniaDiaz/hackathon-moure-dev"
124 | ),
125 | _project(
126 | "Componentes predefinidos",
127 | "Eric",
128 | "https://predefined-components-ericcode29.reflex.run",
129 | "https://github.com/ericcode29/hackaton_mouredev"
130 | ),
131 | _project(
132 | "My portafolio",
133 | "Daniel Santiago Angel",
134 | "https://danidev.reflex.run",
135 | "https://github.com/DANIElPEZ/My-web"
136 | ),
137 | ),
138 | rx.text("¿Quieres aprender Reflex? Tengo un curso gratis."),
139 | button(
140 | constants.REFLEX_TUTORIAL_URL,
141 | "Curso",
142 | "file-input",
143 | True,
144 | id="networking"
145 | ),
146 | spacing=Size.DEFAULT.value,
147 | style=styles.container
148 | )
149 |
150 |
151 | def _project(name: str, author: str, url: str, github: str, winner=False) -> rx.Component:
152 | return rx.hstack(
153 | button(url, icon="link", secondary=True),
154 | button(github, icon="github", secondary=True),
155 | event_text(f"{name} ", author),
156 | rx.cond(
157 | winner,
158 | rx.icon("award")
159 | ),
160 | align="center"
161 | )
162 |
--------------------------------------------------------------------------------
/web/views/speakers.py:
--------------------------------------------------------------------------------
1 | import reflex as rx
2 | import web.styles.styles as styles
3 | from web import constants
4 | from web.components.button import button
5 | from web.components.event_text import event_text
6 | from web.components.print_text import print_text
7 | from web.components.terminal_text import terminal_text
8 | from web.components.text import text
9 | from web.styles.colors import Color
10 | from web.styles.styles import Size
11 |
12 |
13 | def speakers() -> rx.Component:
14 | return rx.vstack(
15 | terminal_text(quoted_text="Charlas"),
16 | _speaker(
17 | "¿Qué hace que un GitHub sea \"bueno\"?",
18 | "Github es la red social de los programadores y nuestro portfolio de trabajo. Es la ventana a nuestra experiencia técnica y las empresas le dan mucha importancia. Por esta razón, si somos desarrolladores de software, deberíamos preguntarnos... ¿Sé cómo presentarme en Github? En esta charla aprenderás tips y sugerencias para que tu profile de Github sea llamativo, además te contaré lo que me ha ayudado a mi a mejorar mi perfil.",
19 | "Pablo Marino",
20 | "https://www.linkedin.com/in/pablomarinotech",
21 | "/speakers/pablo_marino.jpg",
22 | "https://youtu.be/FKuwHUzAkQ4"
23 |
24 | ),
25 | _speaker(
26 | "Ser autodidacta en el mundo del software",
27 | "Hablaré sobre cómo aprender a ser autodidacta y contaré mi experiencia de cómo me cambió la vida. Cómo en el mundo del desarrollo necesitas estar siempre al día y cómo un desarrollador nunca para de aprender. Además, explicaré como bonus las ventajas de usar Jetpack Compose y SwiftUI.",
28 | "Kevin Morales",
29 | "https://www.kevinhomorales.com",
30 | "/speakers/kevin_morales.jpg",
31 | "https://youtu.be/PJy7zyPnXiM"
32 | ),
33 | _speaker(
34 | "Soft skills que todo programador debería tener",
35 | "En ocasiones, priorizamos el conocimiento técnico sobre el desarrollo de habilidades blandas. En esta charla exploraré la importancia de equilibrar ambos aspectos para el crecimiento profesional.",
36 | "Geraldhy Messu",
37 | "https://github.com/gerald-M14",
38 | "/speakers/geraldhy_messu.jpg",
39 | "https://youtu.be/IUf0L9ohYV4"
40 | ),
41 | _speaker(
42 | "Cómo entrar el mundo de freelance internacional: motivaciones, estrategias y retos",
43 | "El freelancing es una oportunidad genial para ganar dinero desde cualquier lugar del mundo, usando tus habilidades y destrezas. Tiene sentido considerar esta opción y entender sus ventajas y desventajas, sin importar el nivel. Como Upwork Top Rated Plus, quisiera compartir mis experiencias, métodos y estrategias.",
44 | "Dmitry Zhukov",
45 | "https://www.linkedin.com/in/dmitryjima",
46 | "/speakers/dmitry_zhukov.jpg",
47 | "https://youtu.be/MSFnVxafA7E"
48 | ),
49 | _speaker(
50 | "¡No dejes para mañana tu código de hoy! Cómo vencer la procrastinación en programación",
51 | "Como alguien que ha superado la procrastinación en programación, estoy aquí para compartir cómo logré vencer este obstáculo. Aprendí a establecer metas claras, dividir proyectos en tareas manejables y eliminar distracciones. Con determinación y autodisciplina, logré mejorar mi productividad y calidad de trabajo. Ahora quiero ayudarte a hacer lo mismo. Juntos, podemos superar la procrastinación y alcanzar nuestro máximo potencial como desarrolladores.",
52 | "José Ángel Polanco",
53 | "https://www.instagram.com/joseangelpolanco77",
54 | "/speakers/jose_angel.jpg",
55 | "https://youtu.be/0qA7wUzMwqg"
56 | ),
57 | _speaker(
58 | "Desbloquea tu creatividad: Prompt engineering con Gemini AI y ChatGPT",
59 | "¡Despierta tu lado creativo! Aprende a usar Prompt Engineering con Gemini AI y ChatGPT para generar textos increíbles y soluciones creativas para tus proyectos, desde recomendaciones en Markdown hasta estructuras de tú código optimizadas.",
60 | "Juliana Castillo",
61 | "https://www.linkedin.com/in/julianacastilloaraujo",
62 | "/speakers/juliana_castillo.jpg",
63 | "https://youtu.be/REhrWtTQsuo"
64 | ),
65 | _speaker(
66 | "UX Design",
67 | "Explora las claves del diseño de experiencia de usuario para crear productos que no solo satisfagan, sino que deleiten. Descubre cómo la empatía y la innovación se unen para transformar la interacción usuario-producto.",
68 | "Angela Martínez",
69 | "https://www.linkedin.com/in/amfprogramacion/",
70 | "/speakers/angela_martinez.jpg",
71 | "https://youtu.be/I7EQtk1Y1q0"
72 | ),
73 |
74 | terminal_text(quoted_text="Talleres"),
75 | _speaker(
76 | "Open Source: Configura tu editor, consola y entorno para contribuir a proyectos de código abierto",
77 | "Taller práctico donde te explicarán paso a paso cómo configurar tu entorno de desarrollo para contribuir a proyectos de código abierto, repasando comandos útiles, configuración de SSH, personalización del editor (Visual Studio Code), etc. Como ejemplo práctico, configuraremos un repo desde cero para contribuir al roadmap de la comunidad.",
78 | "Jamer José",
79 | "https://jamerrq.deno.dev",
80 | "/speakers/jamer_jose.jpg",
81 | "https://youtu.be/1YDgrgX-70c"
82 | ),
83 | _speaker(
84 | "Crea tu propio bot de Telegram con Python",
85 | "Descubre cómo crear un bot de Telegram utilizando la biblioteca Telebot de Python. Explorarás la interacción con la API de Telegram y aprenderás a configurar respuestas automáticas a los mensajes.",
86 | "Karoll Escalante",
87 | "https://www.linkedin.com/in/karollescalanteg",
88 | "/speakers/karoll_escalante.jpg",
89 | "https://youtu.be/wt5IVr1eibE"
90 | ),
91 | _speaker(
92 | "Desmitificando el Testing: Aprende a probar como un profesional",
93 | "¿Te apasiona el mundo del software y quieres aprender a probar como un profesional? En este taller práctico te guiaré a través de los fundamentos del testing de software, desde los conceptos básicos hasta las técnicas más avanzadas.",
94 | "María Morán",
95 | "https://twitter.com/_mariamoraan",
96 | "/speakers/maria_moran.jpg",
97 | "https://youtu.be/rP31-GNMgok"
98 | ),
99 | text(
100 | "NO se han admitido propuestas de personas con experiencia como ponentes.",
101 | True, True, Color.ACCENT
102 | ),
103 | rx.text("En el \"Hola Mundo\" day la comunidad es la protagonista. No hace falta que tengas años de experiencia en el sector o te dediques profesionalmente a dar ponencias. Aquí no hay limitaciones. No importa si has comenzado a estudiar o llevas programando desde hace décadas."),
104 | rx.text("Por suerte, este tipo de eventos están llenos de referentes conocidos por un gran número de personas, pero en este caso no será así. Cualquier persona puede compartir conocimientos de gran valor."),
105 | event_text("Charla: ", "Una ponencia relacionada con el mundo de la programación o el desarrollo de sofware que esté dirigida a todos los niveles. Que sirva para enseñar o motivar."),
106 | event_text("Taller: ", "Un espacio dedicado a aprender sobre programación y desarrollo de software. Debe ser generalista y comprensible por personas que estén empezando."),
107 | print_text("Su duración debe ser de entre 15/20 minutos, con una ronda de preguntas de 5 minutos. La comunidad será la encargara de votar las propuestas seleccionadas (7 charlas y 3 talleres). Cada charla y taller será remunerado con 100$."),
108 | rx.flex(
109 | # button(
110 | # constants.VOTE_FORM_URL,
111 | # "Votar",
112 | # "file-input"
113 | # ),
114 | button(
115 | "https://www.youtube.com/playlist?list=PLNdFk2_brsRdi01BE_sWyQ8e9FBmdrxGz",
116 | "Ver edición 2023",
117 | "youtube",
118 | True,
119 | id="hackathon"
120 | ),
121 | spacing=Size.DEFAULT.value,
122 | flex_direction=["column", "row"]
123 | ),
124 | spacing=Size.DEFAULT.value,
125 | style=styles.container
126 | )
127 |
128 |
129 | def _speaker(title: str, body: str, author: str, url: str, avatar: str, video: str) -> rx.Component:
130 | return rx.flex(
131 | rx.image(
132 | src=avatar,
133 | width="180px",
134 | height="180px",
135 | border_radius="10px"
136 | ),
137 | rx.vstack(
138 | event_text(
139 | title,
140 | big=True
141 | ),
142 | rx.text(body),
143 | rx.link(
144 | f"- {author}",
145 | href=url,
146 | is_external=True
147 | ),
148 | button(
149 | video,
150 | "Ver vídeo",
151 | "youtube",
152 | True
153 | ),
154 | rx.divider()
155 | ),
156 | spacing=Size.DEFAULT.value,
157 | flex_direction=["column-reverse", "row"]
158 | )
159 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------