[feature] asking internet strangers for coffee

This commit is contained in:
zombieFox 2020-01-23 14:21:45 +00:00
parent db0e51505b
commit c8a67af631
6 changed files with 31 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "4.31.0",
"version": "4.32.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "4.31.0",
"version": "4.32.0",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js",
"scripts": {

View File

@ -149,6 +149,7 @@
<button class="menu-nav-button control-menu-theme button" tabindex="-1">Theme</button>
<button class="menu-nav-button control-menu-background button" tabindex="-1">Background</button>
<button class="menu-nav-button control-menu-data button" tabindex="-1">Data</button>
<button class="menu-nav-button control-menu-coffee button" tabindex="-1">Coffee</button>
<button class="menu-nav-button control-menu-nightTab button" tabindex="-1">nightTab</button>
</div>
<div class="menu-nav-area-close">
@ -2098,6 +2099,26 @@
</div>
</div>
<div class="menu-content-area menu-content-area-coffee is-hidden">
<div class="menu-item">
<div class="menu-item-header">
<h1 class="menu-item-header-text">Coffee for fuel</h1>
</div>
<div class="menu-item-form">
<div class="form-wrap">
<p>nightTab is free, appreciation is welcome in the form of coffee!</p>
</div>
<hr>
<div class="form-wrap">
<a href="https://www.buymeacoffee.com/zombieFox" class="button button-large px-4 py-3">
<img src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg" class="mr-2" alt="Buy me a coffee">
<span class="button-text">Buy me a coffee</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -48,6 +48,12 @@ var control = (function() {
func: function() {
menu.nav(this.element, helper.e(".menu-content-area-data"));
}
}, {
element: helper.e(".control-menu-coffee"),
type: "button",
func: function() {
menu.nav(this.element, helper.e(".menu-content-area-coffee"));
}
}, {
element: helper.e(".control-menu-nightTab"),
type: "button",

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "4.31.0";
var current = "4.32.0";
var name = "Naughty Goose";

View File

@ -2,7 +2,7 @@
"name": "nightTab",
"short_name": "nightTab",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "4.31.0",
"version": "4.32.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"