mirror of
https://github.com/Death916/deathsite.git
synced 2026-04-10 03:04:41 -07:00
added background pic might delete late
This commit is contained in:
parent
1eea5b691e
commit
a1ca14a3a3
1 changed files with 9 additions and 6 deletions
|
|
@ -235,7 +235,6 @@ def page_content(content):
|
|||
align_items="center",
|
||||
justify="center",
|
||||
width="100%",
|
||||
|
||||
padding="2em",
|
||||
),
|
||||
rx.box(
|
||||
|
|
@ -245,11 +244,15 @@ def page_content(content):
|
|||
align_items="end",
|
||||
justify="end",
|
||||
),
|
||||
|
||||
|
||||
),
|
||||
|
||||
|
||||
style={
|
||||
"background": "linear-gradient(rgba(33, 37, 41, 0.92), rgba(33, 37, 41, 0.92)), url('/header.png')",
|
||||
"backgroundSize": "cover",
|
||||
"backgroundPosition": "center",
|
||||
"backgroundRepeat": "no-repeat",
|
||||
"backgroundAttachment": "fixed", # This makes the background stay fixed while scrolling
|
||||
"minHeight": "100vh", # This ensures the background covers the full viewport height
|
||||
},
|
||||
)
|
||||
|
||||
@rx.page(route="/projects")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue