Skip to content

Commit da25c99

Browse files
committed
Add new onward container with new design
1 parent 77a4a14 commit da25c99

File tree

10 files changed

+594
-47
lines changed

10 files changed

+594
-47
lines changed
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
import {
2+
ArticleDesign,
3+
ArticleDisplay,
4+
Pillar,
5+
} from '../../src/lib/articleFormat';
6+
import { getDataLinkNameCard } from '../../src/lib/getDataLinkName';
7+
import { type TrailType } from '../../src/types/trails';
8+
9+
export const galleryOnwardsTrails: TrailType[] = [
10+
{
11+
url: 'https://www.theguardian.com/environment/gallery/2025/aug/22/week-in-wildlife-a-clumsy-fox-swinging-orangutang-and-rescued-jaguarundi-cub',
12+
linkText:
13+
'Week in wildlife: a clumsy fox, a swinging orangutan and a rescued jaguarundi cub',
14+
showByline: false,
15+
byline: 'Pejman Faratin',
16+
image: {
17+
src: 'https://media.guim.co.uk/a81e974ffee6c8c88fa280c2d02eaf5dc2af863e/151_292_1020_816/master/1020.jpg',
18+
altText: '',
19+
},
20+
format: {
21+
theme: Pillar.News,
22+
design: ArticleDesign.Gallery,
23+
display: ArticleDisplay.Standard,
24+
},
25+
webPublicationDate: '2022-01-01T06:00:25.000Z',
26+
headline:
27+
'Week in wildlife: a clumsy fox, a swinging orangutan and a rescued jaguarundi cub',
28+
shortUrl: 'https://www.theguardian.com/p/x32n89',
29+
discussion: {
30+
isCommentable: false,
31+
isClosedForComments: true,
32+
discussionId: '/p/x32n89',
33+
},
34+
discussionId: 'zHoBy6HNKsk',
35+
dataLinkName: getDataLinkNameCard(
36+
{
37+
theme: Pillar.News,
38+
design: ArticleDesign.Gallery,
39+
display: ArticleDisplay.Standard,
40+
},
41+
'0',
42+
0,
43+
),
44+
trailText:
45+
'Guinness World Records is looking back at the extraordinary feats achieved since its inception - as well as unveiling 70 whacky and unclaimed records ',
46+
kickerText: 'Politics', // Get data for this
47+
mainMedia: { type: 'Gallery', count: '6' },
48+
},
49+
{
50+
url: 'https://www.theguardian.com/money/gallery/2025/aug/22/characterful-cottages-for-sale-in-england-in-pictures',
51+
linkText: 'Characterful cottages for sale in England – in pictures',
52+
showByline: false,
53+
byline: 'Anna White',
54+
image: {
55+
src: 'https://media.guim.co.uk/58cd9356e6d68e8efa6028162bb959f9798307d5/515_0_5000_4000/master/5000.jpg',
56+
altText: '',
57+
},
58+
format: {
59+
design: ArticleDesign.Gallery,
60+
theme: Pillar.Lifestyle,
61+
display: ArticleDisplay.Standard,
62+
},
63+
webPublicationDate: '2022-01-01T06:00:24.000Z',
64+
headline: 'Characterful cottages for sale in England – in pictures',
65+
shortUrl: 'https://www.theguardian.com/p/x32gqj',
66+
discussion: {
67+
isCommentable: false,
68+
isClosedForComments: true,
69+
discussionId: '/p/x32gqj',
70+
},
71+
dataLinkName: getDataLinkNameCard(
72+
{
73+
design: ArticleDesign.Gallery,
74+
theme: Pillar.Lifestyle,
75+
display: ArticleDisplay.Standard,
76+
},
77+
'0',
78+
1,
79+
),
80+
trailText:
81+
'Picked from a record 60,636 entries, the first images from the Natural History Museum’s wildlife photographer of the year competition have been released. The photographs, which range from a lion facing down a cobra to magnified mould spores, show the diversity, beauty and complexity of the natural world and humanity’s relationship with it',
82+
mainMedia: { type: 'Gallery', count: '6' },
83+
},
84+
{
85+
url: 'https://www.theguardian.com/news/gallery/2025/aug/22/sunsets-aid-parachutes-and-giant-pandas-photos-of-the-day-friday',
86+
linkText:
87+
'Sunsets, aid parachutes and giant pandas: photos of the day – Friday ',
88+
showByline: false,
89+
byline: 'Eithne Staunton',
90+
image: {
91+
src: 'https://media.guim.co.uk/4ce0b080206fe9b65b976c1acf219d81072cc814/0_0_2113_1690/master/2113.png',
92+
altText: '',
93+
},
94+
format: {
95+
design: ArticleDesign.Gallery,
96+
theme: Pillar.News,
97+
display: ArticleDisplay.Standard,
98+
},
99+
webPublicationDate: '2022-01-01T08:49:42.000Z',
100+
headline:
101+
'Sunsets, aid parachutes and giant pandas: photos of the day – Friday ',
102+
shortUrl: 'https://www.theguardian.com/p/x3359z',
103+
discussion: {
104+
isCommentable: false,
105+
isClosedForComments: true,
106+
discussionId: '/p/x3359z',
107+
},
108+
dataLinkName: getDataLinkNameCard(
109+
{
110+
design: ArticleDesign.Gallery,
111+
theme: Pillar.News,
112+
display: ArticleDisplay.Standard,
113+
},
114+
'0',
115+
2,
116+
),
117+
trailText:
118+
'From the mock-Tudor fad of the 1920s to drivers refuelling on a roundabout, each era produces its own distinctive petrol stations – as photographer Philip Butler discovered',
119+
mainMedia: { type: 'Gallery', count: '6' },
120+
},
121+
{
122+
url: 'https://www.theguardian.com/fashion/gallery/2025/aug/22/what-to-wear-to-notting-hill-carnival',
123+
linkText: 'On parade: what to wear to Notting Hill carnival',
124+
showByline: false,
125+
byline: 'Melanie Wilkinson',
126+
image: {
127+
src: 'https://media.guim.co.uk/49a9656cd10c4f64f8bdd54380afb915c7a3648b/207_0_1500_1200/master/1500.jpg',
128+
altText: '',
129+
},
130+
format: {
131+
design: ArticleDesign.Gallery,
132+
theme: Pillar.Lifestyle,
133+
display: ArticleDisplay.Standard,
134+
},
135+
webPublicationDate: '2022-08-22T05:00:23.000Z',
136+
headline: 'On parade: what to wear to Notting Hill carnival',
137+
shortUrl: 'https://www.theguardian.com/p/x32mte',
138+
discussion: {
139+
isCommentable: false,
140+
isClosedForComments: true,
141+
discussionId: '/p/x32mte',
142+
},
143+
dataLinkName: getDataLinkNameCard(
144+
{
145+
design: ArticleDesign.Gallery,
146+
theme: Pillar.Lifestyle,
147+
display: ArticleDisplay.Standard,
148+
},
149+
'0',
150+
1,
151+
),
152+
trailText:
153+
'The Guardian’s picture editors select photographs from around the world',
154+
mainMedia: { type: 'Gallery', count: '6' },
155+
},
156+
{
157+
url: 'https://www.theguardian.com/artanddesign/gallery/2025/aug/21/psychedelic-rock-glass-mountain-michael-lundgren',
158+
linkText:
159+
'Psychedelic rock! Formations that mess with your mind – in pictures ',
160+
showByline: false,
161+
image: {
162+
src: 'https://media.guim.co.uk/2810af61b2d2d2d5f71ec01e56e6555e0a6d4635/55_0_2813_2250/master/2813.jpg',
163+
altText: '',
164+
},
165+
format: {
166+
design: ArticleDesign.Gallery,
167+
theme: Pillar.Culture,
168+
display: ArticleDisplay.Standard,
169+
},
170+
webPublicationDate: '2025-08-21T06:01:01.000Z',
171+
headline:
172+
'Psychedelic rock! Formations that mess with your mind – in pictures ',
173+
shortUrl: 'https://www.theguardian.com/p/x2p663',
174+
discussion: {
175+
isCommentable: false,
176+
isClosedForComments: true,
177+
discussionId: '/p/x2p663',
178+
},
179+
dataLinkName: getDataLinkNameCard(
180+
{
181+
design: ArticleDesign.Gallery,
182+
theme: Pillar.Culture,
183+
display: ArticleDisplay.Standard,
184+
},
185+
'0',
186+
1,
187+
),
188+
trailText:
189+
'Politicians and their partners put on their best show at this year’s Midwinter Ball, an annual dinner hosted by the Federal Parliamentary Press Gallery in Canberra',
190+
mainMedia: { type: 'Gallery', count: '6' },
191+
},
192+
];

0 commit comments

Comments
 (0)