@fifthbell/brokaw 0.1.69 → 0.1.71
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.
- package/README.md +7 -0
- package/dist/cronkite-manifest.json +1 -1
- package/dist/live-program-page/index.html +2 -2
- package/dist/live-program-page/live-program-manifest.json +4 -4
- package/package.json +1 -1
- package/src/templates/partials/components/breaking-news.hbs +6 -8
- package/src/templates/partials/components/live-story/main.hbs +6 -8
- package/src/templates/partials/components/media/main.hbs +1 -1
- /package/dist/live-program-page/{live-program.v0.1.69.css → live-program.v0.1.71.css} +0 -0
- /package/dist/live-program-page/{live-program.v0.1.69.js → live-program.v0.1.71.js} +0 -0
package/README.md
CHANGED
|
@@ -104,3 +104,10 @@ npm run storybook
|
|
|
104
104
|
|
|
105
105
|
- CI validates typecheck, unit tests, and package build on pull requests and `main` pushes.
|
|
106
106
|
- Package publish is triggered by pushing a `v*` tag.
|
|
107
|
+
|
|
108
|
+
### Mediathek
|
|
109
|
+
|
|
110
|
+
The `media-page` renderer emits one shared page for `/mediathek/<assignment-key>`.
|
|
111
|
+
Its browser script selects the assignment from the URL and fetches
|
|
112
|
+
`contents/assignments/<key>.json`; neither the HTML nor its canonical document is
|
|
113
|
+
assignment-specific. Storybook `Pages/MediaPage` uses Mediathek URLs.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
6
6
|
<title>Live Program | fifthbell</title>
|
|
7
|
-
<script type="module" crossorigin src="./live-program.v0.1.
|
|
8
|
-
<link rel="stylesheet" crossorigin href="./live-program.v0.1.
|
|
7
|
+
<script type="module" crossorigin src="./live-program.v0.1.71.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./live-program.v0.1.71.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"package": "@fifthbell/brokaw",
|
|
48
|
-
"bundleVersion": "0.1.
|
|
48
|
+
"bundleVersion": "0.1.71",
|
|
49
49
|
"schemaVersion": 1,
|
|
50
50
|
"statePath": "state",
|
|
51
51
|
"eventsPath": "events",
|
|
@@ -390,16 +390,16 @@
|
|
|
390
390
|
"key": "index.html",
|
|
391
391
|
"contentType": "text/html; charset=utf-8",
|
|
392
392
|
"bytes": 446,
|
|
393
|
-
"sha256": "
|
|
393
|
+
"sha256": "b9289d1cef08909bf028271333271decc56e8ea28cee1f6c075c634e8a82357a"
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
|
-
"key": "live-program.v0.1.
|
|
396
|
+
"key": "live-program.v0.1.71.css",
|
|
397
397
|
"contentType": "text/css; charset=utf-8",
|
|
398
398
|
"bytes": 77718,
|
|
399
399
|
"sha256": "f41d6c113bcb2a880f5ca0f4c66b3928fac71cf29f99149d5aa047b02928118e"
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
|
-
"key": "live-program.v0.1.
|
|
402
|
+
"key": "live-program.v0.1.71.js",
|
|
403
403
|
"contentType": "application/javascript; charset=utf-8",
|
|
404
404
|
"bytes": 294937,
|
|
405
405
|
"sha256": "3e1abe4ffb61cdef6c9fbf441548df60b972821aa4c4e119a5741a664ff089b0"
|
package/package.json
CHANGED
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
</a>
|
|
27
27
|
{{/if}}
|
|
28
28
|
|
|
29
|
-
{{#
|
|
29
|
+
{{#if sofascore_id}}
|
|
30
30
|
<div class='w-full mt-4 mb-2 rounded-lg overflow-hidden border border-slate-200 dark:border-slate-700'>
|
|
31
31
|
<iframe
|
|
32
32
|
width='100%'
|
|
33
33
|
height='286'
|
|
34
|
-
src='{{
|
|
34
|
+
src='{{embedUrl 'sofascore-widget' id=sofascore_id widgetTheme='light'}}'
|
|
35
35
|
title='SofaScore Attack Momentum'
|
|
36
36
|
frameborder='0'
|
|
37
37
|
scrolling='no'
|
|
@@ -39,13 +39,11 @@
|
|
|
39
39
|
referrerpolicy='no-referrer-when-downgrade'
|
|
40
40
|
style='border:0;'
|
|
41
41
|
></iframe>
|
|
42
|
-
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
</div>
|
|
46
|
-
{{/with}}
|
|
42
|
+
<div style='font-size:12px;font-family:Arial,sans-serif'>
|
|
43
|
+
<a href='{{embedUrl 'sofascore-match' id=sofascore_id}}' target='_blank' rel='noreferrer'>{{title}} Live Score</a>
|
|
44
|
+
</div>
|
|
47
45
|
</div>
|
|
48
|
-
{{/
|
|
46
|
+
{{/if}}
|
|
49
47
|
</div>
|
|
50
48
|
</div>
|
|
51
49
|
</section>
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
{{/if}}
|
|
122
122
|
|
|
123
123
|
{{!-- SofaScore Match Momentum --}}
|
|
124
|
-
{{#
|
|
124
|
+
{{#if sofascore_id}}
|
|
125
125
|
<div class='mb-10 rounded-lg overflow-hidden border border-slate-200 dark:border-slate-700 bg-white dark:bg-slate-900'>
|
|
126
126
|
<div class='px-6 py-3 bg-slate-100 dark:bg-slate-800 border-b border-slate-200 dark:border-slate-700'>
|
|
127
127
|
<h2 class='text-sm font-bold tracking-[0.06em] uppercase text-slate-700 dark:text-slate-200 leading-none'>Match Momentum</h2>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<iframe
|
|
131
131
|
width='100%'
|
|
132
132
|
height='286'
|
|
133
|
-
src='{{
|
|
133
|
+
src='{{embedUrl 'sofascore-widget' id=sofascore_id widgetTheme='light'}}'
|
|
134
134
|
title='SofaScore Attack Momentum'
|
|
135
135
|
frameborder='0'
|
|
136
136
|
scrolling='no'
|
|
@@ -138,14 +138,12 @@
|
|
|
138
138
|
referrerpolicy='no-referrer-when-downgrade'
|
|
139
139
|
style='border:0;'
|
|
140
140
|
></iframe>
|
|
141
|
-
|
|
142
|
-
<
|
|
143
|
-
|
|
144
|
-
</div>
|
|
145
|
-
{{/with}}
|
|
141
|
+
<div style='font-size:12px;font-family:Arial,sans-serif'>
|
|
142
|
+
<a href='{{embedUrl 'sofascore-match' id=sofascore_id}}' target='_blank' rel='noreferrer'>{{title}} Live Score</a>
|
|
143
|
+
</div>
|
|
146
144
|
</div>
|
|
147
145
|
</div>
|
|
148
|
-
{{/
|
|
146
|
+
{{/if}}
|
|
149
147
|
|
|
150
148
|
{{!-- Live Updates Timeline --}}
|
|
151
149
|
<div>
|
|
File without changes
|
|
File without changes
|