This commit is contained in:
markrz12 2023-12-12 21:28:41 +01:00
commit e93c71031b
8 changed files with 89 additions and 6 deletions

5
_windows/git.xml Normal file
View File

@ -0,0 +1,5 @@
<application>
<component name="Git.Application.Settings">
<option name="SSH_EXECUTABLE" value="IDEA_SSH" />
</component>
</application>

5
_windows/laf.xml Normal file
View File

@ -0,0 +1,5 @@
<application>
<component name="LafManager">
<laf class-name="com.intellij.ide.ui.laf.darcula.DarculaLaf" />
</component>
</application>

View File

@ -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
)
)
)

1
codestyles/Default.xml Normal file
View File

@ -0,0 +1 @@
<code_scheme name="Default" version="173" />

5
colors.scheme.xml Normal file
View File

@ -0,0 +1,5 @@
<application>
<component name="EditorColorsManagerImpl">
<global_color_scheme name="Darcula" />
</component>
</application>

6
debugger.xml Normal file
View File

@ -0,0 +1,6 @@
<application>
<component name="XDebuggerSettings">
<data-views />
<general />
</component>
</application>

6
editor.xml Normal file
View File

@ -0,0 +1,6 @@
<application>
<component name="DefaultFont">
<option name="FONT_SIZE" value="18" />
<option name="FONT_SCALE" value="1.5" />
</component>
</application>

13
vcs.xml Normal file
View File

@ -0,0 +1,13 @@
<application>
<component name="GitRememberedInputs">
<option name="visitedUrls">
<list>
<UrlAndUserName>
<option name="url" value="https://git.wmi.amu.edu.pl/s352038/BlurMe.git" />
<option name="userName" value="" />
</UrlAndUserName>
</list>
</option>
<option name="cloneParentDir" value="C:\Users\Dell\Desktop\Wszystko\studia\modelowanie matematyczne\programowanie\python" />
</component>
</application>