feat: added gibberish page and argument summaries

This commit is contained in:
Nick 2024-12-03 21:17:17 -06:00
parent 8b0c2b632e
commit 23ce3b3f68
67 changed files with 498 additions and 283 deletions

View file

@ -87,7 +87,7 @@ page shared route =
toLayout : Model -> Layouts.Layout Msg
toLayout model =
Layouts.Navbar {}
Layouts.Navbar { currentRoute = debateName }
@ -101,9 +101,12 @@ type alias Model =
init : () -> ( Model, Effect Msg )
init () =
( {}
, Effect.map
(\_ -> NoOp)
(Effect.sendCmd resetViewport)
, Effect.batch
[ Effect.map
(\_ -> NoOp)
(Effect.sendCmd resetViewport)
, Effect.none
]
)
@ -210,7 +213,5 @@ debateList =
, argumentFlatEarthDebunk
, argumentTruncatedMeta
]
, List.map gibberishMaker
[ gibberishList ]
]
]