Skip to content
No description, website, or topics provided.
TypeScript HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
dist
src
test
.gitignore
LICENSE
README.md
gulpfile.js
package-lock.json
package.json
tsconfig.json

README.md

Cloud Credits

A JavaScript library for displaying copyright, design and development, libraries, and hosting information and credits.

Contribution

Check out https://angrymonkeycloud.com/credits for contribution information.

Implementation

Requirements

jQuery 2.x or 3.x: jQuery CDN, download jQuery.

Cloud Credits Files

Download

Cloud Credits JavaScript files: Uncompressed, Compressed.

Cloud Credits CSS files: Uncompressed, Compressed.

CDN

Cloud Credits JavaScript Compressed

<script src="https://cdn.amcapi.com/credits/cloudcredits-1.0.2.min.js" crossorigin="anonymous"></script> 

Cloud Credits CSS Compressed

<link href="https://cdn.amcapi.com/credits/cloudcredits-1.0.2.min.css" rel="stylesheet" />

Sample

CloudCredits.Init('Angry Monkey, LLC', '#CreditsLegend');

// Agency

let agencyBusiness = new Business('Angry Monkey Agency');
agencyBusiness.WebsiteUrl = 'https://www.angrymonkeyagency.com/';
agencyBusiness.LogoUrl = 'https://www.angrymonkeyagency.com/favicon.ico';

// Designed and Developed

let developedAndDesigned = new InvolvedBusiness();
developedAndDesigned.Involvement = "Designed and Developed";
developedAndDesigned.DisplayInSummary = true;
developedAndDesigned.Business = agencyBusiness;
CloudCredits.InvolvedBusinesses.push(developedAndDesigned);

// Credits

let credits = new Tool('Cloud Credits', 'https://www.angrymonkeycloud.com/credits');
credits.LogoUrl = 'https://www.angrymonkeycloud.com/favicon.ico';
credits.Developer = new Business('Angry Monkey Cloud');
CloudCredits.Tools.push(credits);

// Translation

let translation = new Tool('Cloud Translation', 'https://www.angrymonkeycloud.com/translation');
translation.LogoUrl = 'https://www.angrymonkeycloud.com/favicon.ico';
translation.Developer = new Business('Angry Monkey Cloud');
CloudCredits.Tools.push(translation);

// jQuery

let jQuery = new Tool('jQuery', 'https://jquery.com/');
jQuery.LogoUrl = 'https://jquery.com/favicon.ico';
jQuery.Developer = new Business('The jQuery Foundation');
CloudCredits.Tools.push(jQuery);

// Bootstrap

let bootstrap = new Tool('Bootstrap', 'https://getbootstrap.com/');
bootstrap.LogoUrl = 'https://getbootstrap.com/docs/4.3/assets/img/favicons/favicon-32x32.png';
bootstrap.Developer = new Business('Bootstrap team');
CloudCredits.Tools.push(bootstrap);

// Hosting

CloudCredits.Hosting = new Tool();
CloudCredits.Hosting.Management = agencyBusiness;

CloudCredits.Hosting.Provider = new Business();
CloudCredits.Hosting.Provider.Name = 'WordPress.com';
CloudCredits.Hosting.Provider.LogoUrl = 'https://wpcom.files.wordpress.com/2017/11/cropped-wordpress.png?w=48';
CloudCredits.Hosting.Provider.WebsiteUrl = 'https://wordpress.com/';
You can’t perform that action at this time.