@paroicms/playground_demo2 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/.turbo/turbo-build.log +12 -0
  2. package/CHANGELOG.md +1098 -0
  3. package/README.md +9 -0
  4. package/package.json +41 -0
  5. package/paroicms-site.js +9 -0
  6. package/site-schema.json +288 -0
  7. package/site-schema.l10n.en.json +94 -0
  8. package/site-schema.l10n.fr.json +94 -0
  9. package/theme/assets/css/index.css +1 -0
  10. package/theme/assets/icons/arrow-grey.svg +1 -0
  11. package/theme/assets/js/main.js +3 -0
  12. package/theme/assets/scss/_Breadcrumb.scss +22 -0
  13. package/theme/assets/scss/_ContactForm.scss +34 -0
  14. package/theme/assets/scss/_Gallery.scss +11 -0
  15. package/theme/assets/scss/_HeaderBar.scss +64 -0
  16. package/theme/assets/scss/_HeroBanner.scss +21 -0
  17. package/theme/assets/scss/_Paginate.scss +9 -0
  18. package/theme/assets/scss/_Part.scss +32 -0
  19. package/theme/assets/scss/_ResultItem.scss +3 -0
  20. package/theme/assets/scss/_SiteFooter.scss +11 -0
  21. package/theme/assets/scss/_Text.scss +157 -0
  22. package/theme/assets/scss/_Tile.scss +51 -0
  23. package/theme/assets/scss/_constants.scss +83 -0
  24. package/theme/assets/scss/_global.scss +7 -0
  25. package/theme/assets/scss/_layout.scss +85 -0
  26. package/theme/assets/scss/_reset.scss +136 -0
  27. package/theme/assets/scss/index.scss +14 -0
  28. package/theme/locales/fr.json +10 -0
  29. package/theme/templates/404.liquid +11 -0
  30. package/theme/templates/about-page.liquid +64 -0
  31. package/theme/templates/contact-page.liquid +15 -0
  32. package/theme/templates/exhibition.liquid +33 -0
  33. package/theme/templates/home.liquid +218 -0
  34. package/theme/templates/index.liquid +8 -0
  35. package/theme/templates/layouts/main-layout.liquid +26 -0
  36. package/theme/templates/page.liquid +109 -0
  37. package/theme/templates/pages.liquid +34 -0
  38. package/theme/templates/partials/breadcrumb.liquid +13 -0
  39. package/theme/templates/partials/footer.liquid +6 -0
  40. package/theme/templates/partials/header.liquid +59 -0
  41. package/theme/templates/partials/post.public.liquid +32 -0
  42. package/theme/templates/partials/result-item.public.liquid +31 -0
  43. package/theme/templates/post.liquid +65 -0
  44. package/theme/templates/posts.liquid +34 -0
  45. package/theme/templates/search-page.liquid +49 -0
  46. package/theme/templates/shelf.liquid +33 -0
  47. package/theme/templates/tag.liquid +7 -0
  48. package/theme/templates/video-page.liquid +69 -0
  49. package/theme/theme.json +4 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @paroicms/playground_demo2
2
+
3
+ Demonstration website for ParoiCMS.
4
+
5
+ This package is part of [ParoiCMS](https://www.npmjs.com/package/@paroicms/server).
6
+
7
+ ## License
8
+
9
+ Released under the [MIT license](https://gitlab.com/paroi/opensource/paroicms/-/blob/main/LICENSE.md).
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@paroicms/playground_demo2",
3
+ "version": "0.56.0",
4
+ "description": "Demonstration website for ParoiCMS",
5
+ "author": "Paroi Team",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://gitlab.com/paroi/opensource/paroicms.git",
10
+ "directory": "sites/demo2"
11
+ },
12
+ "type": "module",
13
+ "main": "paroicms-site.js",
14
+ "scripts": {
15
+ "start": "paroicms | npm run _pino-pretty",
16
+ "start:dev": "nodemon --watch 'site-schema*.json' --watch config.json",
17
+ "clear": "rimraf theme/assets/css/*",
18
+ "build": "npm run scss",
19
+ "dev": "concurrently -n 'node,scss' -c 'yellow.bold,magenta.bold' 'npm run start:dev' 'npm run scss:watch'",
20
+ "scss": "npm run _scss -- --no-source-map --style=compressed",
21
+ "scss:watch": "npm run _scss && npm run _scss -- --watch",
22
+ "_scss": "sass theme/assets/scss/index.scss theme/assets/css/index.css",
23
+ "_pino-pretty": "pino-pretty -U false -x 'stats:25' -X 'stats:grey' -t 'yyyy-mm-dd HH:MM:ss.l' -i 'hostname,pid,fqdn'"
24
+ },
25
+ "dependencies": {
26
+ "@paroicms/contact-form-plugin": "0.19.0",
27
+ "@paroicms/content-loading-plugin": "0.12.0",
28
+ "@paroicms/public-menu-plugin": "0.9.0",
29
+ "@paroicms/quill-editor-plugin": "1.28.0",
30
+ "@paroicms/video-plugin": "0.26.0",
31
+ "@paroicms/list-field-plugin": "0.15.0",
32
+ "@paroicms/internal-link-plugin": "0.10.0"
33
+ },
34
+ "devDependencies": {
35
+ "concurrently": "~9.1.2",
36
+ "nodemon": "~3.1.9",
37
+ "pino-pretty": "~13.0.0",
38
+ "rimraf": "~6.0.1",
39
+ "sass": "~1.84.0"
40
+ }
41
+ }
@@ -0,0 +1,9 @@
1
+ import { resolveModuleDirectory } from "@paroicms/public-server-lib";
2
+ import { readFileSync } from "fs";
3
+ import { join } from "path";
4
+
5
+ const packageDir = resolveModuleDirectory(import.meta.url);
6
+ const packageJson = JSON.parse(readFileSync(join(packageDir, 'package.json'), 'utf-8'));
7
+
8
+ export const siteDir = packageDir;
9
+ export const version = packageJson.version;
@@ -0,0 +1,288 @@
1
+ {
2
+ "version": "7",
3
+ "languages": ["fr", "en"],
4
+ "plugins": [
5
+ {
6
+ "name": "@paroicms/quill-editor-plugin",
7
+ "configuration": {
8
+ "backOffice": {
9
+ "code": true
10
+ }
11
+ }
12
+ },
13
+ "@paroicms/contact-form-plugin",
14
+ "@paroicms/content-loading-plugin",
15
+ "@paroicms/internal-link-plugin",
16
+ "@paroicms/list-field-plugin",
17
+ "@paroicms/public-menu-plugin",
18
+ "@paroicms/video-plugin"
19
+ ],
20
+ "configuration": {
21
+ "backOffice": {
22
+ "enableMetaKeywords": true
23
+ }
24
+ },
25
+ "nodeTypes": [
26
+ {
27
+ "kind": "site",
28
+ "fields": ["logo", "slogan", "phone"]
29
+ },
30
+ {
31
+ "typeName": "home",
32
+ "kind": "document",
33
+ "documentKind": "routing",
34
+ "withFeaturedImage": true,
35
+ "fields": [
36
+ "video",
37
+ {
38
+ "name": "myList",
39
+ "localized": true,
40
+ "storedAs": "text",
41
+ "dataType": "json",
42
+ "plugin": "@paroicms/list-field-plugin"
43
+ },
44
+ "featuredDocument"
45
+ ],
46
+ "lists": [
47
+ {
48
+ "listName": "partners",
49
+ "parts": ["partner"],
50
+ "sorting": "publishDate desc",
51
+ "limit": 5
52
+ },
53
+ {
54
+ "listName": "sections",
55
+ "parts": ["partner", "sideImage"],
56
+ "sorting": "manual"
57
+ }
58
+ ],
59
+ "routingChildren": ["pages", "posts", "aboutPage", "contactPage", "searchPage", "exhibition"],
60
+ "backOffice": {
61
+ "defaultTab": "edit"
62
+ }
63
+ },
64
+ {
65
+ "typeName": "partner",
66
+ "kind": "part",
67
+ "fields": [
68
+ "title",
69
+ "image",
70
+ {
71
+ "name": "url",
72
+ "localized": false,
73
+ "storedAs": "varchar",
74
+ "dataType": "string"
75
+ },
76
+ "htmlContent",
77
+ {
78
+ "name": "color",
79
+ "localized": false,
80
+ "storedAs": "varchar",
81
+ "dataType": "string",
82
+ "visibility": ["table", "overview", "feed"]
83
+ },
84
+ {
85
+ "name": "myList2",
86
+ "localized": true,
87
+ "storedAs": "varchar",
88
+ "dataType": "json",
89
+ "plugin": "@paroicms/list-field-plugin"
90
+ }
91
+ ],
92
+ "list": {
93
+ "parts": ["sideImage"],
94
+ "sorting": "manual"
95
+ }
96
+ },
97
+ {
98
+ "typeName": "sideImage",
99
+ "kind": "part",
100
+ "fields": ["image", "htmlContent"],
101
+ "list": {
102
+ "parts": ["sideImage", "partner"],
103
+ "sorting": "manual"
104
+ }
105
+ },
106
+ {
107
+ "typeName": "exhibition",
108
+ "kind": "document",
109
+ "documentKind": "routing",
110
+ "route": "exhibition",
111
+ "withFeaturedImage": true,
112
+ "regularChildren": ["shelf"],
113
+ "regularChildrenSorting": "title asc"
114
+ },
115
+ {
116
+ "typeName": "shelf",
117
+ "kind": "document",
118
+ "documentKind": "regular",
119
+ "route": ":relativeId-:slug",
120
+ "withFeaturedImage": true,
121
+ "regularChildren": ["page", "videoPage"],
122
+ "regularChildrenSorting": "title asc",
123
+ "fields": [
124
+ {
125
+ "name": "color",
126
+ "localized": false,
127
+ "storedAs": "varchar",
128
+ "dataType": "string",
129
+ "visibility": ["table", "overview", "feed"]
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "typeName": "videoPage",
135
+ "kind": "document",
136
+ "documentKind": "regular",
137
+ "route": ":relativeId-:slug",
138
+ "withFeaturedImage": true,
139
+ "fields": [
140
+ {
141
+ "name": "video",
142
+ "localized": true,
143
+ "storedAs": "varchar",
144
+ "dataType": "string",
145
+ "plugin": "@paroicms/video-plugin"
146
+ },
147
+ "htmlContent"
148
+ ]
149
+ },
150
+ {
151
+ "typeName": "pages",
152
+ "kind": "document",
153
+ "documentKind": "routing",
154
+ "route": "pages",
155
+ "withFeaturedImage": true,
156
+ "regularChildren": ["page"],
157
+ "regularChildrenSorting": "title asc"
158
+ },
159
+ {
160
+ "typeName": "page",
161
+ "kind": "document",
162
+ "documentKind": "regular",
163
+ "route": ":relativeId-:slug",
164
+ "withFeaturedImage": true,
165
+ "fields": [
166
+ "gallery",
167
+ "htmlContent",
168
+ "updateDateTime",
169
+ {
170
+ "name": "testTime",
171
+ "localized": true,
172
+ "storedAs": "varchar",
173
+ "dataType": "time"
174
+ },
175
+ {
176
+ "name": "testDate",
177
+ "localized": true,
178
+ "storedAs": "varchar",
179
+ "dataType": "date"
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "typeName": "posts",
185
+ "kind": "document",
186
+ "documentKind": "routing",
187
+ "route": {
188
+ "en": "posts",
189
+ "fr": "articles"
190
+ },
191
+ "withFeaturedImage": true,
192
+ "routingChildren": ["tags"],
193
+ "regularChildren": ["post"],
194
+ "regularChildrenSorting": "publishDate desc"
195
+ },
196
+ {
197
+ "typeName": "post",
198
+ "kind": "document",
199
+ "documentKind": "regular",
200
+ "ogType": "article",
201
+ "route": ":yyyy/:mm/:dd/:relativeId-:slug",
202
+ "relativeIdGenerator": ["default", 6],
203
+ "withFeaturedImage": true,
204
+ "fields": ["leadParagraph", "htmlContent"],
205
+ "labeling": [
206
+ {
207
+ "taxonomy": "tags",
208
+ "relation": "multiple"
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "typeName": "tags",
214
+ "kind": "document",
215
+ "documentKind": "routing",
216
+ "route": {
217
+ "en": "tag",
218
+ "fr": "tag"
219
+ },
220
+ "redirectTo": "parent",
221
+ "withFeaturedImage": true,
222
+ "regularChildren": ["tag"],
223
+ "regularChildrenSorting": "title asc",
224
+ "backOffice": {
225
+ "menuPlacement": "popup"
226
+ }
227
+ },
228
+ {
229
+ "typeName": "tag",
230
+ "kind": "document",
231
+ "documentKind": "regular",
232
+ "route": ":relativeId-:slug",
233
+ "withFeaturedImage": true,
234
+ "fields": ["htmlContent"],
235
+ "autoPublish": true
236
+ },
237
+ {
238
+ "typeName": "aboutPage",
239
+ "kind": "document",
240
+ "documentKind": "routing",
241
+ "route": {
242
+ "en": "about-us",
243
+ "fr": "a-propos"
244
+ },
245
+ "withFeaturedImage": true,
246
+ "fields": [
247
+ "htmlContent",
248
+ "updateDateTime",
249
+ {
250
+ "name": "testTime",
251
+ "localized": true,
252
+ "storedAs": "varchar",
253
+ "dataType": "time",
254
+ "visibility": ["table", "overview", "feed"]
255
+ },
256
+ {
257
+ "name": "testDate",
258
+ "localized": true,
259
+ "storedAs": "varchar",
260
+ "dataType": "date",
261
+ "visibility": ["table", "overview", "feed"]
262
+ }
263
+ ]
264
+ },
265
+ {
266
+ "typeName": "contactPage",
267
+ "kind": "document",
268
+ "documentKind": "routing",
269
+ "route": {
270
+ "en": "contact-us",
271
+ "fr": "contactez-nous"
272
+ },
273
+ "withFeaturedImage": false,
274
+ "fields": ["shortTitle", "htmlContent"]
275
+ },
276
+ {
277
+ "typeName": "searchPage",
278
+ "kind": "document",
279
+ "documentKind": "routing",
280
+ "route": {
281
+ "en": "search",
282
+ "fr": "recherche"
283
+ },
284
+ "withFeaturedImage": false,
285
+ "fields": ["htmlContent"]
286
+ }
287
+ ]
288
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "nodeTypes": {
3
+ "home": {
4
+ "label": "Home page",
5
+ "lists": {
6
+ "partners": {
7
+ "label": "Partners",
8
+ "addPart": "Add a partner",
9
+ "reorderParts": "Reorder partners"
10
+ }
11
+ }
12
+ },
13
+ "partner": {
14
+ "label": "Partner",
15
+ "fields": {
16
+ "url": {
17
+ "label": "URL"
18
+ },
19
+ "color": {
20
+ "label": "Color"
21
+ }
22
+ },
23
+ "list": {
24
+ "addPart": "Add a side image"
25
+ }
26
+ },
27
+ "sideImage": {
28
+ "label": "Side image"
29
+ },
30
+ "exhibition": {
31
+ "label": "Exhibition",
32
+ "addChild": "Add a shelf"
33
+ },
34
+ "shelf": {
35
+ "label": "Shelf",
36
+ "addChild": "Add an article",
37
+ "fields": {
38
+ "color": {
39
+ "label": "Color"
40
+ }
41
+ }
42
+ },
43
+ "videoPage": {
44
+ "label": "Video page"
45
+ },
46
+ "pages": {
47
+ "label": "Pages",
48
+ "addChild": "Add a page"
49
+ },
50
+ "page": {
51
+ "label": "Page",
52
+ "fields": {
53
+ "testTime": {
54
+ "label": "Update time (Test)",
55
+ "validateBtn": "Validate"
56
+ },
57
+ "testDate": {
58
+ "label": "Update date (Test)"
59
+ }
60
+ }
61
+ },
62
+ "posts": {
63
+ "label": "Posts",
64
+ "addChild": "Add a post"
65
+ },
66
+ "post": {
67
+ "label": "Post"
68
+ },
69
+ "tags": {
70
+ "label": "Tags",
71
+ "addChild": "Add a tag"
72
+ },
73
+ "tag": {
74
+ "label": "Post Tag"
75
+ },
76
+ "aboutPage": {
77
+ "label": "About page",
78
+ "fields": {
79
+ "testTime": {
80
+ "label": "Update time (Test)"
81
+ },
82
+ "testDate": {
83
+ "label": "Update date (Test)"
84
+ }
85
+ }
86
+ },
87
+ "contactPage": {
88
+ "label": "Contact page"
89
+ },
90
+ "searchPage": {
91
+ "label": "Search page"
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "nodeTypes": {
3
+ "home": {
4
+ "label": "Page d'accueil",
5
+ "lists": {
6
+ "partners": {
7
+ "label": "Partenaires",
8
+ "addPart": "Ajouter un partenaire",
9
+ "reorderParts": "Réordonner les partenaires"
10
+ }
11
+ }
12
+ },
13
+ "partner": {
14
+ "label": "Partenaire",
15
+ "fields": {
16
+ "url": {
17
+ "label": "URL"
18
+ },
19
+ "color": {
20
+ "label": "Couleur"
21
+ }
22
+ },
23
+ "list": {
24
+ "addPart": "Ajouter une image de côté"
25
+ }
26
+ },
27
+ "sideImage": {
28
+ "label": "Image de côté"
29
+ },
30
+ "exhibition": {
31
+ "label": "Exposition",
32
+ "addChild": "Ajouter un rayon"
33
+ },
34
+ "shelf": {
35
+ "label": "Rayon",
36
+ "addChild": "Ajouter un article",
37
+ "fields": {
38
+ "color": {
39
+ "label": "Couleur"
40
+ }
41
+ }
42
+ },
43
+ "videoPage": {
44
+ "label": "Page vidéo"
45
+ },
46
+ "pages": {
47
+ "label": "Pages",
48
+ "addChild": "Ajouter une page"
49
+ },
50
+ "page": {
51
+ "label": "Page",
52
+ "fields": {
53
+ "testTime": {
54
+ "label": "Heure de mise à jour (Test)"
55
+ },
56
+ "testDate": {
57
+ "label": "Date de mise à jour (Test)"
58
+ }
59
+ }
60
+ },
61
+ "posts": {
62
+ "label": "Articles",
63
+ "addChild": "Ajouter un article"
64
+ },
65
+ "post": {
66
+ "label": "Article"
67
+ },
68
+ "tags": {
69
+ "label": "Tags",
70
+ "addChild": "Ajouter un tag"
71
+ },
72
+ "tag": {
73
+ "label": "Tag d'article"
74
+ },
75
+ "aboutPage": {
76
+ "label": "Page à propos",
77
+ "fields": {
78
+ "testTime": {
79
+ "label": "Heure de mise à jour (Test)",
80
+ "validateBtn": "Valider"
81
+ },
82
+ "testDate": {
83
+ "label": "Date de mise à jour (Test)"
84
+ }
85
+ }
86
+ },
87
+ "contactPage": {
88
+ "label": "Page de contact"
89
+ },
90
+ "searchPage": {
91
+ "label": "Page de recherche"
92
+ }
93
+ }
94
+ }
@@ -0,0 +1 @@
1
+ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,button{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}:root{--siteAppBtnBgColor: "";--siteAppSearchIconColor: "";--siteAppBtnFgColor: "";--siteAppMobileMenuMaxWidth: 992px;--transitionDuration: 0.2s}.Container{margin-left:auto;margin-right:auto;max-width:1200px}.Container.text{max-width:700px}@media not all and (min-width: 640px){.Container{width:90%}}@media(min-width: 640px){.Container.pad{max-width:1240px;padding-left:20px;padding-right:20px}.Container.pad.text{max-width:740px}}@media(min-width: 640px){.Grid6,.Grid9,.Grid12{column-gap:25px;display:grid;row-gap:25px}.Grid6{grid-template-columns:repeat(6, 1fr)}.Grid9{grid-template-columns:repeat(9, 1fr)}.Grid12{grid-template-columns:repeat(12, 1fr)}.Span2{grid-column-end:span 2}.Span3{grid-column-end:span 3}.Span4{grid-column-end:span 4}.Span6{grid-column-end:span 6}.Span12{grid-column-end:span 12}.Column3{grid-column-start:3}.Column7{grid-column-start:7}@media not all and (min-width: 992px){.Span4Tablet{grid-column-end:span 4}}}.Text{hyphens:auto;overflow-wrap:break-word}@media not all and (min-width: 640px){.Text{hyphens:auto}}.Text.justified p,.Text.justified li{text-align:justify}.Text.selfContained::after{clear:both;content:"";display:block}.Text a{text-decoration:underline}.Text a:hover{text-decoration:none}.Text h1,.Text h2{clear:both;font-size:1.75rem;font-weight:bold;margin:2rem 0}.Text h3{font-size:1.125rem;font-weight:bold;margin:1.5rem 0}.Text h4,.Text h5{font-size:1rem;font-weight:bold}.Text blockquote,.Text h4,.Text h5,.Text ol,.Text p,.Text table,.Text ul{margin-bottom:10px}.Text blockquote{margin-left:50px;margin-right:20px}.Text ul,.Text ol{margin-left:20px}.Text li{margin-bottom:5px}.Text ul{list-style:disc}.Text ol{list-style:decimal}.Text ul ul,.Text ol ul{list-style:circle}.Text ul ol,.Text ol ol{list-style:lower-alpha}.Text img,.Text svg{height:auto;max-width:100%}.Text .Img.left{float:left;margin:5px 20px 10px 0}.Text .Img.right{float:right;margin:5px 0 10px 20px}.Text .Img.center{display:block;margin:20px auto}.Text .ql-align-center{text-align:center !important}.Text .ql-align-right{text-align:right !important}.Text .ql-size-small{font-size:.5625rem}.Text .ql-size-large{font-size:1.125rem}.Text .ql-size-huge{font-size:2rem}.Text .hljs{background-color:#f5f5f5;border-left:15px solid #ddd;font-family:monospace;font-size:.875rem;line-height:1.35;margin:20px 10px;overflow-x:auto;padding:10px 20px 10px 15px}.Text code{background-color:#f5f5f5;border:1px dotted #ccc;color:#785454;font-family:sans-serif;font-size:.9375rem;padding:1px 3px}.Breadcrumb{align-items:center;display:flex;margin-bottom:20px}.Breadcrumb-imgIcon{height:24px;width:24px}.Breadcrumb-span{display:inline-block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Breadcrumb-a{color:#6c98e2 !important}.HeaderBar{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.HeaderBar-logoTitle{align-items:center;display:flex}.HeaderBar-siteLogo{margin-right:10px}.HeaderBar-siteTitle{font-size:18px;font-weight:bold}.HeaderBar nav ul{display:flex}.HeaderBar nav li{list-style:none;padding:5px 10px}.HeaderBar nav li>a{text-decoration:none}@media not all and (min-width: 992px){.HeaderBar nav li{list-style:none;margin-bottom:10px}.HeaderBar nav li a{align-items:center;display:flex;height:50px;text-decoration:none}}.HeaderBar>div:nth-last-child(1){align-items:center;display:flex}.HeaderBar-searchBtn{margin-right:10px}.HeaderBar .SearchOpenerBtn{padding:8px 10px}.Tile{background-color:#f0f0f0}.Tile-img{display:block;height:auto;object-fit:cover;width:100%}@media not all and (min-width: 640px){.Tile{margin-bottom:20px}.Tile-text{padding:10px}}.Tile2{background-color:#f0f0f0}.Tile2-img{display:block;height:auto;width:100%}.Tile2-text{padding:10px}@media not all and (min-width: 640px){.Tile2{margin-bottom:20px}}.Tile-tags{display:flex;flex-wrap:wrap}.Tile-tags>span{border:1px solid #000;border-radius:15px;margin-bottom:10px;margin-right:5px;padding:5px 10px}.HeroBanner-img{height:545px;object-fit:cover;width:100%}@media not all and (min-width: 992px){.HeroBanner-img{height:300px}}@media not all and (min-width: 640px){.HeroBanner-img{height:200px}}.SiteFooter{background-color:#fafafa;margin-top:10px;padding:15px 0;text-align:center}.SiteFooter>span:nth-child(1){font-weight:bold;margin-right:15px}.ResultItem{margin-bottom:20px}.Paginate-left{text-align:left}.Paginate-next{text-align:right}.Gallery{display:flex;flex-wrap:wrap}.Gallery-item{height:150px;margin:10px;object-fit:cover;width:280px}.ContactForm-error{background-color:#f7c9c9;border:1px solid #bdaeae;color:#504848}.ContactForm-ended{background-color:#e7ffd7}.ContactForm-btn{border:2px solid #8bdda0;padding:20px}.ContactForm-btn,.ContactForm-btn:visited{color:#674002}.ContactForm-btn:not(:disabled):not(.inProgress):focus,.ContactForm-btn:not(:disabled):not(.inProgress):hover{background-color:#b77306;color:#fff}.ContactForm-btn.inProgress::before{border:6px solid #ddbe8b;border-color:#ddbe8b rgba(0,0,0,0) #ddbe8b rgba(0,0,0,0)}.List{display:flex;flex-direction:column;margin-top:20px}.PartItem{margin:0 auto}.PartItem img{margin-bottom:10px}.PartItem.partner{margin-bottom:20px;max-width:300px}.PartItem.partner p{margin-top:10px}.PartItem.sideImage{display:flex;width:100%}.PartItem.sideImage p{margin-left:10px}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#7f7f84" d="M8 5v14l11-7z"/></svg>
@@ -0,0 +1,3 @@
1
+ document.addEventListener("DOMContentLoaded", () => {
2
+
3
+ });
@@ -0,0 +1,22 @@
1
+ .Breadcrumb {
2
+ align-items: center;
3
+ display: flex;
4
+ margin-bottom: 20px;
5
+
6
+ &-imgIcon {
7
+ height: 24px;
8
+ width: 24px;
9
+ }
10
+
11
+ &-span {
12
+ display: inline-block;
13
+ max-width: 300px;
14
+ overflow: hidden;
15
+ text-overflow: ellipsis;
16
+ white-space: nowrap;
17
+ }
18
+
19
+ &-a {
20
+ color: #6c98e2 !important;
21
+ }
22
+ }
@@ -0,0 +1,34 @@
1
+ .ContactForm {
2
+ &-error {
3
+ background-color: rgb(247, 201, 201);
4
+ border: 1px solid rgb(189, 174, 174);
5
+ color: rgb(80, 72, 72);
6
+ }
7
+
8
+ &-ended {
9
+ background-color: rgb(231, 255, 215);
10
+ }
11
+
12
+
13
+ &-btn {
14
+ border: 2px solid #8bdda0;
15
+ padding: 20px;
16
+ }
17
+
18
+ &-btn,
19
+ &-btn:visited {
20
+ color: #674002;
21
+ }
22
+
23
+
24
+ &-btn:not(:disabled):not(.inProgress):focus,
25
+ &-btn:not(:disabled):not(.inProgress):hover {
26
+ background-color: #b77306;
27
+ color: white;
28
+ }
29
+
30
+ &-btn.inProgress::before {
31
+ border: 6px solid #ddbe8b;
32
+ border-color: #ddbe8b transparent #ddbe8b transparent;
33
+ }
34
+ }
@@ -0,0 +1,11 @@
1
+ .Gallery {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+
5
+ &-item {
6
+ height: 150px;
7
+ margin: 10px;
8
+ object-fit: cover;
9
+ width: 280px;
10
+ }
11
+ }
@@ -0,0 +1,64 @@
1
+ @use "constants";
2
+
3
+ .HeaderBar {
4
+ align-items: center;
5
+ display: flex;
6
+ justify-content: space-between;
7
+ margin-bottom: 30px;
8
+
9
+ &-logoTitle {
10
+ align-items: center;
11
+ display: flex;
12
+ }
13
+
14
+ &-siteLogo {
15
+ margin-right: 10px;
16
+ }
17
+
18
+ &-siteTitle {
19
+ font-size: 18px;
20
+ font-weight: bold;
21
+ }
22
+
23
+ nav {
24
+ ul {
25
+ display: flex;
26
+ }
27
+
28
+ li {
29
+ list-style: none;
30
+ padding: 5px 10px;
31
+ }
32
+
33
+ li>a {
34
+ text-decoration: none;
35
+ }
36
+ }
37
+
38
+ @include constants.for-phone-and-tablet {
39
+ nav li {
40
+ list-style: none;
41
+ margin-bottom: 10px;
42
+
43
+ a {
44
+ align-items: center;
45
+ display: flex;
46
+ height: 50px;
47
+ text-decoration: none;
48
+ }
49
+ }
50
+ }
51
+
52
+ &>div:nth-last-child(1) {
53
+ align-items: center;
54
+ display: flex;
55
+ }
56
+
57
+ &-searchBtn {
58
+ margin-right: 10px;
59
+ }
60
+
61
+ .SearchOpenerBtn {
62
+ padding: 8px 10px;
63
+ }
64
+ }