summaryrefslogtreecommitdiff
path: root/html/app/config
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-03-12 07:16:23 +0200
commit7076343338ae3439f3c86f01144818abe8c31978 (patch)
tree794abb1e6b8f821091fd095341885496b6dad51d /html/app/config
parent47cbb529f5723b246125ae083a193e11481b89ef (diff)
downloadclassroom-7076343338ae3439f3c86f01144818abe8c31978.tar.gz
classroom-7076343338ae3439f3c86f01144818abe8c31978.tar.bz2
classroom-7076343338ae3439f3c86f01144818abe8c31978.zip
add container helpers; constuct public directory-tree
Diffstat (limited to 'html/app/config')
-rw-r--r--html/app/config/assets.php43
1 files changed, 43 insertions, 0 deletions
diff --git a/html/app/config/assets.php b/html/app/config/assets.php
new file mode 100644
index 0000000..9203c47
--- /dev/null
+++ b/html/app/config/assets.php
@@ -0,0 +1,43 @@
+<?php
+
+// PATHS USED HEAVILY //////////////////////////////////////////////////////////
+// -----------------------------------------------------------------------------
+// these paths are used in order to easily find and autoload useful elemets
+
+
+// JAVASCRIPT LIBRARY PATHS
+// -----------------------------------------------------------------------------
+define('JS_DIR', '/content/'); // <base> path to contruct link
+define('JS_LIBRARIES', array( // path after <base> 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/'); // <base> path to contruct link
+define('CSS_FILES', array( // path after <base> 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'
+ )
+);