diff --git a/_windows/git.xml b/_windows/git.xml new file mode 100644 index 0000000..a8092bd --- /dev/null +++ b/_windows/git.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/_windows/laf.xml b/_windows/laf.xml new file mode 100644 index 0000000..c1f98d9 --- /dev/null +++ b/_windows/laf.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/blurme/pages/dashboard.py b/blurme/pages/dashboard.py index 5abe2ab..97949e3 100644 --- a/blurme/pages/dashboard.py +++ b/blurme/pages/dashboard.py @@ -3,14 +3,46 @@ from blurme.templates import template import reflex as rx +ICON_EMAIL = "assets/email-icon.png" +ICON_PHONE = "assets/phone-icon.png" @template(route="/dashboard", title="Kontakt", image="/contact-icon.png") +# def dashboard() -> rx.Component: +# """The dashboard page. +# +# Returns: +# The UI for the dashboard page. +# """ +# section_style = {"background-color": "#f5f5f5", "padding": "10px", "margin-bottom": "20px"} +# icon_style = {"width": "20px", "height": "20px", "margin-right": "10px"} +# heading_style = {"font-weight": "bold", "font-family": "Arial, sans-serif"} +# +# return rx.fragment( +# rx.heading("Kontakt", font_size="3em"), +# rx.text("Witaj na stronie Kontaktowej w aplikacji BlurMe!"), +# rx.text( +# "Jesteśmy dostępni dla Ciebie na różnych platformach. " +# "Skontaktuj się z nami, gdy tylko masz pytania, sugestie lub " +# "po prostu chcesz porozmawiać o naszej aplikacji." +# ), +# rx.image(src=ICON_EMAIL, alt="Email icon", style=icon_style), +# rx.heading("E-mail", level=2, style=heading_style), +# rx.text("Zapraszamy do napisania do nas na adres: contact@blurme.com", style=section_style), +# rx.image(src=ICON_PHONE, alt="Phone icon", style=icon_style), +# rx.heading("Telefon", level=2, style=heading_style), +# rx.text("Możesz także zadzwonić pod numer: +48 123 456 789", style=section_style), +# ) + def dashboard() -> rx.Component: """The dashboard page. Returns: The UI for the dashboard page. """ + container_style = {"background-color": "#f5f5f5", "padding": "10px", "margin-bottom": "20px", "display": "flex", "align-items": "center"} + icon_style = {"width": "20px", "height": "20px", "margin-right": "10px"} + heading_style = {"font-weight": "bold", "font-family": "Arial, sans-serif"} + return rx.fragment( rx.heading("Kontakt", font_size="3em"), rx.text("Witaj na stronie Kontaktowej w aplikacji BlurMe!"), @@ -19,10 +51,20 @@ def dashboard() -> rx.Component: "Skontaktuj się z nami, gdy tylko masz pytania, sugestie lub " "po prostu chcesz porozmawiać o naszej aplikacji." ), - rx.heading("E-mail:", level=3), - rx.text("Zapraszamy do napisania do nas na adres: contact@blurme.com"), - rx.heading("Telefon:", level=3), - rx.text("Możesz także zadzwonić pod numer: +48 123 456 789"), - rx.heading("Media Społecznościowe:", level=3), - rx.text("Odwiedź nas na Facebooku, Twitterze i Instagramie @BlurMeApp") + rx.fragment( + rx.fragment( + rx.image(src=ICON_EMAIL, alt="Email icon", style=icon_style), + rx.heading("E-mail", level=3, style=heading_style), + rx.text("Zapraszamy do napisania do nas na adres: contact@blurme.com"), + style=container_style + ) + ), + rx.fragment( + rx.fragment( + rx.image(src=ICON_PHONE, alt="Phone icon", style=icon_style), + rx.heading("Telefon", level=3, style=heading_style), + rx.text("Możesz także zadzwonić pod numer: +48 123 456 789"), + style=container_style + ) + ) ) diff --git a/codestyles/Default.xml b/codestyles/Default.xml new file mode 100644 index 0000000..e94f32a --- /dev/null +++ b/codestyles/Default.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/colors.scheme.xml b/colors.scheme.xml new file mode 100644 index 0000000..39308cd --- /dev/null +++ b/colors.scheme.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/debugger.xml b/debugger.xml new file mode 100644 index 0000000..16f98b3 --- /dev/null +++ b/debugger.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/editor.xml b/editor.xml new file mode 100644 index 0000000..19bd26a --- /dev/null +++ b/editor.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/vcs.xml b/vcs.xml new file mode 100644 index 0000000..6eb3f49 --- /dev/null +++ b/vcs.xml @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file