Skip to content

Commit

Permalink
Merge branch 'dev' into stg
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoomREI committed Nov 21, 2024
2 parents 75b0b00 + 7497533 commit 46382c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "chris-buys/cw-hero",
"name": "chris-buys/cw-hero-v2",
"version": "0.1.0",
"title": "cw Hero",
"title": "cw Hero v2",
"category": "widgets",
"icon": "superhero-alt",
"description": "The Hero Section of the cw landing-page.",
Expand Down
6 changes: 6 additions & 0 deletions wp-content/themes/chrisbuyshomes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ function chris_buys_homes_enqueue_assets()
wp_enqueue_script('lead-source', get_template_directory_uri() . '/src/js/lead-source.js', array(), null, true);
wp_enqueue_script('params-persister', get_template_directory_uri() . '/src/js/params-persister.js', array(), null, true);
wp_enqueue_script('chrisbuyshomes-events-handler', get_template_directory_uri() . '/src/js/events-handler.js', array(), null, true);


wp_localize_script('chrisbuyshomes-events-handler', 'formConfig', array(
'googleMapsApiKey' => GOOGLE_MAPS_API_KEY,
'storagePrefix' => 'chrisbuys_',
));
}
add_action('wp_enqueue_scripts', 'chris_buys_homes_enqueue_assets');

Expand Down

0 comments on commit 46382c8

Please sign in to comment.