From ba504d929fc2c872d628fae9cb9ffeb7f4da3083 Mon Sep 17 00:00:00 2001 From: Brais Moure Date: Fri, 20 Sep 2024 12:36:45 +0200 Subject: [PATCH] Pro --- link_bio/assets/css/styles.css | 9 ++++----- link_bio/assets/icons/book.svg | 8 +++++++- link_bio/assets/icons/checkemail.svg | 8 +++++++- link_bio/assets/icons/code.svg | 8 +++++++- link_bio/assets/icons/coffee.svg | 12 +++++++++--- link_bio/assets/icons/discord.svg | 8 +++++++- link_bio/assets/icons/donate.svg | 13 ++++++++++++- link_bio/assets/icons/email.svg | 8 +++++++- link_bio/assets/icons/git.svg | 8 +++++++- link_bio/assets/icons/github.svg | 8 +++++++- link_bio/assets/icons/instagram.svg | 8 +++++++- link_bio/assets/icons/js.svg | 7 ++++++- link_bio/assets/icons/linkedin.svg | 8 +++++++- link_bio/assets/icons/news.svg | 7 ++++++- link_bio/assets/icons/pro.svg | 26 ++++++++++++++++++++++++++ link_bio/assets/icons/python.svg | 7 ++++++- link_bio/assets/icons/setup.svg | 8 +++++++- link_bio/assets/icons/spotify.svg | 8 +++++++- link_bio/assets/icons/sql.svg | 7 ++++++- link_bio/assets/icons/tiktok.svg | 8 +++++++- link_bio/assets/icons/twitch.svg | 8 +++++++- link_bio/assets/icons/x.svg | 8 +++++++- link_bio/assets/icons/youtube.svg | 8 +++++++- link_bio/link_bio/constants.py | 1 + link_bio/link_bio/styles/colors.py | 3 ++- link_bio/link_bio/views/index_links.py | 8 ++++++++ 26 files changed, 191 insertions(+), 29 deletions(-) create mode 100644 link_bio/assets/icons/pro.svg diff --git a/link_bio/assets/css/styles.css b/link_bio/assets/css/styles.css index ea6204d1..a231ecc7 100644 --- a/link_bio/assets/css/styles.css +++ b/link_bio/assets/css/styles.css @@ -1,12 +1,11 @@ +body { + background-color: #0C151D; +} + @keyframes blinker { 50% { opacity: 0; } } .blink { animation: blinker 1.5s linear infinite; -} - -/* Eliminar en futuras versiones de Reflex */ -:root, .light, .light-theme { - --color-page-background: #0C151D !important; } \ No newline at end of file diff --git a/link_bio/assets/icons/book.svg b/link_bio/assets/icons/book.svg index e054679a..a70c86a4 100644 --- a/link_bio/assets/icons/book.svg +++ b/link_bio/assets/icons/book.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/checkemail.svg b/link_bio/assets/icons/checkemail.svg index ded12eae..be232834 100644 --- a/link_bio/assets/icons/checkemail.svg +++ b/link_bio/assets/icons/checkemail.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/code.svg b/link_bio/assets/icons/code.svg index 0178dd77..fd23a68c 100644 --- a/link_bio/assets/icons/code.svg +++ b/link_bio/assets/icons/code.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/coffee.svg b/link_bio/assets/icons/coffee.svg index 5614ae4b..6d296633 100644 --- a/link_bio/assets/icons/coffee.svg +++ b/link_bio/assets/icons/coffee.svg @@ -1,3 +1,9 @@ - - Buy Me A Coffee \ No newline at end of file + + Buy Me A Coffee + + + \ No newline at end of file diff --git a/link_bio/assets/icons/discord.svg b/link_bio/assets/icons/discord.svg index 3865c5df..4a6a9a92 100644 --- a/link_bio/assets/icons/discord.svg +++ b/link_bio/assets/icons/discord.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/donate.svg b/link_bio/assets/icons/donate.svg index f0e400d3..c010564b 100644 --- a/link_bio/assets/icons/donate.svg +++ b/link_bio/assets/icons/donate.svg @@ -1 +1,12 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/email.svg b/link_bio/assets/icons/email.svg index 96819caa..891129c5 100644 --- a/link_bio/assets/icons/email.svg +++ b/link_bio/assets/icons/email.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/git.svg b/link_bio/assets/icons/git.svg index 82a2decf..1fc5961f 100644 --- a/link_bio/assets/icons/git.svg +++ b/link_bio/assets/icons/git.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/github.svg b/link_bio/assets/icons/github.svg index 994d769b..e7b9d2c3 100644 --- a/link_bio/assets/icons/github.svg +++ b/link_bio/assets/icons/github.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/instagram.svg b/link_bio/assets/icons/instagram.svg index 55deb516..ff65e3cb 100644 --- a/link_bio/assets/icons/instagram.svg +++ b/link_bio/assets/icons/instagram.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/js.svg b/link_bio/assets/icons/js.svg index c4e051d8..a8691483 100644 --- a/link_bio/assets/icons/js.svg +++ b/link_bio/assets/icons/js.svg @@ -1 +1,6 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/link_bio/assets/icons/linkedin.svg b/link_bio/assets/icons/linkedin.svg index 125b7037..3dfb15d0 100644 --- a/link_bio/assets/icons/linkedin.svg +++ b/link_bio/assets/icons/linkedin.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/news.svg b/link_bio/assets/icons/news.svg index d7c31d6f..fa46111d 100644 --- a/link_bio/assets/icons/news.svg +++ b/link_bio/assets/icons/news.svg @@ -1 +1,6 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/link_bio/assets/icons/pro.svg b/link_bio/assets/icons/pro.svg new file mode 100644 index 00000000..53f48a7b --- /dev/null +++ b/link_bio/assets/icons/pro.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/python.svg b/link_bio/assets/icons/python.svg index 4da0360e..ef35029c 100644 --- a/link_bio/assets/icons/python.svg +++ b/link_bio/assets/icons/python.svg @@ -1 +1,6 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/link_bio/assets/icons/setup.svg b/link_bio/assets/icons/setup.svg index 7cee037a..9f27dfbe 100644 --- a/link_bio/assets/icons/setup.svg +++ b/link_bio/assets/icons/setup.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/spotify.svg b/link_bio/assets/icons/spotify.svg index 331315fa..6237020b 100644 --- a/link_bio/assets/icons/spotify.svg +++ b/link_bio/assets/icons/spotify.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/sql.svg b/link_bio/assets/icons/sql.svg index ee614c6f..27082214 100644 --- a/link_bio/assets/icons/sql.svg +++ b/link_bio/assets/icons/sql.svg @@ -1 +1,6 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/link_bio/assets/icons/tiktok.svg b/link_bio/assets/icons/tiktok.svg index eec6ddb4..88170504 100644 --- a/link_bio/assets/icons/tiktok.svg +++ b/link_bio/assets/icons/tiktok.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/twitch.svg b/link_bio/assets/icons/twitch.svg index 7917a648..031f2427 100644 --- a/link_bio/assets/icons/twitch.svg +++ b/link_bio/assets/icons/twitch.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/x.svg b/link_bio/assets/icons/x.svg index 35dbf971..86ebf022 100644 --- a/link_bio/assets/icons/x.svg +++ b/link_bio/assets/icons/x.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/assets/icons/youtube.svg b/link_bio/assets/icons/youtube.svg index 587fc041..62480085 100644 --- a/link_bio/assets/icons/youtube.svg +++ b/link_bio/assets/icons/youtube.svg @@ -1 +1,7 @@ - \ No newline at end of file + + + + \ No newline at end of file diff --git a/link_bio/link_bio/constants.py b/link_bio/link_bio/constants.py index 0fb11904..8e1fbb9b 100644 --- a/link_bio/link_bio/constants.py +++ b/link_bio/link_bio/constants.py @@ -10,6 +10,7 @@ LINKEDIN_URL = "https://linkedin.com/in/braismoure/" # Comunidad +PRO_URL = "https://mouredev.pro" TWITCH_URL = "https://twitch.tv/mouredev" YOUTUBE_URL = "https://youtube.com/@mouredev" YOUTUBE_SECONDARY_URL = "https://youtube.com/@mouredevtv" diff --git a/link_bio/link_bio/styles/colors.py b/link_bio/link_bio/styles/colors.py index 66b47cea..4cc63d07 100644 --- a/link_bio/link_bio/styles/colors.py +++ b/link_bio/link_bio/styles/colors.py @@ -5,8 +5,9 @@ class Color(Enum): PRIMARY = "#14A1F0" SECONDARY = "#087ec4" BACKGROUND = "#0C151D" - CONTENT = "#171F26", + CONTENT = "#171F26" PURPLE = "#9146ff" + PRO = "#FF5500" class TextColor(Enum): diff --git a/link_bio/link_bio/views/index_links.py b/link_bio/link_bio/views/index_links.py index a2d77886..10221a61 100644 --- a/link_bio/link_bio/views/index_links.py +++ b/link_bio/link_bio/views/index_links.py @@ -12,6 +12,14 @@ def index_links() -> rx.Component: return rx.vstack( title("Comunidad"), + link_button( + "¡Muy pronto! mouredev pro", + "Estudia programación de manera diferente", + "/icons/pro.svg", + const.PRO_URL, + True, + Color.PRO.value + ), link_button( "Cursos gratis", "Consulta mis tutoriales para aprender programación",