-
Notifications
You must be signed in to change notification settings - Fork 0
/
mockData.js
263 lines (259 loc) · 11.6 KB
/
mockData.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
export const mockData2 = {
title: "LDP Example",
messages: {
success: [
"Your message has been sent."
]
},
breadcrumbs: [
],
metatags: {
meta: [
{
name: "title",
content: "LDP Example | Drush Site-Install"
},
{
name: "description",
content: "lupus.digital Publishing"
},
{
property: "og:site_name",
content: "Drush Site-Install"
},
{
property: "og:url",
content: "https:\/\/example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com"
},
{
property: "og:title",
content: "LDP Example"
},
{
property: "og:description",
content: "lupus.digital Publishing"
}
],
link: [
{
rel: "canonical",
href: "https:\/\/example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com"
}
]
},
content_format: "json",
content: {
element: "node",
type: "channel_page",
sections: [
{
element: "layout-section",
layout: "layout_onecol",
settings: {
label: "",
width: "regular"
},
content: [
{
element: "teaser-list",
contains: "teaser-square",
loadEndpoint: "\/lupus\/block\/ldp_channel_content_listing\/items?type=channel_page\u0026view_mode=teaser_square\u0026sort=1\u0026\u0026obey_topic_secondary=\u0026channel%5B0%5D=1\u0026channel_filter_depth=1\u0026rendered=33",
loadNumItems: "15",
initialNumItems: 3,
moreType: "none",
buttonText: "Load more",
isEmpty: false,
type: "channel_page",
teasers: [
{
element: "teaser-square",
type: "channel_page",
href: "\/science",
title: "Channel: Science",
image: {
aspectRatio: 100,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/360_360\/public\/2024-10\/channel_science.jpg?itok=UrBsIWHp",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 By NASA\/WMAP Science Team - Original version: NASA; modified by Cherkash, Public domain, https:\/\/commons.wikimedia.org\/wiki\/File:CMB_Timeline300_no_WMAP.jpg\nSource: https:\/\/upload.wikimedia.org\/wikipedia\/commons\/6\/6f\/CMB_Timeline300_no_WMAP.jpg"
},
publishedAt: "30. March 2021"
},
{
element: "teaser-square",
type: "channel_page",
href: "\/info",
title: "Channel: Info",
image: {
aspectRatio: 100,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/360_360\/public\/teaser_image_placeholder-39fb88d99f41a7f15bbee4c982ebbfdd.png?itok=GW_wY-_9",
srcset: null,
alt: "Fallback image",
title: ""
},
publishedAt: "30. March 2021"
},
{
element: "teaser-square",
type: "channel_page",
href: "\/sport",
title: "Channel: Sport",
image: {
aspectRatio: 100,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/360_360\/public\/2024-10\/topics_sports.jpg?itok=7whOtFhH",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 By Derek Jensen (Tysto), 2005-September-17, Public domain, https:\/\/commons.wikimedia.org\/wiki\/File:Youth-soccer-indiana.jpg\nSource: https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/9\/92\/Youth-soccer-indiana.jpg\/1920px-Youth-soccer-indiana.jpg"
},
publishedAt: "30. March 2021"
}
]
},
{
element: "teaser-list",
contains: "teaser-wide",
loadEndpoint: "\/lupus\/block\/ldp_channel_article_listing\/items?type=article\u0026view_mode=teaser_wide\u0026sort=1\u0026\u0026obey_topic_secondary=\u0026channel%5B0%5D=1\u0026channel_filter_depth=3\u0026rendered=33%2C34%2C35%2C36%2C15%2C9%2C26%2C25%2C24",
loadNumItems: "5",
initialNumItems: 5,
moreType: "load-in",
buttonText: "Load more",
isEmpty: false,
teasers: [
{
element: "teaser-wide",
type: "article",
href: "\/info\/drunomics-gewinnt-zwei-splash-awards-2019-fuer-die-besten-oesterreichischen-websites-15",
title: "drunomics gewinnt zwei Splash Awards 2019 in den Kategorien Medien und Bildung",
category: "News",
excerpt: "Am 26. April 2019 wurden die Splash Awards zum dritten Mal in Deutschland vergeben. Das Team von drunomics wurde mit den Drupal-Projekten einfachbacken.de und TSNweb f\u00fcr die besten \u00f6sterreichischen Websites in zwei Kategorien ausgezeichnet.",
image: {
aspectRatio: 133.33000000000001,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/300_225\/public\/2024-10\/groupphoto.jpg?itok=Rjg27LYB",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 Burda Magazine Holding GmbH\nSource: https:\/\/www.ots.at\/anhang\/2019\/04\/28\/OBS\/OBS_20190428_OBS0002.layout.jpg"
},
publishedAt: "11. January 2027"
},
{
element: "teaser-wide",
type: "article",
href: "\/science\/instagram-demo-paragraph-9",
title: "Demo article of instagram paragraph",
category: "Technology",
excerpt: "Article with instagram demo paragraph. Note: Keyword CBLqNvVRLpQloUf is here for automated testing of search results.",
image: {
aspectRatio: 133.33000000000001,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/300_225\/public\/2024-10\/d8rules_funded_0.png?itok=wWeyzUGx",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 drunomics Gmbh\nSource: https:\/\/drunomics.com\/files\/d8rules_funded_0.png"
},
publishedAt: "11. January 2027"
},
{
element: "teaser-wide",
type: "article",
href: "\/sport\/demo-article-fallback-image-test-26",
title: "Demo article for fallback image test",
category: "Sports",
excerpt: "This article was made to help test the functionality of fallback image.",
image: {
aspectRatio: 133.33000000000001,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/300_225\/public\/teaser_image_placeholder-39fb88d99f41a7f15bbee4c982ebbfdd.png?itok=TauaIera",
srcset: null,
alt: "Fallback image",
title: ""
},
publishedAt: "01. April 2021"
},
{
element: "teaser-wide",
type: "article",
href: "\/paragraph-showcase",
title: "Paragraphs showcase",
category: "News",
excerpt: "This article was made to help present usage of all paragraph types. Note: Keyword CBLqNvVRLpQloUf is here for automated testing of search results.",
image: {
aspectRatio: 133.33000000000001,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/300_225\/public\/2024-10\/new_logo.jpg?itok=fkX7Buim",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 drupal.org\nSource: https:\/\/www.drupal.org\/files\/Wordmark2_blue_RGB%281%29.png"
},
publishedAt: "31. March 2021"
},
{
element: "teaser-wide",
type: "article",
href: "\/social-media-showcase",
title: "Social-media paragraphs test",
category: "News",
excerpt: "This article was made to help present usage of all paragraph types. Note: Keyword CBLqNvVRLpQloUf is here for automated testing of search results.",
image: {
aspectRatio: 133.33000000000001,
src: "https:\/\/admin--example_lupus-nuxt3-kickstart--1x.ci2.drunomics.com\/sites\/example\/files\/styles\/300_225\/public\/2024-10\/new_logo.jpg?itok=fkX7Buim",
srcset: null,
alt: "Alt Placeholder",
title: "\u00a9 drupal.org\nSource: https:\/\/www.drupal.org\/files\/Wordmark2_blue_RGB%281%29.png"
},
publishedAt: "31. March 2021"
}
]
}
]
}
]
},
page_layout: "full",
settings: {
"display_title": "1"
},
local_tasks: [
]
}
export const mockData = {
title: "first article",
messages: [],
breadcrumbs: [
{
"frontpage": true,
"url": "/",
"label": "Home"
}
],
metatags: {
meta: [
{
"name": "title",
"content": "first article | lupus decoupled"
}
],
link: [
{
"rel": "canonical",
"href": "https://3000-drunomics-lupusdecouple-xeqrf6qqxj3.ws-eu116.gitpod.io/demo-first"
}
]
},
content_format: "json",
content: {
element: "node-article-full",
uid: "1",
title: "first article",
created: "1728894039"
},
page_layout: "default",
local_tasks: []
}
export const redirectMockData = {
redirect: {
external: true,
url: "http://localhost:3000/node/1",
statusCode: 302
},
messages: [],
settings: {
display_title: 0
}
}