diff --git a/Makefile b/Makefile index 5e5af06dc2c3d3418fbfd70807b1e0aa4b1c958f..b61fb933955891055ea1c759e5f88ca3a1771b6b 100644 --- a/Makefile +++ b/Makefile @@ -17,11 +17,5 @@ stop: bash: docker exec -it kuadrado bash -web: - docker exec -it kuadrado bash -c "npm run build" - -stylesheet: - docker exec -it kuadrado bash -c "npm run style" - open: firefox http://localhost/ diff --git a/public/education/education.js b/public/education/education.js index 6b5614b0b41238d4617c02a70e78164b020736b9..b3e75ec069c39dac96a40c1d02ac0dc303fe65fc 100644 --- a/public/education/education.js +++ b/public/education/education.js @@ -1,5 +1,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ -const ENV = "dev"; +const ENV = "prod"; let server_url; @@ -8,7 +8,7 @@ switch (ENV) { server_url = "http://localhost"; break; case "prod": - server_url = "http://your_production_server_url:port"; + server_url = "http://kuadrado-software.fr"; } module.exports = { server_url }; @@ -437,7 +437,7 @@ class GameStudioClub { tag: "a", class: "download-link", download: "fiche-inscription", - href: "/fiche-inscription.pdf", + href: "/assets/documents/fiche-inscription.pdf", contents: "Télécharger la fiche d'inscription", }, ], diff --git a/public/games/games.js b/public/games/games.js index ad0584df9c4ef3efd08cd5c92c091fa36161261a..eb60201ba3b307b25e6c337658c5f68701b353c5 100644 --- a/public/games/games.js +++ b/public/games/games.js @@ -1,5 +1,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ -const ENV = "dev"; +const ENV = "prod"; let server_url; @@ -8,7 +8,7 @@ switch (ENV) { server_url = "http://localhost"; break; case "prod": - server_url = "http://your_production_server_url:port"; + server_url = "http://kuadrado-software.fr"; } module.exports = { server_url }; diff --git a/public/main.js b/public/main.js index a1e60d06374d4dd531ec753d853618c76addda15..cd74186acb1ed414223f3488fc9fd5febabeb5cf 100644 --- a/public/main.js +++ b/public/main.js @@ -1,5 +1,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ -const ENV = "dev"; +const ENV = "prod"; let server_url; @@ -8,7 +8,7 @@ switch (ENV) { server_url = "http://localhost"; break; case "prod": - server_url = "http://your_production_server_url:port"; + server_url = "http://kuadrado-software.fr"; } module.exports = { server_url }; diff --git a/public/software-development/software-development.js b/public/software-development/software-development.js index 41ac9568cddbd26fee78e3190a637ea6332eb903..3c15ef8c1c7f8224f5d4e38156e00544c8f66352 100644 --- a/public/software-development/software-development.js +++ b/public/software-development/software-development.js @@ -1,5 +1,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ -const ENV = "dev"; +const ENV = "prod"; let server_url; @@ -8,7 +8,7 @@ switch (ENV) { server_url = "http://localhost"; break; case "prod": - server_url = "http://your_production_server_url:port"; + server_url = "http://kuadrado-software.fr"; } module.exports = { server_url }; diff --git a/src/pages/education/components/game-studio-club.js b/src/pages/education/components/game-studio-club.js index a7bdda3c97e019715636062f6a009eeb554945d0..b9d3c328402828228ad852bb3d6ab8681834255d 100644 --- a/src/pages/education/components/game-studio-club.js +++ b/src/pages/education/components/game-studio-club.js @@ -328,7 +328,7 @@ class GameStudioClub { tag: "a", class: "download-link", download: "fiche-inscription", - href: "/fiche-inscription.pdf", + href: "/assets/documents/fiche-inscription.pdf", contents: "Télécharger la fiche d'inscription", }, ],