summaryrefslogtreecommitdiff
path: root/html/app/config/assets.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/app/config/assets.php')
-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'
+ )
+);