diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4181a45..d6a3904 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: rqrauhvmra +github: midzer patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username diff --git a/LICENSE.md b/LICENSE.md index dd14d99..9a76e5c 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2017-2020 rqrauhvmra +Copyright (c) 2017-2020 rqrauhvmra, 2021 midzer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 761ef41..7fdcf71 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ # Tobii -[![Version](https://img.shields.io/badge/Version-2.0.0--beta-1a2a3a.svg)](https://github.com/rqrauhvmra/Tobii/releases) -[![License](https://img.shields.io/badge/License-MIT-1a2a3a.svg)](https://github.com/rqrauhvmra/Tobii/blob/master/LICENSE.md) +[![Version](https://img.shields.io/badge/Version-2.0.0--beta-1a2a3a.svg)](https://github.com/midzer/tobii/releases) +[![License](https://img.shields.io/badge/License-MIT-1a2a3a.svg)](https://github.com/midzer/tobii/blob/master/LICENSE.md) ![Dependecies](https://img.shields.io/badge/Dependencies-none-1a2a3a.svg) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/tobii?color=1a2a3a) [![Amazon wishlist](https://img.shields.io/badge/Amazon_wishlist-0366d6.svg)](https://www.amazon.de/hz/wishlist/ls/29WXITO63O0BX) An accessible, open-source lightbox with no dependencies. -[Play on CodePen](https://codepen.io/collection/nbqJVV) - -![Open slide with a picture of the Berlin television tower](https://rqrauhvmra.com/tobi/tobi.png) - ## Table of contents - [Features](#features) @@ -101,8 +97,6 @@ const tobii = new Tobii() ### Image -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/ZRZdwG) - The standard way of using Tobii is a linked thumbnail image with the class name `lightbox` to a larger image: ```html @@ -143,8 +137,6 @@ customize its output to add the markup on the server-side. ### Inline HTML -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/BOLxqj) - For inline HTML, create an element with a unique ID: ```html @@ -173,8 +165,6 @@ In both ways, the attribute `data-type` with the value `html` is required. ### Iframe -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/GXJwar) - For an iframe, create a link with the class name `lightbox`: ```html @@ -199,8 +189,6 @@ In both ways, the attribute `data-type` with the value `iframe` is required. ### YouTube -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/rgpjXE) - For a YouTube video, create a link with the class name `lightbox` and a `data-id` attribute with the YouTube video ID: ```html @@ -226,8 +214,6 @@ In both ways, the attribute `data-type` with the value `youtube` is required. ## Grouping -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/PvKVxp) - If you have a group of related types that you would like to combine into a set, add the `data-group` attribute: ```html @@ -250,8 +236,6 @@ If you have a group of related types that you would like to combine into a set, ## Options -[Play on CodePen](https://codepen.io/rqrauhvmra/pen/MBYEog) - You can pass an object with custom options as an argument. ```js @@ -347,4 +331,4 @@ Tobii supports the following browser (all the latest versions): ## License -Tobii is available under the MIT license. See the [LICENSE](https://github.com/rqrauhvmra/Tobii/blob/master/LICENSE.md) file for more info. +Tobii is available under the MIT license. See the [LICENSE](https://github.com/midzer/Tobii/blob/master/LICENSE.md) file for more info. diff --git a/package.json b/package.json index fbccc66..61f6332 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/rqrauhvmra/tobii.git" + "url": "git://github.com/midzer/tobii.git" }, "keywords": [ "lightbox", @@ -52,13 +52,13 @@ "scss", "css" ], - "author": "rqrauhvmra", + "author": "midzer", "license": "MIT", "bugs": { - "url": "https://github.com/rqrauhvmra/tobii/issues" + "url": "https://github.com/midzer/tobii/issues" }, - "homepage": "https://github.com/rqrauhvmra/tobii", + "homepage": "https://github.com/midzer/tobii", "publishConfig": { - "registry": "https://npm.pkg.github.com/@rqrauhvmra" + "registry": "https://npm.pkg.github.com/@midzer" } } diff --git a/src/js/index.js b/src/js/index.js index 4350f21..111cdc4 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1,9 +1,9 @@ /** * Tobii * - * @author rqrauhvmra + * @author midzer * @version 2.0.0-beta - * @url https://github.com/rqrauhvmra/tobii + * @url https://github.com/midzer/tobii * * MIT License */