diff --git a/package.json b/package.json index 030eb98..57952fa 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nginxconfig.io", "version": "1.0.0", "homepage": "https://nginxconfig.io", - "description": "Online nginx configuration generator", + "description": "🎛️ nginx config generator generator on steroids.", "repository": { "type": "git", "url": "git+https://github.com/valentinxxx/nginxconfig.io.git" @@ -10,16 +10,28 @@ "bugs": { "url": "https://github.com/valentinxxx/nginxconfig.io/issues" }, - "keywords": ["nginx", "config", "configuration", "generator"], + "keywords": [ + "nginx", + "config", + "configuration", + "generator" + ], "author": "Bálint Szekeres (https://balint.szekeres.me)", "license": "MIT", - "dependencies": {}, + "dependencies": { + "angular-tooltips": "^1.2.2", + "bootstrap": "^4.1.1", + "highlight.js": "^9.12.0", + "node-sass": "^4.9.0" + }, "devDependencies": { "cypress": "^2.1.0", "forever": "^0.15.3", "http-server": "^0.11.1" }, "scripts": { + "build": "node-sass --source-map=public/assets/css/app.min.css.map resources/scss/app.scss public/assets/css/app.min.css", + "build:prod": "node-sass --output-style=compressed resources/scss/app.scss public/assets/css/app.min.css", "dev": "forever start ./node_modules/.bin/http-server && cypress open && forever stop ./node_modules/.bin/http-server", "test": "forever start ./node_modules/.bin/http-server && cypress run --record && forever stop ./node_modules/.bin/http-server" } diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 00a00bb..821934d 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -164,7 +164,7 @@ if (_sourceCode.nextSibling.children.length && _sourceCode.nextSibling.children[0].children.length) { hljs.highlightBlock(_sourceCode.nextSibling.children[0].children[0]); } - _sourceCode.classList.add('hidden'); + _sourceCode.setAttribute('hidden', ''); $scope.doMasonry(); }, 0, true, sourceCode); @@ -264,7 +264,7 @@ }; $scope.initMasonry = function() { - masonry = new Masonry('main .files .grid', { + masonry = new Masonry('main .grid', { itemSelector: '.grid-item', columnWidth: '.grid-sizer', percentPosition: true, diff --git a/public/index.html b/public/index.html index f8d1add..f9feb1a 100644 --- a/public/index.html +++ b/public/index.html @@ -4,10 +4,7 @@ - - - - + nginxconfig.io @@ -24,26 +21,16 @@ -
-
-
- - - - -
-
-
-
-
â–ľ advertisement â–ľ
- - -
+
+ + + + +
+
+
+
+
-
+ +
+
+
@@ -411,7 +400,7 @@
-
+
/etc/nginx/nginx.conf
-
+ +
/etc/nginx/sites-enabled/{{ domain() }}.conf
-
+ +
/etc/nginx/_letsencrypt.conf
-
+ +
/etc/nginx/_general.conf
-
+ +
/etc/nginx/_php_fastcgi.conf
-
+ +
/etc/nginx/_wordpress.conf
+
-
-
- -
- -
-
-
Copied!
-
-
-
+ + + - +