From be082fb5775bbf785117d97aa9d946b9c4ffff39 Mon Sep 17 00:00:00 2001 From: NachoJusticia Date: Fri, 5 Mar 2021 00:28:05 +0100 Subject: [PATCH] add CDN links to readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d3584cc..d4fbc27 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# GLightbox +# GLightbox-ssr +This project is a fork from [glightbox](https://github.com/biati-digital/glightbox) that also works when using Server Side Rendering. GLightbox is a pure javascript lightbox. It can display images, iframes, inline content and videos with optional autoplay for YouTube, Vimeo and even self hosted videos. @@ -15,6 +16,7 @@ GLightbox is a pure javascript lightbox. It can display images, iframes, inline - **Zoomable images** - zoom and drag images on mobile and desktop - **API** - control the lightbox with the provided methods - **Themeable** - create your skin or modify the animations with some minor css changes +- **SSR** - work with Server Side Rendering ## Live Demo @@ -23,11 +25,11 @@ You can check the live demo [right here](https://nachojusticia.github.io/glightb ## Usage ```bash -$ npm install glightbox +$ npm install glightbox-ssr # OR -$ yarn add glightbox +$ yarn add glightbox-ssr # OR -$ bower install glightbox +$ bower install glightbox-ssr ``` ```javascript @@ -42,8 +44,8 @@ Or manually download and link `glightbox.min.js` in your HTML: OR CDN - - + +