Merge branch 'master' of https://git.wmi.amu.edu.pl/s352038/BlurMe
This commit is contained in:
commit
b149973e93
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,7 +1,5 @@
|
|||||||
*.db
|
*.db
|
||||||
|
*.py[cod]
|
||||||
*.py[cod]
|
.web
|
||||||
|
.web/
|
||||||
.web/
|
|
||||||
|
|
||||||
__pycache__/
|
__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)
|
@ -47,7 +47,7 @@ def menu_button() -> rx.Component:
|
|||||||
],
|
],
|
||||||
rx.menu_divider(),
|
rx.menu_divider(),
|
||||||
rx.menu_item(
|
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.menu_item(
|
||||||
rx.link("Contact", href="mailto:founders@=reflex.dev", width="100%")
|
rx.link("Contact", href="mailto:founders@=reflex.dev", width="100%")
|
||||||
|
Loading…
Reference in New Issue
Block a user