feat: removed boilerplate

This commit is contained in:
Nick 2024-12-07 15:43:26 -06:00
parent cb51b17c08
commit a462c01f88
14 changed files with 277 additions and 378 deletions

View file

@ -35,7 +35,7 @@ page shared route =
toLayout : Model -> Layouts.Layout Msg
toLayout model =
Layouts.Navbar { }
Layouts.Navbar {}
@ -87,7 +87,7 @@ subscriptions model =
view : Shared.Model -> Model -> View Msg
view shared model =
{ title = contactName
{ title = pageNames.pageContact
, attributes = []
, element = contactContainer shared.device
}
@ -103,27 +103,6 @@ contactList device =
column pageListDesktop <|
List.concat
(case ( device.class, device.orientation ) of
( Phone, Portrait ) ->
[ [ instructionMaker ] ]
( Phone, Landscape ) ->
[ [ instructionMaker ] ]
( Tablet, Portrait ) ->
[ [ instructionMaker ] ]
( Tablet, Landscape ) ->
[ [ instructionMaker ] ]
( Desktop, Portrait ) ->
[ [ instructionMaker ] ]
( Desktop, Landscape ) ->
[ [ instructionMaker ] ]
( BigDesktop, Portrait ) ->
[ [ instructionMaker ] ]
( BigDesktop, Landscape ) ->
_ ->
[ [ instructionMaker ] ]
)