Remove Respond.js polyfill and add new boilerplate CSS, browser config, and impressum page. Introduce index page and Mett calculator functionality with associated JavaScript files. Update styles for responsive design and include favicon links in HTML.
Deploy Website / deploy (push) Successful in 2s
Deploy Website / deploy (push) Successful in 2s
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
!!function(){var t={wenig:30,normal:40,viel:50,"sehr viel":60},e=40,n=1,a=$("#halfRolls"),r=$("#hunger"),o=["G","KG","T"],c=function(t){for(var e=String(Math.round(t)),n=/(\d+)(\d{3})/;n.test(e);)e=e.replace(n,"$1.$2");return e},i=function(t){for(var e=String(parseFloat(t).toFixed(2)).split("."),n=/(\d+)(\d{3})/;n.test(e[0]);)e[0]=e[0].replace(n,"$1.$2");return e.join(",")},l=function(){var t=n*e,a="",r=!1;for(var l in o){if(a=o[l],1e3>t)break;t/=1e3,r=!0}document.location.hash="r"+n+"-m"+e,$("#out").text("Bestell "+(r?i(t):c(t))+" "+a+" Mett beim Metzger, bro.")},u=document.location.hash.match(/r(\d+)-m(\d+)/);u&&(n=parseInt(u[1]),e=parseInt(u[2]),l()),a.val(n).on("change",function(){n=parseInt(a.val())}),$.each(t,function(t,n){r.append($("<option>").attr("value",n).prop("selected",n==e).text(t))}),r.on("change",function(){e=r.val()}),$("#calc").on("click",l)}();
|
||||
//# sourceMappingURL=mett.min.js.map
|
||||
Reference in New Issue
Block a user