Skip to content

Commit

Permalink
add new video for deployment (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgberkeley authored Aug 1, 2024
1 parent 018d052 commit 17de3b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
21 changes: 16 additions & 5 deletions docs/hosting/deploy-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,21 @@ The hosting service does not currently handle database or file upload operations
Below is a video of deploying the [AI chat app]({docs.tutorial.intro.path}) to our hosting service.

```python eval
rx.center(
rx.video(url="https://www.youtube.com/embed/pf3FKE26hx4"),
rx.box(height="3em"),
width="100%",
padding_y="2em"
rx.box(
rx.el.iframe(
src="https://www.loom.com/embed/bee928924a454a8098e741e1d19b2857?sid=38523a3f-4c7d-4ee2-9a51-4ca1a36828dc",
frameborder="0",
webkitallowfullscreen=True,
mozallowfullscreen=True,
allowfullscreen=True,
position="absolute",
top="0",
left="0",
width="100%",
height="100%",
),
position="relative",
padding_bottom="64.94708994708994%",
height="0",
)
```
1 change: 0 additions & 1 deletion pcweb/pages/blog/blog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
for path, document in blog_data.items():
# Get the docpage component.
route = f"/{path}"
print(route)
title = rx.utils.format.to_snake_case(path.rsplit("/", 1)[1].replace(".md", ""))
comp = webpage(path=route, title=document.metadata["title"]+ " · Reflex Blog")(
lambda doc=document: page(doc, route)
Expand Down

0 comments on commit 17de3b2

Please sign in to comment.