<?php
/*
Plugin Name: LDM Lightbox for Gallery and Image Blocks
Plugin URI: https://wordpress.org/plugins/ldm-gallery-image-lightbox/
Description: Lightweight image lightbox for WordPress Gallery and Image Blocks with fullscreen viewing, image navigation, keyboard controls and responsive design.
Version: 1.0.0
Author: Liz Mukami
Author URI: https://lizdmukami.github.io/Liz-Wambeti-Portfolio/
Requires at least: 4.7
Requires PHP: 7.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ldm-gallery-image-lightbox
*/

if (!defined('ABSPATH')) {
    exit;
}

define('GGLL_VERSION', '1.0.0');
define('GGLL_PLUGIN_URL', plugin_dir_url(__FILE__));

function ggll_enqueue_assets() {

    wp_enqueue_style(
        'ggll-lightbox-style',
        GGLL_PLUGIN_URL . 'assets/css/lightbox.css',
        array(),
        GGLL_VERSION
    );

    wp_enqueue_script(
        'ggll-lightbox-script',
        GGLL_PLUGIN_URL . 'assets/js/lightbox.js',
        array(),
        GGLL_VERSION,
        true
    );
}

add_action('wp_enqueue_scripts', 'ggll_enqueue_assets');