@internetarchive/ia-topnav 1.3.6-alpha.0 → 1.3.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-topnav",
3
- "version": "1.3.6-alpha.0",
3
+ "version": "1.3.6",
4
4
  "description": "Top nav for Internet Archive",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "index.js",
package/src/data/menus.js CHANGED
@@ -48,10 +48,6 @@ export function buildTopNavMenus(userid = '___USERID___', localLinks = true, way
48
48
  title: 'All Audio',
49
49
  url: `${prefix}/details/audio`,
50
50
  },
51
- {
52
- title: 'This Just In',
53
- url: `${prefix}/search?query=mediatype:audio&sort=-publicdate`,
54
- },
55
51
  {
56
52
  title: 'Grateful Dead',
57
53
  url: `${prefix}/details/GratefulDead`,
@@ -119,10 +115,6 @@ export function buildTopNavMenus(userid = '___USERID___', localLinks = true, way
119
115
  title: 'All Images',
120
116
  url: `${prefix}/details/image`,
121
117
  },
122
- {
123
- title: 'This Just In',
124
- url: `${prefix}/search?query=mediatype:image&sort=-publicdate`,
125
- },
126
118
  {
127
119
  title: 'Flickr Commons',
128
120
  url: `${prefix}/details/flickrcommons`,
@@ -212,10 +204,6 @@ export function buildTopNavMenus(userid = '___USERID___', localLinks = true, way
212
204
  title: 'All Software',
213
205
  url: `${prefix}/details/software`,
214
206
  },
215
- {
216
- title: 'This Just In',
217
- url: `${prefix}/search?query=mediatype:software&sort=-publicdate`,
218
- },
219
207
  {
220
208
  title: 'Old School Emulation',
221
209
  url: `${prefix}/details/tosec`,
@@ -293,32 +281,24 @@ export function buildTopNavMenus(userid = '___USERID___', localLinks = true, way
293
281
  ],
294
282
  },
295
283
  texts: {
296
- heading: 'Books',
284
+ heading: 'Texts',
297
285
  iconLinks: [
298
- {
299
- title: 'Books to Borrow',
300
- icon: `${prefix}/images/book-lend.png`,
301
- url: `${prefix}/details/inlibrary`,
302
- },
303
286
  {
304
287
  title: 'Open Library',
305
288
  icon: `${prefix}/images/widgetOL.png`,
306
289
  url: 'https://openlibrary.org/',
307
290
  },
308
- ],
309
- featuredLinks: [
310
291
  {
311
- title: 'All Books',
312
- url: `${prefix}/details/books`,
292
+ title: 'American Libraries',
293
+ icon: `${prefix}/services/img/americana`,
294
+ url: `${prefix}/details/americana`,
313
295
  },
296
+ ],
297
+ featuredLinks: [
314
298
  {
315
299
  title: 'All Texts',
316
300
  url: `${prefix}/details/texts`,
317
301
  },
318
- {
319
- title: 'This Just In',
320
- url: `${prefix}/search?query=mediatype:texts&sort=-publicdate`,
321
- },
322
302
  {
323
303
  title: 'Smithsonian Libraries',
324
304
  url: `${prefix}/details/smithsonian`,
@@ -443,10 +423,6 @@ export function buildTopNavMenus(userid = '___USERID___', localLinks = true, way
443
423
  title: 'All Video',
444
424
  url: `${prefix}/details/movies`,
445
425
  },
446
- {
447
- title: 'This Just In',
448
- url: `${prefix}/search?query=mediatype:movies&sort=-publicdate`,
449
- },
450
426
  {
451
427
  title: 'Prelinger Archives',
452
428
  url: `${prefix}/details/prelinger`,
package/src/media-menu.js CHANGED
@@ -15,7 +15,7 @@ const menuSelection = [
15
15
  icon: 'texts',
16
16
  menu: 'texts',
17
17
  href: '/details/texts',
18
- label: 'Books',
18
+ label: 'Texts',
19
19
  },
20
20
  {
21
21
  icon: 'video',