2 Commits 2dc185cc14 ... 8d08d6f8e5

Author SHA1 Message Date
  windhamdavid 8d08d6f8e5 update calendar 5 months ago
  windhamdavid bf0f1d16e0 enque gutenberg css 5 months ago
2 changed files with 40 additions and 1 deletions
  1. 1 1
      functions.php
  2. 39 0
      js/about.js

+ 1 - 1
functions.php

@@ -31,7 +31,7 @@ function dw_plugs() {
 endif; 
 
 function dw_editor() {
-	wp_enqueue_style( 'dw-gutenberg', get_theme_file_uri( '/css/editor.css' ), false, '@@pkg.version', 'all' );
+	wp_enqueue_style( 'dw-gutenberg', get_theme_file_uri( '/css/editor.css' ), false, '1.0', 'all' );
 }
 add_action( 'enqueue_block_editor_assets', 'dw_editor' );
 

+ 39 - 0
js/about.js

@@ -400,6 +400,45 @@ $('.calendar').fullCalendar ({
 				title: 'Project',
 				start: '2019-01-01',
 				end: '2019-03-30'
+			},
+			{
+				title: 'Project',
+				start: '2019-03-05',
+				end: '2019-04-29'
+			},
+			{
+				title: 'Contract',
+				start: '2019-05-01',
+				end: '2019-08-01',
+				borderColor: 'blue'
+			},
+			{
+				title: 'Holiday',
+				start: '2019-06-15',
+				end: '2019-06-22',
+				borderColor: 'red'
+			},
+			{
+				title: 'Holiday',
+				start: '2019-08-01',
+				end: '2019-08-08',
+				borderColor: 'red'
+			},
+			{
+				title: 'Project',
+				start: '2019-08-09',
+				end: '2019-08-30'
+			},
+			{
+				title: 'Project',
+				start: '2019-10-01',
+				end: '2019-11-01'
+			},
+			{
+				title: 'Holiday',
+				start: '2019-12-23',
+				end: '2020-01-05',
+				borderColor: 'red'
 			}
 	]
 });