From 834ba049dcb64fc80df5f9c79e14f2ba225c3084 Mon Sep 17 00:00:00 2001 From: Brais Moure Date: Mon, 8 Jul 2024 14:48:40 +0200 Subject: [PATCH] Curso de JavaScript --- link_bio/assets/icons/js.svg | 1 + link_bio/link_bio/constants.py | 1 + link_bio/link_bio/views/courses_links.py | 6 ++++++ link_bio/requirements.txt | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 link_bio/assets/icons/js.svg diff --git a/link_bio/assets/icons/js.svg b/link_bio/assets/icons/js.svg new file mode 100644 index 00000000..c4e051d8 --- /dev/null +++ b/link_bio/assets/icons/js.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/link_bio/link_bio/constants.py b/link_bio/link_bio/constants.py index 230cd0b3..0fb11904 100644 --- a/link_bio/link_bio/constants.py +++ b/link_bio/link_bio/constants.py @@ -37,6 +37,7 @@ # Cursos CODE_CHALLENGES_URL = "https://retosdeprogramacion.com" +JS_COURSE_URL = "https://mouredev.link/javascript" PYTHON_COURSE_URL = "https://mouredev.link/python" GIT_COURSE_URL = "https://mouredev.link/git" SQL_COURSE_URL = "https://mouredev.link/sql" diff --git a/link_bio/link_bio/views/courses_links.py b/link_bio/link_bio/views/courses_links.py index 34b4d88c..06e615bf 100644 --- a/link_bio/link_bio/views/courses_links.py +++ b/link_bio/link_bio/views/courses_links.py @@ -16,6 +16,12 @@ def courses_links() -> rx.Component: const.CODE_CHALLENGES_URL, highlight_color=Color.SECONDARY.value ), + link_button( + "JavaScript desde cero", + "¡Nuevo! Curso en desarrollo", + "/icons/js.svg", + const.JS_COURSE_URL + ), link_button( "Python desde cero", "Curso de +44h: Fundamentos, frontend, backend, testing...", diff --git a/link_bio/requirements.txt b/link_bio/requirements.txt index 5c9be972..6e838e81 100644 --- a/link_bio/requirements.txt +++ b/link_bio/requirements.txt @@ -1,4 +1,4 @@ -pip==24.0 +pip==24.1.2 reflex==0.4.5 python-dotenv==1.0.1 supabase==2.3.5