station 0.0.114 → 0.0.121

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/lib/nexmo_developer/Gemfile +11 -11
  4. data/lib/nexmo_developer/Gemfile.lock +195 -128
  5. data/lib/nexmo_developer/app/assets/stylesheets/application.css +8 -1
  6. data/lib/nexmo_developer/app/controllers/static_controller.rb +1 -0
  7. data/lib/nexmo_developer/app/models/tutorial/file_loader.rb +11 -7
  8. data/lib/nexmo_developer/app/models/tutorial/task.rb +27 -1
  9. data/lib/nexmo_developer/app/presenters/code_snippets_home_presenter.rb +26 -0
  10. data/lib/nexmo_developer/app/presenters/footer.rb +2 -3
  11. data/lib/nexmo_developer/app/presenters/header.rb +0 -31
  12. data/lib/nexmo_developer/app/services/orbit_feedback_notifier.rb +0 -3
  13. data/lib/nexmo_developer/app/views/contribute/code-snippets/how-to-update-code-snippets.md +1 -1
  14. data/lib/nexmo_developer/app/views/contribute/code-snippets/sample-code-snippet.md +1 -1
  15. data/lib/nexmo_developer/app/views/contribute/guides/markdown-guide.md +3 -3
  16. data/lib/nexmo_developer/app/views/layouts/application.html.erb +0 -1
  17. data/lib/nexmo_developer/app/views/layouts/documentation-index.html.erb +0 -1
  18. data/lib/nexmo_developer/app/views/layouts/documentation.html.erb +6 -0
  19. data/lib/nexmo_developer/app/views/layouts/landing.html.erb +4 -2
  20. data/lib/nexmo_developer/app/views/layouts/page.html.erb +0 -1
  21. data/lib/nexmo_developer/app/views/layouts/partials/_code_snippets_home.html.erb +38 -0
  22. data/lib/nexmo_developer/app/views/layouts/partials/_footer.html.erb +33 -32
  23. data/lib/nexmo_developer/app/views/layouts/partials/_header.html.erb +90 -31
  24. data/lib/nexmo_developer/app/views/layouts/partials/_locale_switcher.html.erb +3 -4
  25. data/lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb +3 -0
  26. data/lib/nexmo_developer/app/webpacker/javascript/components/concatenation/character_counter.js +5 -3
  27. data/lib/nexmo_developer/app/webpacker/javascript/components/jwt_generator/JwtGenerator.vue +1 -1
  28. data/lib/nexmo_developer/app/webpacker/javascript/components/search/Search.vue +80 -19
  29. data/lib/nexmo_developer/app/webpacker/javascript/sidenav/index.js +14 -10
  30. data/lib/nexmo_developer/app/webpacker/javascript/topnav/index.js +33 -0
  31. data/lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/index.js +3 -1
  32. data/lib/nexmo_developer/app/webpacker/packs/application.js +16 -5
  33. data/lib/nexmo_developer/app/webpacker/stylesheets/application.scss +4 -0
  34. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_core.scss +8 -4
  35. data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_landing.scss +470 -0
  36. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_footer.scss +45 -23
  37. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_header.scss +163 -138
  38. data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_search.scss +2 -5
  39. data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_navigation.scss +19 -2
  40. data/lib/nexmo_developer/lib/tasks/ci.rake +23 -1
  41. data/lib/nexmo_developer/public/vonage_developer_logo.svg +26 -0
  42. data/lib/nexmo_developer/version.rb +1 -1
  43. data/package.json +39 -36
  44. data/station.gemspec +13 -13
  45. data/yarn.lock +1411 -1160
  46. metadata +76 -73
  47. data/lib/nexmo_developer/app/presenters/topnav.rb +0 -23
  48. data/lib/nexmo_developer/app/presenters/topnav_item.rb +0 -19
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.114
4
+ version: 0.0.121
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage DevRel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-01 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '6.0'
33
+ version: '6.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '6.0'
40
+ version: '6.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootsnap
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,30 +56,30 @@ dependencies:
56
56
  name: nexmo-oas-renderer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '2.6'
61
+ version: 2.7.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: '2.6'
68
+ version: 2.7.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nexmo_markdown_renderer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.8'
75
+ version: '0.9'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.8'
82
+ version: '0.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activesupport
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -352,7 +352,7 @@ dependencies:
352
352
  requirements:
353
353
  - - ">="
354
354
  - !ruby/object:Gem::Version
355
- version: '4.3'
355
+ version: '5.3'
356
356
  - - "<"
357
357
  - !ruby/object:Gem::Version
358
358
  version: '6.0'
@@ -362,7 +362,7 @@ dependencies:
362
362
  requirements:
363
363
  - - ">="
364
364
  - !ruby/object:Gem::Version
365
- version: '4.3'
365
+ version: '5.3'
366
366
  - - "<"
367
367
  - !ruby/object:Gem::Version
368
368
  version: '6.0'
@@ -372,14 +372,14 @@ dependencies:
372
372
  requirements:
373
373
  - - '='
374
374
  - !ruby/object:Gem::Version
375
- version: 0.0.8
375
+ version: 0.0.9
376
376
  type: :runtime
377
377
  prerelease: false
378
378
  version_requirements: !ruby/object:Gem::Requirement
379
379
  requirements:
380
380
  - - '='
381
381
  - !ruby/object:Gem::Version
382
- version: 0.0.8
382
+ version: 0.0.9
383
383
  - !ruby/object:Gem::Dependency
384
384
  name: woothee
385
385
  requirement: !ruby/object:Gem::Requirement
@@ -442,14 +442,14 @@ dependencies:
442
442
  requirements:
443
443
  - - '='
444
444
  - !ruby/object:Gem::Version
445
- version: 3.0.0
445
+ version: 3.0.1
446
446
  type: :runtime
447
447
  prerelease: false
448
448
  version_requirements: !ruby/object:Gem::Requirement
449
449
  requirements:
450
450
  - - '='
451
451
  - !ruby/object:Gem::Version
452
- version: 3.0.0
452
+ version: 3.0.1
453
453
  - !ruby/object:Gem::Dependency
454
454
  name: lograge
455
455
  requirement: !ruby/object:Gem::Requirement
@@ -484,14 +484,14 @@ dependencies:
484
484
  requirements:
485
485
  - - '='
486
486
  - !ruby/object:Gem::Version
487
- version: 1.11.1
487
+ version: 1.11.7
488
488
  type: :runtime
489
489
  prerelease: false
490
490
  version_requirements: !ruby/object:Gem::Requirement
491
491
  requirements:
492
492
  - - '='
493
493
  - !ruby/object:Gem::Version
494
- version: 1.11.1
494
+ version: 1.11.7
495
495
  - !ruby/object:Gem::Dependency
496
496
  name: ruby-progressbar
497
497
  requirement: !ruby/object:Gem::Requirement
@@ -540,14 +540,14 @@ dependencies:
540
540
  requirements:
541
541
  - - '='
542
542
  - !ruby/object:Gem::Version
543
- version: 2.3.2
543
+ version: 2.4.0
544
544
  type: :runtime
545
545
  prerelease: false
546
546
  version_requirements: !ruby/object:Gem::Requirement
547
547
  requirements:
548
548
  - - '='
549
549
  - !ruby/object:Gem::Version
550
- version: 2.3.2
550
+ version: 2.4.0
551
551
  - !ruby/object:Gem::Dependency
552
552
  name: titleize
553
553
  requirement: !ruby/object:Gem::Requirement
@@ -568,28 +568,28 @@ dependencies:
568
568
  requirements:
569
569
  - - '='
570
570
  - !ruby/object:Gem::Version
571
- version: 3.0.1
571
+ version: 3.1.0
572
572
  type: :runtime
573
573
  prerelease: false
574
574
  version_requirements: !ruby/object:Gem::Requirement
575
575
  requirements:
576
576
  - - '='
577
577
  - !ruby/object:Gem::Version
578
- version: 3.0.1
578
+ version: 3.1.0
579
579
  - !ruby/object:Gem::Dependency
580
580
  name: country_select
581
581
  requirement: !ruby/object:Gem::Requirement
582
582
  requirements:
583
583
  - - '='
584
584
  - !ruby/object:Gem::Version
585
- version: 4.0.0
585
+ version: 6.0.0
586
586
  type: :runtime
587
587
  prerelease: false
588
588
  version_requirements: !ruby/object:Gem::Requirement
589
589
  requirements:
590
590
  - - '='
591
591
  - !ruby/object:Gem::Version
592
- version: 4.0.0
592
+ version: 6.0.0
593
593
  - !ruby/object:Gem::Dependency
594
594
  name: smartling
595
595
  requirement: !ruby/object:Gem::Requirement
@@ -610,14 +610,14 @@ dependencies:
610
610
  requirements:
611
611
  - - '='
612
612
  - !ruby/object:Gem::Version
613
- version: 6.15.0
613
+ version: 7.1.0
614
614
  type: :runtime
615
615
  prerelease: false
616
616
  version_requirements: !ruby/object:Gem::Requirement
617
617
  requirements:
618
618
  - - '='
619
619
  - !ruby/object:Gem::Version
620
- version: 6.15.0
620
+ version: 7.1.0
621
621
  - !ruby/object:Gem::Dependency
622
622
  name: redis
623
623
  requirement: !ruby/object:Gem::Requirement
@@ -666,28 +666,28 @@ dependencies:
666
666
  requirements:
667
667
  - - '='
668
668
  - !ruby/object:Gem::Version
669
- version: 3.4.2
669
+ version: 4.0.4
670
670
  type: :runtime
671
671
  prerelease: false
672
672
  version_requirements: !ruby/object:Gem::Requirement
673
673
  requirements:
674
674
  - - '='
675
675
  - !ruby/object:Gem::Version
676
- version: 3.4.2
676
+ version: 4.0.4
677
677
  - !ruby/object:Gem::Dependency
678
678
  name: rubocop
679
679
  requirement: !ruby/object:Gem::Requirement
680
680
  requirements:
681
681
  - - "~>"
682
682
  - !ruby/object:Gem::Version
683
- version: 1.10.0
683
+ version: 1.16.0
684
684
  type: :development
685
685
  prerelease: false
686
686
  version_requirements: !ruby/object:Gem::Requirement
687
687
  requirements:
688
688
  - - "~>"
689
689
  - !ruby/object:Gem::Version
690
- version: 1.10.0
690
+ version: 1.16.0
691
691
  - !ruby/object:Gem::Dependency
692
692
  name: rubocop-rails
693
693
  requirement: !ruby/object:Gem::Requirement
@@ -717,11 +717,11 @@ files:
717
717
  - "./lib/nexmo_developer/public/android-chrome-512x512.png"
718
718
  - "./lib/nexmo_developer/public/apple-touch-icon-precomposed.png"
719
719
  - "./lib/nexmo_developer/public/apple-touch-icon.png"
720
- - "./lib/nexmo_developer/public/assets/.sprockets-manifest-7e79f7aac57e838554551ab3d84d769d.json"
720
+ - "./lib/nexmo_developer/public/assets/.sprockets-manifest-7cdae35651f6f02fe14690580bb541f4.json"
721
+ - "./lib/nexmo_developer/public/assets/application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css"
722
+ - "./lib/nexmo_developer/public/assets/application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css.gz"
721
723
  - "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js"
722
724
  - "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js.gz"
723
- - "./lib/nexmo_developer/public/assets/application-f940d308cf06d7b6e09ec4ebd9263213ccd2cc54faf3c09dfc92f3af40e6f369.css"
724
- - "./lib/nexmo_developer/public/assets/application-f940d308cf06d7b6e09ec4ebd9263213ccd2cc54faf3c09dfc92f3af40e6f369.css.gz"
725
725
  - "./lib/nexmo_developer/public/assets/archives/app-store-badges.zip"
726
726
  - "./lib/nexmo_developer/public/assets/fonts/icomoon.eot"
727
727
  - "./lib/nexmo_developer/public/assets/fonts/icomoon.json"
@@ -828,23 +828,22 @@ files:
828
828
  - "./lib/nexmo_developer/public/packs/css/active_admin/print-69353421.chunk.css"
829
829
  - "./lib/nexmo_developer/public/packs/css/active_admin/print-69353421.chunk.css.br"
830
830
  - "./lib/nexmo_developer/public/packs/css/active_admin/print-69353421.chunk.css.gz"
831
- - "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css"
832
- - "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css.br"
833
- - "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css.gz"
834
- - "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js"
835
- - "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.br"
836
- - "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map"
837
- - "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map.br"
838
- - "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map.gz"
839
- - "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js"
840
- - "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js.map"
841
- - "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js.map.br"
842
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js"
843
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.br"
844
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.gz"
845
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map"
846
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map.br"
847
- - "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map.gz"
831
+ - "./lib/nexmo_developer/public/packs/css/application-4c4a8d4f.chunk.css"
832
+ - "./lib/nexmo_developer/public/packs/css/application-4c4a8d4f.chunk.css.br"
833
+ - "./lib/nexmo_developer/public/packs/css/application-4c4a8d4f.chunk.css.gz"
834
+ - "./lib/nexmo_developer/public/packs/js/active_admin-5ac319e79e6d7e96d632.chunk.js"
835
+ - "./lib/nexmo_developer/public/packs/js/active_admin-5ac319e79e6d7e96d632.chunk.js.br"
836
+ - "./lib/nexmo_developer/public/packs/js/active_admin-5ac319e79e6d7e96d632.chunk.js.map"
837
+ - "./lib/nexmo_developer/public/packs/js/active_admin-5ac319e79e6d7e96d632.chunk.js.map.br"
838
+ - "./lib/nexmo_developer/public/packs/js/active_admin-5ac319e79e6d7e96d632.chunk.js.map.gz"
839
+ - "./lib/nexmo_developer/public/packs/js/active_admin/print-536ad0b66b2d812add5f.chunk.js"
840
+ - "./lib/nexmo_developer/public/packs/js/active_admin/print-536ad0b66b2d812add5f.chunk.js.map"
841
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js"
842
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js.br"
843
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js.gz"
844
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js.map"
845
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js.map.br"
846
+ - "./lib/nexmo_developer/public/packs/js/application-c9462d07e105dabb1693.chunk.js.map.gz"
848
847
  - "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js"
849
848
  - "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js.br"
850
849
  - "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js.gz"
@@ -863,27 +862,27 @@ files:
863
862
  - "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map"
864
863
  - "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map.br"
865
864
  - "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map.gz"
866
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js"
867
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.LICENSE.txt"
868
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.br"
869
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.gz"
870
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map"
871
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map.br"
872
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map.gz"
873
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js"
874
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.LICENSE.txt"
875
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.br"
876
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.gz"
877
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.map"
878
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.map.br"
879
- - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-b82fbe319f567733fa30.chunk.js.map.gz"
880
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js"
881
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.LICENSE.txt"
882
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.br"
883
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.gz"
884
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map"
885
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map.br"
886
- - "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map.gz"
865
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js"
866
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.LICENSE.txt"
867
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.br"
868
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.gz"
869
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.map"
870
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.map.br"
871
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin-94b54b8348201f9df77c.chunk.js.map.gz"
872
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js"
873
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.LICENSE.txt"
874
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.br"
875
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.gz"
876
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.map"
877
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.map.br"
878
+ - "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-cc1d769f74b85a43da5c.chunk.js.map.gz"
879
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js"
880
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.LICENSE.txt"
881
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.br"
882
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.gz"
883
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.map"
884
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.map.br"
885
+ - "./lib/nexmo_developer/public/packs/js/vendors~application-b824111ef74667b794bc.chunk.js.map.gz"
887
886
  - "./lib/nexmo_developer/public/packs/manifest.json"
888
887
  - "./lib/nexmo_developer/public/packs/manifest.json.br"
889
888
  - "./lib/nexmo_developer/public/packs/manifest.json.gz"
@@ -1082,6 +1081,7 @@ files:
1082
1081
  - "./lib/nexmo_developer/public/safari-pinned-tab.svg"
1083
1082
  - "./lib/nexmo_developer/public/symbol/volta-brand-icons.svg"
1084
1083
  - "./lib/nexmo_developer/public/symbol/volta-icons.svg"
1084
+ - "./lib/nexmo_developer/public/vonage_developer_logo.svg"
1085
1085
  - ".buildpacks"
1086
1086
  - ".editorconfig"
1087
1087
  - ".env.example"
@@ -1188,6 +1188,7 @@ files:
1188
1188
  - lib/nexmo_developer/app/models/user.rb
1189
1189
  - lib/nexmo_developer/app/presenters/card.rb
1190
1190
  - lib/nexmo_developer/app/presenters/career.rb
1191
+ - lib/nexmo_developer/app/presenters/code_snippets_home_presenter.rb
1191
1192
  - lib/nexmo_developer/app/presenters/feedback_presenter.rb
1192
1193
  - lib/nexmo_developer/app/presenters/footer.rb
1193
1194
  - lib/nexmo_developer/app/presenters/head.rb
@@ -1203,8 +1204,6 @@ files:
1203
1204
  - lib/nexmo_developer/app/presenters/sidenav_resolver.rb
1204
1205
  - lib/nexmo_developer/app/presenters/sidenav_subitem.rb
1205
1206
  - lib/nexmo_developer/app/presenters/title_normalizer.rb
1206
- - lib/nexmo_developer/app/presenters/topnav.rb
1207
- - lib/nexmo_developer/app/presenters/topnav_item.rb
1208
1207
  - lib/nexmo_developer/app/presenters/tutorial_list_item.rb
1209
1208
  - lib/nexmo_developer/app/services/diff.rb
1210
1209
  - lib/nexmo_developer/app/services/email_validator.rb
@@ -1282,6 +1281,7 @@ files:
1282
1281
  - lib/nexmo_developer/app/views/layouts/open-api.html.erb
1283
1282
  - lib/nexmo_developer/app/views/layouts/page-full.html.erb
1284
1283
  - lib/nexmo_developer/app/views/layouts/page.html.erb
1284
+ - lib/nexmo_developer/app/views/layouts/partials/_code_snippets_home.html.erb
1285
1285
  - lib/nexmo_developer/app/views/layouts/partials/_feedback.html.erb
1286
1286
  - lib/nexmo_developer/app/views/layouts/partials/_footer.html.erb
1287
1287
  - lib/nexmo_developer/app/views/layouts/partials/_head.html.erb
@@ -1409,6 +1409,7 @@ files:
1409
1409
  - lib/nexmo_developer/app/webpacker/javascript/notices/index.js
1410
1410
  - lib/nexmo_developer/app/webpacker/javascript/scroll/index.js
1411
1411
  - lib/nexmo_developer/app/webpacker/javascript/sidenav/index.js
1412
+ - lib/nexmo_developer/app/webpacker/javascript/topnav/index.js
1412
1413
  - lib/nexmo_developer/app/webpacker/javascript/volta/tooltip.min.js
1413
1414
  - lib/nexmo_developer/app/webpacker/javascript/volta/volta.js
1414
1415
  - lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/index.js
@@ -1420,6 +1421,7 @@ files:
1420
1421
  - lib/nexmo_developer/app/webpacker/stylesheets/active_admin.scss
1421
1422
  - lib/nexmo_developer/app/webpacker/stylesheets/application.scss
1422
1423
  - lib/nexmo_developer/app/webpacker/stylesheets/custom/_core.scss
1424
+ - lib/nexmo_developer/app/webpacker/stylesheets/custom/_landing.scss
1423
1425
  - lib/nexmo_developer/app/webpacker/stylesheets/custom/_mixins.scss
1424
1426
  - lib/nexmo_developer/app/webpacker/stylesheets/custom/_syntax.scss
1425
1427
  - lib/nexmo_developer/app/webpacker/stylesheets/custom/_typography.scss
@@ -1708,6 +1710,7 @@ files:
1708
1710
  - lib/nexmo_developer/public/safari-pinned-tab.svg
1709
1711
  - lib/nexmo_developer/public/symbol/volta-brand-icons.svg
1710
1712
  - lib/nexmo_developer/public/symbol/volta-icons.svg
1713
+ - lib/nexmo_developer/public/vonage_developer_logo.svg
1711
1714
  - lib/nexmo_developer/vendor/assets/javascripts/.keep
1712
1715
  - lib/nexmo_developer/vendor/assets/stylesheets/.keep
1713
1716
  - lib/nexmo_developer/version.rb
@@ -1,23 +0,0 @@
1
- class Topnav
2
- CONFIG = "#{Rails.configuration.docs_base_path}/config/top_navigation.yml".freeze
3
-
4
- def initialize(navigation)
5
- @navigation = navigation
6
-
7
- after_initialize!
8
- end
9
-
10
- def items
11
- @items ||= begin
12
- YAML.safe_load(File.open(CONFIG)).map do |name, url|
13
- TopnavItem.new(name, url, @navigation)
14
- end
15
- end
16
- end
17
-
18
- private
19
-
20
- def after_initialize!
21
- raise 'You must provide a config/top_navigation.yml file in your documentation path.' unless File.exist?(CONFIG)
22
- end
23
- end
@@ -1,19 +0,0 @@
1
- class TopnavItem
2
- attr_reader :url
3
-
4
- def initialize(name, url, navigation)
5
- @name = name
6
- @url = url
7
- @navigation = navigation.to_s
8
- end
9
-
10
- def title
11
- @title ||= I18n.t("layouts.partials.header.#{@name.downcase}")
12
- end
13
-
14
- def css_classes
15
- classes = ['Vlt-tabs__link']
16
- classes << 'Vlt-tabs__link_active' if @navigation == @name.downcase
17
- classes.join(' ')
18
- end
19
- end