-
Notifications
You must be signed in to change notification settings - Fork 231
ENG-7551: add booked page #1606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| import reflex as rx | ||
|
|
||
| from pcweb.components.docpage.navbar import navbar | ||
| from pcweb.pages.framework.index_colors import index_colors | ||
| from pcweb.pages.framework.views.footer_index import footer_index | ||
| import reflex_ui as ui | ||
| from pcweb.pages.docs import getting_started | ||
|
|
||
|
|
||
| def booked_title(): | ||
| return rx.box( | ||
| rx.heading( | ||
| "Call Successfully Booked!", | ||
| class_name="gradient-heading font-x-large lg:font-xxx-large text-start text-transparent lg:text-center", | ||
| ), | ||
| rx.text( | ||
| "We’ve sent you a confirmation email with all the details.", | ||
| class_name="font-md text-balance text-slate-9", | ||
| ), | ||
| class_name="section-header", | ||
| ) | ||
|
|
||
|
|
||
|
|
||
|
|
||
| @rx.page( | ||
| route="/booked", | ||
| title="Reflex", | ||
| ) | ||
| def booked() -> rx.Component: | ||
| return rx.box( | ||
| index_colors(), | ||
| navbar(), | ||
| rx.el.section( | ||
| booked_title(), | ||
| rx.box( | ||
| ui.button("Home", variant="primary", size="lg", on_click=rx.redirect("/")), | ||
| ui.button("Installation", variant="secondary", size="lg", on_click=rx.redirect(getting_started.installation.path)), | ||
| class_name="flex flex-row items-center gap-x-4 pb-14" | ||
| ), | ||
| id="affiliates", | ||
LineIndent marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| class_name="section-content", | ||
| ), | ||
| footer_index(), | ||
| class_name="flex flex-col w-full max-w-[94.5rem] justify-center items-center mx-auto px-4 lg:px-5 relative overflow-hidden", | ||
| ) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a template we can use? if not lets add the
create_meta_tagsas well