diff --git a/.gitignore b/.gitignore index 1665271..e209f14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ - -tmp/ +/tmp/ +node_modules +index.js.* +index.pid +*.table +*.nosql diff --git a/controllers/default.js b/controllers/default.js index 665fc4c..388843b 100755 --- a/controllers/default.js +++ b/controllers/default.js @@ -1,16 +1,8 @@ exports.install = function() { - ROUTE('/'); - ROUTE('/services/', view_services); - ROUTE('/contact/'); - ROUTE('/references/'); + ROUTE('/*'); // Enables a localization mechanism + compression for all client-side components LOCALIZE('/components/*.html', ['compress']); }; - -function view_services() { - var self = this; - self.view('services'); -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..ebb08f7 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "emptyproject", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "emptyproject", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "total4": "latest" + } + }, + "node_modules/total4": { + "version": "0.0.95", + "resolved": "https://registry.npmjs.org/total4/-/total4-0.0.95.tgz", + "integrity": "sha512-nYO7UEp4dl3NJiYZUn9WyhPuHUIE482Ztg9tyWyAATF06C0HLp7lHY11Zp6aEOFqPhJZoNUwfKFGXAt/MUPUTA==", + "bin": { + "total4": "bin/total4" + } + } + } +} diff --git a/public/components/contactform.html b/public/components/contactform.html index f09a30c..6317a64 100644 --- a/public/components/contactform.html +++ b/public/components/contactform.html @@ -1,52 +1,58 @@ -
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
-Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
-Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
-Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate vitae ipsam nesciunt officia, ipsa quo molestiae ex quibusdam praesentium odit.
-