You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Spy30 Slideshow</title>
  5. <link rel="stylesheet" href="/slideshow/css/simple-slideshow-styles.css"">
  6. <style>
  7. body {
  8. color: #212121;
  9. font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
  10. -webkit-font-smoothing: antialiased;
  11. -moz-osx-font-smoothing: grayscale;
  12. letter-spacing: 0.02em;
  13. background: black;
  14. }
  15. * {
  16. margin: 0;
  17. padding: 0;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <div class="bss-slides">
  23. @foreach($photos as $photo)
  24. <figure>
  25. <img src="{{ $photo['img'] }}" width="100%"/>
  26. <figcaption>{{ $photo['description'] }}</figcaption>
  27. </figure>
  28. @endforeach
  29. </div>
  30. <script src="/slideshow/js/better-simple-slideshow.min.js"></script>
  31. <script>
  32. var opts = {
  33. selector: ".bss-slides",
  34. auto: {
  35. // speed to advance slides at. accepts number of milliseconds
  36. speed : 6000,
  37. // pause advancing on mouseover? accepts boolean
  38. pauseOnHover : true
  39. },
  40. // show fullscreen toggle? accepts boolean
  41. fullScreen : true
  42. };
  43. makeBSS('.bss-slides', opts);
  44. </script>
  45. </body>
  46. </html>