diff --git a/affiliates.md b/affiliates.md new file mode 100644 index 0000000..7ba7d39 --- /dev/null +++ b/affiliates.md @@ -0,0 +1,37 @@ +--- +layout: page +title: Affiliates +subtitle: Support NixNet by making purchases and using these links +description: Support NixNet by making purchases with affiliate links and vouchers +--- +One of the easiest ways to support NixNet is to purchase products on these websites using the provided affiliate links. + +# netcup +[netcup](https://netcup.eu) is currently where the most services are running. They have fantastic offerings at most price points and incredible deals. I've been very happy with their service and *highly* recommend them. + +## Voucher codes +These are single-use vouchers for various products. When you use one, please [send me a message](/contact) so I can generate a new one. + +### 5€ for anything except domains +* [36nc15758387844](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=36nc15758387844) +* [36nc15758387843](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=36nc15758387843) +* [36nc15758387842](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=36nc15758387842) +* [36nc15758387841](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=36nc15758387841) +* [36nc15758387840](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=36nc15758387840) + +### 10% off the 200 G8 +* [2052nc15758390090](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2052nc15758390090) +* [2052nc15758390091](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2052nc15758390091) + +### 10% off the 500 G8 +* [2053nc15758393980](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2053nc15758393980) +* [2053nc15758393981](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2053nc15758393981) + +### 10% off the 1000 G8 +* [2054nc15758394201](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2054nc15758394201) +* [2054nc15758394200](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2054nc15758394200) + +### 10% off the 2000 G8 +* [2056nc15758394800](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2056nc15758394800) +* [2056nc15758394801](https://www.netcup.eu/bestellen/gutschein_einloesen.php?gutschein=2056nc15758394801) + diff --git a/app.js b/app.js deleted file mode 100644 index f8c49b9..0000000 --- a/app.js +++ /dev/null @@ -1,108 +0,0 @@ - -$(function(){ - - var model = { - // renomear - dat: [ - ], - read_json: function() { - $.ajax({ - url: "/cards.json", - dataType: 'json', - async: false, - success: function(data) { - $(data["cards"]).each(function(){ - var card_info = $(this)[0]; - model.set_data(card_info); - }); - } - }); - }, - set_data: function(d) { - model.dat.push(d); - }, - get_data: function() { - return model.dat; - }, - filter_data: function(conteudo) { - var $d = model.dat; - var $filter = []; - var $c = conteudo.toLowerCase(); - $($d).each(function(i){ - if( - $d[i].name.toLowerCase().indexOf($c) >= 0 || - $d[i].description.toLowerCase().indexOf($c) >= 0 || - $d[i].button_text.toLowerCase().indexOf($c) >= 0 - ) { - $filter.push($d[i]); - } - }); - return $filter; - }, - init: function() { - model.read_json(); - } - }; - var octopus = { - init: function() { - model.init(); - view.init(); - octopus.create_card(model.get_data()); - }, - create_card: function(d) { - $.each(d, function(i){ - view.create_card(d[i].name, d[i].description, d[i].button_text, d[i].link, d[i].tor); - }); - }, - filter_data: function(c) { - var d = model.filter_data(c); - $.each(d, function(i){ - view.create_card(d[i].name, d[i].description, d[i].button_text, d[i].link, d[i].tor); - }); - }, - recreate_cards: function() { - octopus.create_card(model.get_data()); - } - }; - - // Renomear - var view = { - init: function() { - this.container = $(".flex-cards"); - this.search_field = $("#search_field"); - view.events(); - }, - events: function(){ - this.search_field.on('input',function(){ - var $conteudo = $(this).val(); - view.clean_cards(); - if($conteudo.length == 0){ - octopus.recreate_cards(); - }else { - octopus.filter_data($conteudo); - } - }); - }, - create_card: function(name, desc, bt_txt, link, tor){ - var $card = $("
").addClass("card"); - var $h1 = $("

").text(name); - var $desc = $("

").text(desc); - var $button = $("