Skip to content

Commit b8ce897

Browse files
committed
Newsletter
1 parent f8d0009 commit b8ce897

8 files changed

Lines changed: 24 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Python Web
22

33
[![Python](https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010)](https://python.org)
4-
[![Reflex](https://img.shields.io/badge/Reflex-0.4.2+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://reflex.dev)
4+
[![Reflex](https://img.shields.io/badge/Reflex-0.4.4+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://reflex.dev)
55

66
## Curso de 6 horas en vídeo para aprender desarrollo web frontend con Python puro y Reflex desde cero.
77

link_bio/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Web de links de MoureDev
22

33
[![Python](https://img.shields.io/badge/Python-3.11+-yellow?style=for-the-badge&logo=python&logoColor=white&labelColor=101010)](https://python.org)
4-
[![FastAPI](https://img.shields.io/badge/Reflex-0.4.2+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://fastapi.tiangolo.com)
4+
[![FastAPI](https://img.shields.io/badge/Reflex-0.4.4+-5646ED?style=for-the-badge&logo=reflex&logoColor=white&labelColor=101010)](https://fastapi.tiangolo.com)
55

66
## Proyecto desarrollado con [Python](https://www.python.org/) y [Reflex](https://reflex.dev/) que representa un sitio web personal estilo "[link in bio](https://moure.dev/)"
77

link_bio/assets/icons/news.svg

Lines changed: 1 addition & 0 deletions
Loading

link_bio/link_bio/components/featured_link.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import reflex as rx
22
import link_bio.styles.styles as styles
3-
from link_bio.styles.styles import Size, Spacing
3+
from link_bio.styles.styles import Size, Spacing, Color
44
from link_bio.model.Featured import Featured
55

66

@@ -10,6 +10,7 @@ def featured_link(featured: Featured) -> rx.Component:
1010
rx.image(
1111
src=featured.image,
1212
border_radius=Size.DEFAULT.value,
13+
background=Color.CONTENT.value
1314
),
1415
rx.text(
1516
featured.title,

link_bio/link_bio/constants.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
YOUTUBE_SECONDARY_URL = "https://youtube.com/@mouredevtv"
1616
DISCORD_URL = "https://discord.gg/mouredev"
1717

18+
# Newsletter
19+
NEWSLETTER_URL = "https://newsletter.moure.dev"
20+
1821
# Recursos y más
1922
BOOK_URL = "https://mouredev.com/libro-git"
2023
BOOKS_URL = "https://amazon.es/shop/mouredev/list/2ZIHJJFJ9AVZ3"

link_bio/link_bio/views/courses_links.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ def courses_links() -> rx.Component:
5353
"/icons/youtube.svg",
5454
const.YOUTUBE_URL
5555
),
56+
link_button(
57+
"mouredev.log",
58+
"La newsletter de la comunidad para mantenerse al día",
59+
"/icons/news.svg",
60+
const.NEWSLETTER_URL
61+
),
5662
link_button(
5763
"YouTube [canal secundario]",
5864
"Emisiones en directo destacadas",

link_bio/link_bio/views/index_links.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ def index_links() -> rx.Component:
4545
const.YOUTUBE_SECONDARY_URL
4646
),
4747

48+
title("Newsletter"),
49+
link_button(
50+
"mouredev.log",
51+
"La newsletter de la comunidad para mantenerse al día",
52+
"/icons/news.svg",
53+
const.NEWSLETTER_URL,
54+
highlight_color=Color.SECONDARY.value
55+
),
56+
4857
rx.cond(
4958
PageState.featured_info,
5059
rx.vstack(

link_bio/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pip==24.0
2-
reflex==0.4.2
2+
reflex==0.4.4
33
python-dotenv==1.0.1
44
supabase==2.3.5
55
configcat-client==9.0.2

0 commit comments

Comments
 (0)