@@ -7,6 +7,7 @@ import Element.Font as Font
77import FatalError exposing (FatalError)
88import Head
99import Head.Seo as Seo
10+import Html.Attributes exposing (style)
1011import Pages.Url
1112import PagesMsg exposing (PagesMsg)
1213import Route
@@ -82,22 +83,42 @@ view app shared =
8283 , body =
8384 column [ width fill ]
8485 [ column [ width fill, Background.color (rgb255 53 30 30), spacing 88 ]
85− [ row [ width fill ]
86+ [ el [] none
87+ , row [ width fill ]
8688 [ el [ width (px 50) ] none
8789 , row [ centerX, width fill, spaceEvenly ]
8890 [ el headerFont (text "услуги")
8991 , el headerFont (text "студия")
9092 , image [ height (px 50) ] { src = "/public/logo.svg", description = "logo" }
91− , el headerFont (text "работы")
93+ , el headerFont (text "сотрудники")
9294 , el headerFont (text "о нас")
9395 ]
9496 , el [ width (px 50) ] none
9597 ]
98+ , column
99+ [ width fill
100+ , htmlAttribute (style "overflow" "hidden")
101+ , height (px 650)
102+ , inFront (paragraph [ raleway, Font.color lightColor, moveDown 230, moveRight 100, width (px 370) ] [ text "Где подача — всё: дизайн, маркетинг, стратегия." ])
103+ ]
104+ [ el ([ alignRight, moveRight 40 ] ++ headerMainFont) (text "horeca")
105+ , el ([ moveLeft 26 ] ++ headerMainFont) (text "productions")
106+ ]
96107 ]
97108 ]
98109 }
99110
100111
112+headerMainFont : List (Attribute msg)
113+headerMainFont =
114+ [ ubuntu, Font.size 280, Font.color lightColor ]
115+
116+
117+lightColor : Color
118+lightColor =
119+ rgb255 210 197 178
120+
121+
101122headerFont : List (Attribute msg)
102123headerFont =
103124 [ raleway, Font.size 24, Font.color (rgb255 170 147 32) ]