Removed rescue campaign and added affiliate to creative tim

This commit is contained in:
Gion Kunz 2019-07-05 23:57:51 +02:00
parent 80b4f459ac
commit 0271b06be5
13 changed files with 68 additions and 63 deletions

View File

@ -3,12 +3,6 @@
[![Join the chat at https://gitter.im/gionkunz/chartist-js](https://badges.gitter.im/gionkunz/chartist-js.svg)](https://gitter.im/gionkunz/chartist-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm version](http://img.shields.io/npm/v/chartist.svg)](https://npmjs.org/package/chartist) [![build status](http://img.shields.io/travis/gionkunz/chartist-js.svg)](https://travis-ci.org/gionkunz/chartist-js) [![Inline docs](http://inch-ci.org/github/gionkunz/chartist-js.svg?branch=develop)](http://inch-ci.org/github/gionkunz/chartist-js)
# Chartist needs your help! Please, help me save Chartist!
**Do you like Chartist? Then please help me bring it to the next level and make its maintenance more sustainable in the future.**
[> HELP TO SAVE CHARTIST <](https://www.kickstarter.com/projects/gionkunz/chartist-10-next-generation-charts-for-the-web)
![The Chartist Guy](https://raw.github.com/gionkunz/chartist-js/develop/site/images/chartist-guy.gif "The Chartist Guy")
*Checkout the documentation site at http://gionkunz.github.io/chartist-js/*

4
dist/chartist.js vendored
View File

@ -14,7 +14,7 @@
}
}(this, function () {
/* Chartist.js 0.11.1
/* Chartist.js 0.11.3
* Copyright © 2019 Gion Kunz
* Free to use under either the WTFPL license or the MIT license.
* https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL
@ -26,7 +26,7 @@
* @module Chartist.Core
*/
var Chartist = {
version: '0.11.1'
version: '0.11.3'
};
(function (globalRoot, Chartist) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
"name": "chartist",
"title": "Chartist.js",
"description": "Simple, responsive charts",
"version": "0.11.1",
"version": "0.11.3",
"author": "Gion Kunz",
"homepage": "https://gionkunz.github.io/chartist-js",
"repository": {
@ -42,7 +42,6 @@
"dependencies": {},
"devDependencies": {
"assemble-dox": "0.0.2",
"chalk": "^2.4.2",
"grunt": "^1.0.1",
"grunt-assemble": "^0.4.0",
"grunt-concurrent": "^2.3.0",
@ -82,8 +81,7 @@
"dev": "./node_modules/.bin/grunt dev",
"build": "./node_modules/.bin/grunt build",
"preview": "./node_modules/.bin/grunt preview",
"public": "./node_modules/.bin/grunt public",
"postinstall": "node ./rescue-campaign.js"
"public": "./node_modules/.bin/grunt public"
},
"config": {
"banner": "/* Chartist.js <%= pkg.version %>\n * Copyright © <%= year %> Gion Kunz\n * Free to use under either the WTFPL license or the MIT license.\n * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL\n * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT\n */\n",

View File

@ -1,11 +0,0 @@
const chalk = require('chalk');
console.log(chalk.red(' CHARTIST NEEDS YOUR HELP!'));
console.log(chalk.yellow(' _____ _ _ _ _'));
console.log(chalk.yellow(' / ____| | | | (_) | |'));
console.log(chalk.yellow('| | | |__ __ _ _ __| |_ _ ___| |_'));
console.log(chalk.yellow('| | | \'_ \\ / _` | \'__| __| / __| __|'));
console.log(chalk.yellow('| |____| | | | (_| | | | |_| \\__ \\ |_ '));
console.log(chalk.yellow(' \\_____|_| |_|\\__,_|_| \\__|_|___/\\__|'));
console.log(chalk.yellow('Your support will help to save Chartist.'));
console.log(chalk.yellow('https://tinyurl.com/save-chartist'));

View File

@ -1,3 +1,19 @@
affiliate-projects:
- title: Material Dashboard Pro
link: https://www.creative-tim.com/product/material-dashboard-pro?ref=chartist.io
image:
src: https://s3.amazonaws.com/creativetim_bucket/products/51/original/opt_mdp_thumbnail.jpg
alt: Material Dashboard Pro
- title: Material Dashboard Pro Angular
link: https://www.creative-tim.com/product/material-dashboard-pro-angular2?ref=chartist.io
image:
src: https://s3.amazonaws.com/creativetim_bucket/products/55/original/opt_mdp_angular_thumbnail.jpg
alt: Material Dashboard Pro Angular
- title: Light Bootstrap Dashboard PRO React
link: https://www.creative-tim.com/product/light-bootstrap-dashboard-pro-react?ref=chartist.io
image:
src: https://s3.amazonaws.com/creativetim_bucket/products/66/original/opt_lbdp_react_thumbnail.jpg
alt: Light Bootstrap Dashboard PRO React
gallery-examples:
- id: example-gallery-one
classes: ct-golden-section

View File

@ -1,11 +1,6 @@
---
layout: default
---
<section class="rescue-chartist">
<div class="rescue-title">Chartist needs your help! Please, help me save Chartist!</div>
<p class="rescue-message">Do you like Chartist? Then please help me bring it to the next level and make its maintenance more sustainable in the future.</p>
<a class="button rescue-button" href="https://www.kickstarter.com/projects/gionkunz/chartist-10-next-generation-charts-for-the-web" target="_blank" data-icon="&#xf019;">Help to save Chartist</a>
</section>
<section class="page-landing {{page-class}}">
<header class="landing-page-header">
<div class="introduction-title">Chartist.js

View File

@ -0,0 +1,5 @@
<a href="{{link}}" target="_blank" class="affiliate-project">
<div class="affiliate-project__title">{{title}}</div>
<img src="{{image.src}}" alt="{{image.alt}}" class="affiliate-project__image">
<div class="button">Get this Template</div>
</a>

View File

@ -0,0 +1,31 @@
.affiliate-projects {
display: flex;
margin: 0 -10px;
}
.affiliate-project {
display: block;
margin: 0 10px;
}
.affiliate-project__title {
display: block;
font-size: 20px;
font-weight: bold;
margin: 10px 0;
line-height: 1.1;
}
.affiliate-project__image {
margin-bottom: 10px;
}
@media screen and (max-width: 640px) {
.affiliate-projects {
display: block;
}
.affiliate-project {
margin: 10px;
}
}

View File

@ -1,31 +0,0 @@
@import "./settings/chartist-docs";
.rescue-chartist {
background-color: $color-red;
color: white;
padding: 20px;
}
.rescue-title {
font-size: 32px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 10px;
}
.rescue-message {
font-size: 20px;
}
.rescue-button {
color: $color-red;
background-color: white;
font-weight: 300 !important;
&:before {
padding-right: 0.5em;
}
&:hover,
&:focus { color: $color-red;
background-color: $color-white;}
}

View File

@ -17,7 +17,7 @@
@import "api-doc";
@import "live-example";
@import "example-charts";
@import "rescue";
@import "affiliate-project";
.button {
text-transform: uppercase;

View File

@ -10,6 +10,14 @@ a community that was disappointed about the abilities provided by other charting
of other great charting libraries but after using them there were always tweaks you would have wished for that were not
included.</p>
<h3>Get awesome Dashboard Templates by Creative Tim</h3>
<p>Are you planning to use Chartist to create a nice Dashboard or Admin UI? Don't loose any time and kickstart your development using the awesome templates by Creative Tim. They include Chartist and come with awesome chart styles!</p>
<div class="affiliate-projects">
{{#each page.affiliate-projects}}
{{> affiliate-project }}
{{/each}}
</div>
<h3>Highly customizable responsive charts</h3>
<ul class="example-gallery">
{{#each page.gallery-examples}}