MCPcopy Create free account
hub / github.com/codingforentrepreneurs/full-stack-python / contact_page

Function contact_page

full_stack_python/contact/page.py:31–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 )
30
31def contact_page() -> rx.Component:
32
33 my_child = rx.vstack(
34 rx.heading("Contact Us", size="9"),
35 rx.cond(state.ContactState.did_submit, state.ContactState.thank_you, ""),
36 rx.desktop_only(
37 rx.box(
38 form.contact_form(),
39 width='50vw'
40 )
41 ),
42 rx.tablet_only(
43 rx.box(
44 form.contact_form(),
45 width='75vw'
46 )
47 ),
48 rx.mobile_only(
49 rx.box(
50 form.contact_form(),
51 width='95vw'
52 )
53 ),
54 spacing="5",
55 justify="center",
56 align="center",
57 min_height="85vh",
58 id='my-child'
59 )
60 return base_page(my_child)

Callers

nothing calls this directly

Calls 1

base_pageFunction · 0.85

Tested by

no test coverage detected