Compare commits
4 Commits
d3a1c28d94
...
a717861246
Author | SHA1 | Date | |
---|---|---|---|
a717861246 | |||
b149973e93 | |||
a0e4d8cf22 | |||
|
22c002a683 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,7 +1,5 @@
|
||||
*.db
|
||||
|
||||
*.py[cod]
|
||||
|
||||
.web
|
||||
.web/
|
||||
|
||||
__pycache__/
|
8
blurme/components/about.py
Normal file
8
blurme/components/about.py
Normal 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
7
blurme/pages/about.py
Normal 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)
|
@ -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!",
|
||||
|
@ -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%")
|
||||
|
Loading…
Reference in New Issue
Block a user