feat: fixed navbar

This commit is contained in:
Nick 2024-11-14 21:10:41 -06:00
parent a55ba3c627
commit 55eb3a8a60
5 changed files with 23 additions and 10 deletions

6
flake.lock generated
View file

@ -19,11 +19,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1730785428, "lastModified": 1731319897,
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=", "narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7", "rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -91,6 +91,12 @@ view { toContentMsg, model, content } =
, alignLeft , alignLeft
, alignTop , alignTop
, moveDown 30 , moveDown 30
, htmlAttribute (H.style "position" "fixed")
, htmlAttribute (H.style "left" "0")
, htmlAttribute (H.style "top" "0")
, htmlAttribute (H.style "height" "100vh")
, htmlAttribute (H.style "z-index" "10") -- Ensure navbar stays on top
, htmlAttribute (H.style "transform-style" "preserve-3d")
] ]
[ column [ column
[ spacing 20 [ spacing 20
@ -107,8 +113,14 @@ view { toContentMsg, model, content } =
, link navBarLinkFormat { url = localhostUrl ++ "support", label = transitionNonHighlightedLinkHoverWithMove <| text "SUPPORT" } , link navBarLinkFormat { url = localhostUrl ++ "support", label = transitionNonHighlightedLinkHoverWithMove <| text "SUPPORT" }
, link navBarLinkFormat { url = localhostUrl ++ "interviews", label = transitionNonHighlightedLinkHoverWithMove <| text "INTERVIEWS" } , link navBarLinkFormat { url = localhostUrl ++ "interviews", label = transitionNonHighlightedLinkHoverWithMove <| text "INTERVIEWS" }
, link navBarLinkFormat { url = localhostUrl ++ "contact", label = transitionNonHighlightedLinkHoverWithMove <| text "CONTACT" } , link navBarLinkFormat { url = localhostUrl ++ "contact", label = transitionNonHighlightedLinkHoverWithMove <| text "CONTACT" }
, link navBarLinkFormat { url = localhostUrl ++ "dodgers", label = transitionNonHighlightedLinkHoverWithMove <| text "DODGERS" }
] ]
] ]
, content.element , el
[ width fill
, height fill
, paddingEach { top = 0, right = 0, bottom = 0, left = 200 }
]
content.element
] ]
} }

View file

@ -296,7 +296,8 @@ argumentList =
, conclusionNotation = "" , conclusionNotation = ""
} }
] ]
},{ argumentTitle = "" }
, { argumentTitle = ""
, propositionTitle = "" , propositionTitle = ""
, propositionSummary = "" , propositionSummary = ""
, definitionTable = , definitionTable =

View file

@ -215,8 +215,8 @@ dodgersList =
, cuckPhilippeStephenson , cuckPhilippeStephenson
, cuckRalphNapolitano , cuckRalphNapolitano
, cuckRaphaelSirtoli , cuckRaphaelSirtoli
, cuckRobMeijer
, cuckRobbWolf , cuckRobbWolf
, cuckRobMeijer
, cuckSimonGoddek , cuckSimonGoddek
, cuckTravisStatham , cuckTravisStatham
, cuckTristanHaggard , cuckTristanHaggard