Compare commits

...

4 Commits

5 changed files with 21 additions and 8 deletions

4
.gitignore vendored
View File

@ -1,7 +1,5 @@
*.db
*.py[cod]
.web
.web/
__pycache__/

View File

@ -0,0 +1,8 @@
import reflex as rx
def about_content() -> rx.Component:
return rx.box(
rx.h1("About BlurMe"),
rx.p("BlurMe is an awesome app that blurs faces and license plates on photos."),
# Dodaj więcej treści o aplikacji BlurMe...
)

7
blurme/pages/about.py Normal file
View File

@ -0,0 +1,7 @@
from blurme.components import about
about_page = about.template(
route="/about",
title="About BlurMe",
description="Learn more about the BlurMe app and its features.",
)(about.about_content)

View File

@ -8,7 +8,7 @@ import reflex as rx
@template(route="/", title="Strona główna", image = "/home-icon.png")
def index() -> rx.Component:
return rx.vstack(
rx.heading("Witaj w BlurMe!", font_size="3em", margin_bottom="25px", background_image="linear-gradient(271.68deg, #7566fe 0.75%, #f96caf 88.52%)", background_clip="text", padding = "10px"),
rx.heading("Witaj w BlurMe!", font_size="3em", margin_bottom="25px", background_image="linear-gradient( 64.5deg, rgba(245,116,185,1) 14.7%, rgba(89,97,223,1) 88.7% )", background_clip="text", padding = "10px"),
rx.wrap(
rx.hstack(
rx.vstack(rx.text("Aplikacja do anonimizacji zdjęć: usunięcie wybranych informacji identyfikujących ze zdjęć z wydarzeń i miejsc publicznych nigdy nie było tak proste!",

View File

@ -47,7 +47,7 @@ def menu_button() -> rx.Component:
],
rx.menu_divider(),
rx.menu_item(
rx.link("About", href="https://github.com/reflex-dev", width="100%")
rx.link("About", href="/about", width="100%")
),
rx.menu_item(
rx.link("Contact", href="mailto:founders@=reflex.dev", width="100%")