git.iko.soy/gigawork-coworking/gigawork-coworking.github.io
on master help sign in
app/Route/Index.elm+27−24
since splitsnapshots
unifiedsplit
@@ -10,6 +10,8 @@ import Head
10import Head.Seo as Seo
10import Head.Seo as Seo
11import Html
11import Html
12import Html.Attributes as Html
12import Html.Attributes as Html
13+import LanguageTag.Language
14+import LanguageTag.Region
13import Pages.Url
15import Pages.Url
14import PagesMsg exposing (PagesMsg)
16import PagesMsg exposing (PagesMsg)
15import Route
17import Route
@@ -62,15 +64,15 @@ head :
62head app =
64head app =
63 Seo.summary
65 Seo.summary
64 { canonicalUrlOverride = Nothing
66 { canonicalUrlOverride = Nothing
65− , siteName = "elm-pages"
67+ , siteName = "GigaWork"
66 , image =
68 , image =
67− { url = [ "images", "icon-png.png" ] |> UrlPath.join |> Pages.Url.fromPath
69+ { url = [] |> UrlPath.join |> Pages.Url.fromPath
68− , alt = "elm-pages logo"
70+ , alt = ""
69 , dimensions = Nothing
71 , dimensions = Nothing
70 , mimeType = Nothing
72 , mimeType = Nothing
71 }
73 }
72 , description = "Преимальный коворкинг у дома"
74 , description = "Преимальный коворкинг у дома"
73− , locale = Nothing
75+ , locale = Just ( LanguageTag.Language.ru, LanguageTag.Region.ru )
74 , title = "GigaWork"
76 , title = "GigaWork"
75 }
77 }
76 |> Seo.website
78 |> Seo.website
@@ -96,38 +98,50 @@ view app shared =
96 (text "Премиальный коворкинг у дома")
98 (text "Премиальный коворкинг у дома")
97 ]
99 ]
98 , callToAction
100 , callToAction
101+ , column [ spacing 27, width fill ]
102+ [ subtitle "Адрес"
103+ , paragraph [ noto, Font.size 18, Font.extraBold ] [ text "Москва, Рублевское шоссе, 22" ]
104+ , el [ width fill, height (px 400) ] <|
105+ html <|
106+ Html.iframe
107+ [ Html.src "https://yandex.ru/map-widget/v1/?um=constructor%3A6021061543ae5cffca6803ac7a0fa84e727d918c403c59250d18022f582f81d0&amp;source=constructor"
108+ , Html.height 400
109+ , Html.attribute "frameborder" "0"
110+ ]
111+ []
112+ ]
99 , column [ spacing 24, width fill ]
113 , column [ spacing 24, width fill ]
100 [ subtitle "Преимущества"
114 [ subtitle "Преимущества"
101 , wrappedRow [ spacing 16, centerX, width fill ]
115 , wrappedRow [ spacing 16, centerX, width fill ]
102 [ card
116 [ card
103 { title = "Удобное расположение"
117 { title = "Удобное расположение"
104 , body = "10 минут от метро Молодежная.\nБесплатная парковка."
118 , body = "10 минут от метро Молодежная.\nБесплатная парковка."
105− , image = mockImage
119+ , image = image [ width fill, height fill ] { src = "/map.png", description = "Карта" }
106 }
120 }
107 , card
121 , card
108 { title = "Эргономичная мебель"
122 { title = "Эргономичная мебель"
109 , body = "Каждое рабочее место оснащено креслом Herman Miller."
123 , body = "Каждое рабочее место оснащено креслом Herman Miller."
110− , image = mockImage
124+ , image = image [ width fill, height fill ] { src = "/chair.png", description = "Кресло Herman Miller Mirra" }
111 }
125 }
112 , card
126 , card
113 { title = "Свежий кофе"
127 { title = "Свежий кофе"
114 , body = "Каждую неделю заказываем для вас свежеобжаренный кофе."
128 , body = "Каждую неделю заказываем для вас свежеобжаренный кофе."
115− , image = mockImage
129+ , image = image [ width fill, height fill ] { src = "/coffee.jpg", description = "Кофе" }
116 }
130 }
117 , card
131 , card
118 { title = "Проводной интернет"
132 { title = "Проводной интернет"
119 , body = "Каждое рабочее место оснащено выходом USB-C с зарядкой и интернетом."
133 , body = "Каждое рабочее место оснащено выходом USB-C с зарядкой и интернетом."
120− , image = mockImage
134+ , image = image [ width fill, height fill ] { src = "/usb-c.jpg", description = "Кабель USB-C" }
121 }
135 }
122 , card
136 , card
123 { title = "Принтер"
137 { title = "Принтер"
124 , body = "Для вашего пользования есть лазерный принтер."
138 , body = "Для вашего пользования есть лазерный принтер."
125− , image = mockImage
139+ , image = image [ width fill, height fill ] { src = "/printer.jpg", description = "Принтер" }
126 }
140 }
127 , card
141 , card
128 { title = "Лаундж-зона"
142 { title = "Лаундж-зона"
129 , body = "Предусмотрена лаундж-зона для отдыха."
143 , body = "Предусмотрена лаундж-зона для отдыха."
130− , image = mockImage
144+ , image = image [ width fill, height fill ] { src = "/sofa.jpg", description = "Диван" }
131 }
145 }
132 , card
146 , card
133 { title = "Кабинки для звонков"
147 { title = "Кабинки для звонков"
@@ -137,7 +151,7 @@ view app shared =
137 , card
151 , card
138 { title = "Комфортные условия"
152 { title = "Комфортные условия"
139 , body = "В коворкинге установлен кондиционер и очиститель воздуха."
153 , body = "В коворкинге установлен кондиционер и очиститель воздуха."
140− , image = mockImage
154+ , image = image [ width fill, height fill ] { src = "/air.jpg", description = "Воздух" }
141 }
155 }
142 ]
156 ]
143 ]
157 ]
@@ -153,18 +167,6 @@ view app shared =
153 , weekendDayCard { title = "Вс" }
167 , weekendDayCard { title = "Вс" }
154 ]
168 ]
155 ]
169 ]
156− , column [ spacing 27, width fill ]
157− [ subtitle "Адрес"
158− , paragraph [ noto, Font.size 18, Font.extraBold ] [ text "Москва, Рублевское шоссе, 22" ]
159− , el [ width fill, height (px 400) ] <|
160− html <|
161− Html.iframe
162− [ Html.src "https://yandex.ru/map-widget/v1/?um=constructor%3A6021061543ae5cffca6803ac7a0fa84e727d918c403c59250d18022f582f81d0&amp;source=constructor"
163− , Html.height 400
164− , Html.attribute "frameborder" "0"
165− ]
166− []
167− ]
168 , column [ spacing 27, width fill ]
170 , column [ spacing 27, width fill ]
169 [ subtitle "Цена"
171 [ subtitle "Цена"
170 , row [ width fill, spaceEvenly ]
172 , row [ width fill, spaceEvenly ]
@@ -175,6 +177,7 @@ view app shared =
175 ]
177 ]
176 ]
178 ]
177 , callToAction
179 , callToAction
180+ , el [ height (px 76) ] none
178 ]
181 ]
179 }
182 }
180
183
@@ -487,7 +490,7 @@ priceCard cfg =
487 [ el [ centerX, unbounded, Font.size 14, Font.heavy ] (text cfg.price)
490 [ el [ centerX, unbounded, Font.size 14, Font.heavy ] (text cfg.price)
488 , el [ centerX, noto, Font.size 14, Font.regular ] (text cfg.subtitle)
491 , el [ centerX, noto, Font.size 14, Font.regular ] (text cfg.subtitle)
489 ]
492 ]
490− , minWidth = 148
493+ , minWidth = 128
491 }
494 }
492
495
493
496
app/Shared.elm+13−1
@@ -6,6 +6,7 @@ import Element exposing (..)
6import Element.Background as Background
6import Element.Background as Background
7import FatalError exposing (FatalError)
7import FatalError exposing (FatalError)
8import Html exposing (Html)
8import Html exposing (Html)
9+import Html.Attributes as Attributes
9import Pages.Flags
10import Pages.Flags
10import Pages.PageUrl exposing (PageUrl)
11import Pages.PageUrl exposing (PageUrl)
11import Route exposing (Route)
12import Route exposing (Route)
@@ -93,6 +94,17 @@ view :
93 -> View msg
94 -> View msg
94 -> { body : List (Html msg), title : String }
95 -> { body : List (Html msg), title : String }
95view sharedData page model toMsg pageView =
96view sharedData page model toMsg pageView =
97+ { body =
98+ [ Html.div []
99+ [ Html.img
100+ [ Attributes.src "https://mc.yandex.ru/watch/99382050"
101+ , Attributes.style "position" "absolute"
102+ , Attributes.style "left" "-9999px;"
103+ , Attributes.alt ""
104+ ]
105+ []
106+ ]
96− { body = [ layout [ Background.color (rgb255 243 243 243) ] pageView.body ]
107+ , layout [ Background.color (rgb255 243 243 243) ] pageView.body
108+ ]
97 , title = pageView.title
109 , title = pageView.title
98 }
110 }
app/Site.elm+3−1
@@ -3,6 +3,8 @@ module Site exposing (config)
3import BackendTask exposing (BackendTask)
3import BackendTask exposing (BackendTask)
4import FatalError exposing (FatalError)
4import FatalError exposing (FatalError)
5import Head
5import Head
6+import MimeType
7+import Pages.Url
6import SiteConfig exposing (SiteConfig)
8import SiteConfig exposing (SiteConfig)
7
9
8
10
@@ -16,6 +18,6 @@ config =
16head : BackendTask FatalError (List Head.Tag)
18head : BackendTask FatalError (List Head.Tag)
17head =
19head =
18 [ Head.metaName "viewport" (Head.raw "width=device-width,initial-scale=1")
20 [ Head.metaName "viewport" (Head.raw "width=device-width,initial-scale=1")
19− , Head.sitemapLink "/sitemap.xml"
21+ , Head.icon [] (MimeType.OtherImage "svg") (Pages.Url.external "/favicon.svg")
20 ]
22 ]
21 |> BackendTask.succeed
23 |> BackendTask.succeed
elm-pages.config.mjs+14−1
@@ -8,7 +8,20 @@ export default {
8 return `
8 return `
9<link rel="stylesheet" href="/style.css" />
9<link rel="stylesheet" href="/style.css" />
10<meta name="generator" content="elm-pages v${context.cliVersion}" />
10<meta name="generator" content="elm-pages v${context.cliVersion}" />
11− <script src="https://api-maps.yandex.ru/v3/?apikey=ab2d2369-9d42-4b81-8406-ff02533f5fcb&lang=ru_RU"></script>
11+<script type="text/javascript" >
12+ (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
13+ m[i].l=1*new Date();
14+ for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
15+ k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
16+ (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
17+
18+ ym(99382050, "init", {
19+ clickmap:true,
20+ trackLinks:true,
21+ accurateTrackBounce:true,
22+ webvisor:true
23+ });
24+</script>
12`;
25`;
13 },
26 },
14 preloadTagForFile(file) {
27 preloadTagForFile(file) {
public/air.jpgnew file

Binary file not shown.

public/chair.pngnew file

Binary file not shown.

public/coffee.jpgnew file

Binary file not shown.

public/favicon.icodeleted

Binary file not shown.

public/favicon.svgnew file+1
@@ -0,0 +1 @@
1+<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none"><defs><clipPath id="a" class="frame-clip frame-clip-def"><rect width="25" height="25" rx="0" ry="0"/></clipPath></defs><g clip-path="url(#a)"><g class="fills"><rect width="25" height="25" class="frame-background" rx="0" ry="0" style="fill:#fff;fill-opacity:1"/></g><g class="frame-children"><path d="M12.5 2c6.19 0 10 2.976 10 8.25 0 5.75-3.81 8.25-10 8.25s-10-3-10-8.25S6.786 2 12.5 2M3.5 19l9 2 9-2v10.5h-18z" class="fills" style="fill:#20c391;fill-opacity:1"/></g></g></svg>
public/map.pngnew file

Binary file not shown.

public/printer.jpgnew file

Binary file not shown.

public/sofa.jpgnew file

Binary file not shown.

public/usb-c.jpgnew file

Binary file not shown.

public/yandex_7a75468af3448eee.htmlnew file+6
@@ -0,0 +1,6 @@
1+<html>
2+ <head>
3+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4+ </head>
5+ <body>Verification: 7a75468af3448eee</body>
6+</html>
style.css+1−1
@@ -14,7 +14,7 @@
14
14
15@media (max-width:549px) {
15@media (max-width:549px) {
16 html {
16 html {
17− zoom:.6!important
17+ zoom:.7!important
18 }
18 }
19}
19}
20
20