npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aventine-background-slideshow

v1.0.3

Published

Aventine Solutions Material Cards Background Slideshow Tester 2018

Downloads

7

Readme

Sample Images

  • 17122016-DSC04464 (Amsterdam Lights smear) AmsterdamGoldenParachute.jpg
  • 28062016-DSC02752 (University of Évora Plato) EvoraPlatonic.jpg
  • 02072017-DSC04906 (Biogradska Gora Montenegro) BiogradskaGreenEternity.jpg
  • 20171021-DSC05517 (National Park Cristoffel, Curação) SpikeyCristoffel.jpg
  • 20180303-DSC05733 (Ice on the Brouwersgracht, Amsterdam) LoneSkaterBrouwersgracht.jpg
  • 20180628-DSC02714 (Capela dos Ossos, Évora) CapelaDosOssos.jpg
  • 20170711-DSC05091 (Dubrovnik, Croacia) LavenderDubrovnikDreams.jpg
  • IMG_20170923_155909_20170923160312624 (Haarlemmerdijk, Amsterdam) HaarlemmerdijkPurpleHaze.jpg

LESS Variables

Variables are used to determine the length of the slideshow animation and the URL locations of the slide images and you will need to provide them in order to transpile the CSS.

The sample page includes 7 slides using the following variables:

@length-animation: 175s;
@total-slides: 7s;

@slide1-url: "../images/backgrounds/AmsterdamGoldenParachute.jpg";
@slide2-url: "../images/backgrounds/CapelaDosOssos.jpg";
@slide3-url: "../images/backgrounds/HaarlemmerdijkPurpleHaze.jpg";
@slide4-url: "../images/backgrounds/LavenderDubrovnikDreams.jpg";
@slide5-url: "../images/backgrounds/LoneSkaterBrouwersgracht.jpg";
@slide6-url: "../images/backgrounds/SpikeyCristoffel.jpg";
@slide7-url: "../images/backgrounds/EvoraPlatonic.jpg";

Changing the Number of Slides

The sample page contains 7 slides. To change the number of slides, besides changing the variables, you'll have to change the slideshow LESS.

For example, this would be the 8th slide:

li:nth-child(8) {
  @delay-slide8: 7s * @length-animation / @total-slides;

  .delay-slide8() {
    -webkit-animation-delay: @delay-slide8;
    -moz-animation-delay: @delay-slide8;
    -o-animation-delay: @delay-slide8;
    animation-delay: @delay-slide8;
  }

  div {
    .delay-slide8();
  }

  span {
    .delay-slide8();
    background-image: url(@slide8-url);
  }
}

Project Initalization

Use yarn:

yarn install

If using FTP to deploy, you may use the rake tool. If so, run the Ruby Bundler to install gems:

bundle install

Set up your FTP secrets in a .env file:

FTP_SERVER=<host>
FTP_USER=<user>
FTP_PASSWORD=<password>
FTP_DEBUG=<true or false>

Webpack

To build the webpack bundle and watch changes:

yarn build

To build once (while releasing):

yarn build-once

Deploying with Rake tool (FTP only)

Using your normal FTP client, build the folder structure as follows (/public/backgrounds-test is the example here):

/public/backgrounds-test
/public/pbackgrounds-test/dist
/public/backgrounds-test/dist/font
/public/backgrounds-test/images
/public/backgrounds-test/images/backgrounds

Adjust the deploy.yml configuration according to your structure.

Then run:

rake --trace

Adobe Lightroom Classic

I have checked in the Lightroom catalog to show how I got from the raw images to the web background JPEG's.