From 26229c110fb92646b36c7b2f48ac7518fd3810a5 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Fri, 17 Mar 2023 02:19:27 +0200 Subject: set algorithns for user authentication and authorization --- html/app/config/app_constants.php | 75 +++++++++++++++++++++++++++++++++++++++ html/app/config/assets.php | 43 ---------------------- 2 files changed, 75 insertions(+), 43 deletions(-) create mode 100644 html/app/config/app_constants.php delete mode 100644 html/app/config/assets.php (limited to 'html/app/config') diff --git a/html/app/config/app_constants.php b/html/app/config/app_constants.php new file mode 100644 index 0000000..3dac5ec --- /dev/null +++ b/html/app/config/app_constants.php @@ -0,0 +1,75 @@ + 'Login', + 2 => 'Account', + 3 => 'Payment' +]); + + + +// ASSETS: PATHS USED HEAVILY ////////////////////////////////////////////////// +// ----------------------------------------------------------------------------- +// these paths are used in order to easily find and autoload useful elemets + + +// JAVASCRIPT LIBRARY PATHS +// ----------------------------------------------------------------------------- +define('JS_DIR', '/content/'); // path to contruct link +define('JS_LIBRARIES', array( // path after to the actual file + 'jquery' => 'lib/jquery/dist/jquery.min.js', + + 'require/files' => 'lib/require/require.files.js', + 'require/slim' => 'lib/require/require.slim.js', + + 'plugins' => 'lib/plugins/plugins.min.js', + 'plugins/setup' => 'lib/plugins/plugins.setup.js' + ) +); + + +// CSS ASSET PATHS +// ----------------------------------------------------------------------------- +define('CSS_DIR', '/content/css/'); // path to contruct link +define('CSS_FILES', array( // path after to the actual file + 'main' => 'main.min.css', + 'filter' => 'filter.css', + 'overides' => 'overides.css', + ) +); + + +// FONTS +// ----------------------------------------------------------------------------- +define('FONTS_DIR', '/content/fonts/'); +define('FONT_FILES', array( + 'iconfont' => 'iconfont.woff2', + 'CFAstyStdBold' => 'CFAstyStd-Bold.woff2', + 'CFAstyStdBook' => 'CFAstyStd-Book.woff2', + 'CFAstyStdMedium' => 'CFAstyStd-Medium.woff2' + ) +); diff --git a/html/app/config/assets.php b/html/app/config/assets.php deleted file mode 100644 index 9203c47..0000000 --- a/html/app/config/assets.php +++ /dev/null @@ -1,43 +0,0 @@ - path to contruct link -define('JS_LIBRARIES', array( // path after to the actual file - 'jquery' => 'lib/jquery/dist/jquery.min.js', - - 'require/files' => 'lib/require/require.files.js', - 'require/slim' => 'lib/require/require.slim.js', - - 'plugins' => 'lib/plugins/plugins.min.js', - 'plugins/setup' => 'lib/plugins/plugins.setup.js' - ) -); - - -// CSS ASSET PATHS -// ----------------------------------------------------------------------------- -define('CSS_DIR', '/content/css/'); // path to contruct link -define('CSS_FILES', array( // path after to the actual file - 'main' => 'main.min.css', - 'filter' => 'filter.css', - 'overides' => 'overides.css', - ) -); - - -// FONTS -// ----------------------------------------------------------------------------- -define('FONTS_DIR', '/content/fonts/'); -define('FONT_FILES', array( - 'iconfont' => 'iconfont.woff2', - 'CFAstyStdBold' => 'CFAstyStd-Bold.woff2', - 'CFAstyStdBook' => 'CFAstyStd-Book.woff2', - 'CFAstyStdMedium' => 'CFAstyStd-Medium.woff2' - ) -); -- cgit v1.2.3