diff options
| author | LLLL Colonq <llll@colonq> | 2026-05-26 05:17:28 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-05-26 05:17:28 -0400 |
| commit | f7002eba61e706e9c95b8c150a0cc9d490e21ed8 (patch) | |
| tree | 923ffe0f242ffb978b1cbdc7a4e593ad62e4582c /fig-web/src | |
| parent | caa98b19119cf393cbc6a4aba1b46812c893cdec (diff) | |
Add Jam
Diffstat (limited to 'fig-web/src')
| -rw-r--r-- | fig-web/src/Fig/Web/Module/Advent.hs | 5 | ||||
| -rw-r--r-- | fig-web/src/Fig/Web/Public.hs | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/fig-web/src/Fig/Web/Module/Advent.hs b/fig-web/src/Fig/Web/Module/Advent.hs index dff11e3..ac2fe2d 100644 --- a/fig-web/src/Fig/Web/Module/Advent.hs +++ b/fig-web/src/Fig/Web/Module/Advent.hs @@ -30,8 +30,9 @@ secure a = do respondHTML do head_ do title_ . L.toHtml $ "adventure of advent of code 2025: puzzle " <> tshow pid - link_ [rel_ "icon", href_ "/assets/mrgreen.png"] - link_ [rel_ "stylesheet", type_ "text/css", href_ "/assets/main.css"] + link_ [rel_ "icon", href_ "/assets/images/mrgreen.png"] + link_ [rel_ "stylesheet", type_ "text/css", href_ "/assets/css/shared.css"] + link_ [rel_ "stylesheet", type_ "text/css", href_ "/assets/css/advent.css"] body_ [id_ "lcolonq-advent"] do div_ [class_ "lcolonq-advent-header"] do h1_ . L.toHtml $ "puzzle " <> tshow pid <> " (part 1)" diff --git a/fig-web/src/Fig/Web/Public.hs b/fig-web/src/Fig/Web/Public.hs index 816f724..326ff2d 100644 --- a/fig-web/src/Fig/Web/Public.hs +++ b/fig-web/src/Fig/Web/Public.hs @@ -67,6 +67,7 @@ app args = do , ("advent", "advent.html") , ("debt", "debtclock.html") , ("charsheet", "charsheet-public.html") + , ("jam/2026", "jam2026.html") , ("main.js", "main.js") ] Wai.Static.<|> Wai.Static.hasPrefix "assets" , Wai.Static.addBase args.cfg.assetPath |
