Shared dirs almost ready :D

This commit is contained in:
Timothy Pidashev
2024-03-11 14:20:55 -07:00
parent 893c59585e
commit 56f799266b
14 changed files with 19 additions and 5 deletions
+1
View File
@@ -0,0 +1 @@
from .navbar import navbar
View File
+39
View File
@@ -0,0 +1,39 @@
import reflex as rx
from landing.style import *
def navbar():
return rx.box(
rx.center(
rx.flex(
rx.link(
rx.text("About", color=color["white"]),
href="http://about.timmypidashev.localhost"
)
),
rx.flex(
rx.link(
rx.text("Projects", color=color["white"]),
href="http://projects.timmypidashev.localhost"
)
),
rx.flex(
rx.link(
rx.text("Resume", color=color["white"]),
href="http://resume.timmypidashev.localhost"
)
),
rx.flex(
rx.link(
rx.text("Blog", color=color["white"]),
href="http://blog.timmypidashev.localhost"
)
),
rx.flex(
rx.link(
rx.text("Shop", color=color["white"]),
href="http://shop.timmypidashev.localhost"
)
),
spacing="7",
)
)
+1
View File
@@ -0,0 +1 @@
from .page404 import page404
View File
+15
View File
@@ -0,0 +1,15 @@
import reflex as rx
from landing.templates import webpage
# TODO: Add a go back here link
@webpage(path="/404", title="Page Not Found")
def page404():
return rx.center(
rx.vstack(
rx.heading("Whoops, this page doesn't exist...", size="9"),
rx.spacer(),
),
height="100vh",
width="100%",
)
View File
View File