git.iko.soy/gigawork-coworking/gigawork-coworking.github.io
on c5fedea help sign in
app/Route/Index.elm+20−20
since splitsnapshots
unifiedsplit
@@ -98,50 +98,38 @@ view app shared =
98 (text "Премиальный коворкинг у дома")
98 (text "Премиальный коворкинг у дома")
99 ]
99 ]
100 , 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− ]
113 , column [ spacing 24, width fill ]
101 , column [ spacing 24, width fill ]
114 [ subtitle "Преимущества"
102 [ subtitle "Преимущества"
115 , wrappedRow [ spacing 16, centerX, width fill ]
103 , wrappedRow [ spacing 16, centerX, width fill ]
116 [ card
104 [ card
117 { title = "Удобное расположение"
105 { title = "Удобное расположение"
118 , body = "10 минут от метро Молодежная.\nБесплатная парковка."
106 , body = "10 минут от метро Молодежная.\nБесплатная парковка."
119− , image = image [ width fill, height fill ] { src = "/map.png", description = "Карта" }
107+ , image = mockImage
120 }
108 }
121 , card
109 , card
122 { title = "Эргономичная мебель"
110 { title = "Эргономичная мебель"
123 , body = "Каждое рабочее место оснащено креслом Herman Miller."
111 , body = "Каждое рабочее место оснащено креслом Herman Miller."
124− , image = image [ width fill, height fill ] { src = "/chair.png", description = "Кресло Herman Miller Mirra" }
112+ , image = mockImage
125 }
113 }
126 , card
114 , card
127 { title = "Свежий кофе"
115 { title = "Свежий кофе"
128 , body = "Каждую неделю заказываем для вас свежеобжаренный кофе."
116 , body = "Каждую неделю заказываем для вас свежеобжаренный кофе."
129− , image = image [ width fill, height fill ] { src = "/coffee.jpg", description = "Кофе" }
117+ , image = mockImage
130 }
118 }
131 , card
119 , card
132 { title = "Проводной интернет"
120 { title = "Проводной интернет"
133 , body = "Каждое рабочее место оснащено выходом USB-C с зарядкой и интернетом."
121 , body = "Каждое рабочее место оснащено выходом USB-C с зарядкой и интернетом."
134− , image = image [ width fill, height fill ] { src = "/usb-c.jpg", description = "Кабель USB-C" }
122+ , image = mockImage
135 }
123 }
136 , card
124 , card
137 { title = "Принтер"
125 { title = "Принтер"
138 , body = "Для вашего пользования есть лазерный принтер."
126 , body = "Для вашего пользования есть лазерный принтер."
139− , image = image [ width fill, height fill ] { src = "/printer.jpg", description = "Принтер" }
127+ , image = mockImage
140 }
128 }
141 , card
129 , card
142 { title = "Лаундж-зона"
130 { title = "Лаундж-зона"
143 , body = "Предусмотрена лаундж-зона для отдыха."
131 , body = "Предусмотрена лаундж-зона для отдыха."
144− , image = image [ width fill, height fill ] { src = "/sofa.jpg", description = "Диван" }
132+ , image = mockImage
145 }
133 }
146 , card
134 , card
147 { title = "Кабинки для звонков"
135 { title = "Кабинки для звонков"
@@ -151,7 +139,7 @@ view app shared =
151 , card
139 , card
152 { title = "Комфортные условия"
140 { title = "Комфортные условия"
153 , body = "В коворкинге установлен кондиционер и очиститель воздуха."
141 , body = "В коворкинге установлен кондиционер и очиститель воздуха."
154− , image = image [ width fill, height fill ] { src = "/air.jpg", description = "Воздух" }
142+ , image = mockImage
155 }
143 }
156 ]
144 ]
157 ]
145 ]
@@ -167,6 +155,18 @@ view app shared =
167 , weekendDayCard { title = "Вс" }
155 , weekendDayCard { title = "Вс" }
168 ]
156 ]
169 ]
157 ]
158+ , column [ spacing 27, width fill ]
159+ [ subtitle "Адрес"
160+ , paragraph [ noto, Font.size 18, Font.extraBold ] [ text "Москва, Рублевское шоссе, 22" ]
161+ , el [ width fill, height (px 400) ] <|
162+ html <|
163+ Html.iframe
164+ [ Html.src "https://yandex.ru/map-widget/v1/?um=constructor%3A6021061543ae5cffca6803ac7a0fa84e727d918c403c59250d18022f582f81d0&amp;source=constructor"
165+ , Html.height 400
166+ , Html.attribute "frameborder" "0"
167+ ]
168+ []
169+ ]
170 , column [ spacing 27, width fill ]
170 , column [ spacing 27, width fill ]
171 [ subtitle "Цена"
171 [ subtitle "Цена"
172 , row [ width fill, spaceEvenly ]
172 , row [ width fill, spaceEvenly ]
@@ -490,7 +490,7 @@ priceCard cfg =
490 [ el [ centerX, unbounded, Font.size 14, Font.heavy ] (text cfg.price)
490 [ el [ centerX, unbounded, Font.size 14, Font.heavy ] (text cfg.price)
491 , el [ centerX, noto, Font.size 14, Font.regular ] (text cfg.subtitle)
491 , el [ centerX, noto, Font.size 14, Font.regular ] (text cfg.subtitle)
492 ]
492 ]
493− , minWidth = 128
493+ , minWidth = 148
494 }
494 }
495
495
496
496
app/Shared.elm+1−13
@@ -6,7 +6,6 @@ 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
10import Pages.Flags
9import Pages.Flags
11import Pages.PageUrl exposing (PageUrl)
10import Pages.PageUrl exposing (PageUrl)
12import Route exposing (Route)
11import Route exposing (Route)
@@ -94,17 +93,6 @@ view :
94 -> View msg
93 -> View msg
95 -> { body : List (Html msg), title : String }
94 -> { body : List (Html msg), title : String }
96view sharedData page model toMsg pageView =
95view 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− ]
107− , layout [ Background.color (rgb255 243 243 243) ] pageView.body
96+ { body = [ layout [ Background.color (rgb255 243 243 243) ] pageView.body ]
108− ]
109 , title = pageView.title
97 , title = pageView.title
110 }
98 }
elm-pages.config.mjs+1−14
@@ -8,20 +8,7 @@ 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 type="text/javascript" >
11+ <script src="https://api-maps.yandex.ru/v3/?apikey=ab2d2369-9d42-4b81-8406-ff02533f5fcb&lang=ru_RU"></script>
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>
25`;
12`;
26 },
13 },
27 preloadTagForFile(file) {
14 preloadTagForFile(file) {
public/air.jpgdeleted

Binary file not shown.

public/chair.pngdeleted

Binary file not shown.

public/coffee.jpgdeleted

Binary file not shown.

public/map.pngdeleted

Binary file not shown.

public/printer.jpgdeleted

Binary file not shown.

public/sofa.jpgdeleted

Binary file not shown.

public/usb-c.jpgdeleted

Binary file not shown.

public/yandex_7a75468af3448eee.htmldeleted−6
@@ -1,6 +0,0 @@
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>