git.iko.soy/gigawork-coworking/gigawork-coworking.github.io
on 09b50fa help sign in
15 files changed+28−65
since splitsnapshots
unifiedsplit
app/Route/Index.elm+24−27 app/Shared.elm+1−13 app/Site.elm+1−3 elm-pages.config.mjs+1−14 public/air.jpg public/chair.png public/coffee.jpg public/favicon.ico public/favicon.svg−1 public/map.png public/printer.jpg public/sofa.jpg public/usb-c.jpg public/yandex_7a75468af3448eee.html−6 style.css+1−1
app/Route/Index.elm+24−27
@@ -10,8 +10,6 @@ import Head
1010import Head.Seo as Seo
1111import Html
1212import Html.Attributes as Html
13−import LanguageTag.Language
14−import LanguageTag.Region
1513import Pages.Url
1614import PagesMsg exposing (PagesMsg)
1715import Route
@@ -64,15 +62,15 @@ head :
6462head app =
6563 Seo.summary
6664 { canonicalUrlOverride = Nothing
67− , siteName = "GigaWork"
65+ , siteName = "elm-pages"
6866 , image =
69− { url = [] |> UrlPath.join |> Pages.Url.fromPath
70− , alt = ""
67+ { url = [ "images", "icon-png.png" ] |> UrlPath.join |> Pages.Url.fromPath
68+ , alt = "elm-pages logo"
7169 , dimensions = Nothing
7270 , mimeType = Nothing
7371 }
7472 , description = "Преимальный коворкинг у дома"
75− , locale = Just ( LanguageTag.Language.ru, LanguageTag.Region.ru )
73+ , locale = Nothing
7674 , title = "GigaWork"
7775 }
7876 |> Seo.website
@@ -98,50 +96,38 @@ view app shared =
9896 (text "Премиальный коворкинг у дома")
9997 ]
10098 , 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− ]
11399 , column [ spacing 24, width fill ]
114100 [ subtitle "Преимущества"
115101 , wrappedRow [ spacing 16, centerX, width fill ]
116102 [ card
117103 { title = "Удобное расположение"
118104 , body = "10 минут от метро Молодежная.\nБесплатная парковка."
119− , image = image [ width fill, height fill ] { src = "/map.png", description = "Карта" }
105+ , image = mockImage
120106 }
121107 , card
122108 { title = "Эргономичная мебель"
123109 , body = "Каждое рабочее место оснащено креслом Herman Miller."
124− , image = image [ width fill, height fill ] { src = "/chair.png", description = "Кресло Herman Miller Mirra" }
110+ , image = mockImage
125111 }
126112 , card
127113 { title = "Свежий кофе"
128114 , body = "Каждую неделю заказываем для вас свежеобжаренный кофе."
129− , image = image [ width fill, height fill ] { src = "/coffee.jpg", description = "Кофе" }
115+ , image = mockImage
130116 }
131117 , card
132118 { title = "Проводной интернет"
133119 , body = "Каждое рабочее место оснащено выходом USB-C с зарядкой и интернетом."
134− , image = image [ width fill, height fill ] { src = "/usb-c.jpg", description = "Кабель USB-C" }
120+ , image = mockImage
135121 }
136122 , card
137123 { title = "Принтер"
138124 , body = "Для вашего пользования есть лазерный принтер."
139− , image = image [ width fill, height fill ] { src = "/printer.jpg", description = "Принтер" }
125+ , image = mockImage
140126 }
141127 , card
142128 { title = "Лаундж-зона"
143129 , body = "Предусмотрена лаундж-зона для отдыха."
144− , image = image [ width fill, height fill ] { src = "/sofa.jpg", description = "Диван" }
130+ , image = mockImage
145131 }
146132 , card
147133 { title = "Кабинки для звонков"
@@ -151,7 +137,7 @@ view app shared =
151137 , card
152138 { title = "Комфортные условия"
153139 , body = "В коворкинге установлен кондиционер и очиститель воздуха."
154− , image = image [ width fill, height fill ] { src = "/air.jpg", description = "Воздух" }
140+ , image = mockImage
155141 }
156142 ]
157143 ]
@@ -167,6 +153,18 @@ view app shared =
167153 , weekendDayCard { title = "Вс" }
168154 ]
169155 ]
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+ ]
170168 , column [ spacing 27, width fill ]
171169 [ subtitle "Цена"
172170 , row [ width fill, spaceEvenly ]
@@ -177,7 +175,6 @@ view app shared =
177175 ]
178176 ]
179177 , callToAction
180− , el [ height (px 76) ] none
181178 ]
182179 }
183180
@@ -490,7 +487,7 @@ priceCard cfg =
490487 [ el [ centerX, unbounded, Font.size 14, Font.heavy ] (text cfg.price)
491488 , el [ centerX, noto, Font.size 14, Font.regular ] (text cfg.subtitle)
492489 ]
493− , minWidth = 128
490+ , minWidth = 148
494491 }
495492
496493
app/Shared.elm+1−13
@@ -6,7 +6,6 @@ import Element exposing (..)
66import Element.Background as Background
77import FatalError exposing (FatalError)
88import Html exposing (Html)
9−import Html.Attributes as Attributes
109import Pages.Flags
1110import Pages.PageUrl exposing (PageUrl)
1211import Route exposing (Route)
@@ -94,17 +93,6 @@ view :
9493 -> View msg
9594 -> { body : List (Html msg), title : String }
9695view 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
108− ]
96+ { body = [ layout [ Background.color (rgb255 243 243 243) ] pageView.body ]
10997 , title = pageView.title
11098 }
app/Site.elm+1−3
@@ -3,8 +3,6 @@ module Site exposing (config)
33import BackendTask exposing (BackendTask)
44import FatalError exposing (FatalError)
55import Head
6−import MimeType
7−import Pages.Url
86import SiteConfig exposing (SiteConfig)
97
108
@@ -18,6 +16,6 @@ config =
1816head : BackendTask FatalError (List Head.Tag)
1917head =
2018 [ Head.metaName "viewport" (Head.raw "width=device-width,initial-scale=1")
21− , Head.icon [] (MimeType.OtherImage "svg") (Pages.Url.external "/favicon.svg")
19+ , Head.sitemapLink "/sitemap.xml"
2220 ]
2321 |> BackendTask.succeed
elm-pages.config.mjs+1−14
@@ -8,20 +8,7 @@ export default {
88 return `
99<link rel="stylesheet" href="/style.css" />
1010<meta name="generator" content="elm-pages v${context.cliVersion}" />
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>
11+ <script src="https://api-maps.yandex.ru/v3/?apikey=ab2d2369-9d42-4b81-8406-ff02533f5fcb&lang=ru_RU"></script>
2512`;
2613 },
2714 preloadTagForFile(file) {
public/air.jpgdeleted

Binary file not shown.

public/chair.pngdeleted

Binary file not shown.

public/coffee.jpgdeleted

Binary file not shown.

public/favicon.iconew file

Binary file not shown.

public/favicon.svgdeleted−1
@@ -1 +0,0 @@
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.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>
style.css+1−1
@@ -14,7 +14,7 @@
1414
1515@media (max-width:549px) {
1616 html {
17− zoom:.7!important
17+ zoom:.6!important
1818 }
1919}
2020